/* ==========================================================================
   Best In Class Barbershop — "The SoHo Chair"
   Design tokens
   ========================================================================== */
:root {
  --ink: #151412;
  --charcoal: #2B2926;
  --night: #121110;   /* footer ground */
  --cream: #F4F0E8;   /* warm ivory */
  --paper: #FBF8F2;
  --stone: #CFC5B7;
  --taupe: #6E665C;
  --green: #1E4D3A;
  --green-deep: #163B2D;
  --sage: #E6ECE6;
  --brass: #A98B5C;         /* muted brass: rules, labels, buttons */
  --brass-light: #C9B185;   /* brass tint that stays legible on dark grounds */
  --brass-hover: #BDA072;
  --ivory: #F4F0E8;
  --stone-soft: #E7E0D4;
  --forest: #17362E;
  /* Paper grain: tiny inline SVG noise tiles. --grain-ink sits on light sections, --grain-light on dark ones. */
  --grain-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .13 0 0 0 0 .10 .085 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .94 0 0 0 0 .90 .06 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Thin arrow used by buttons and text links (applied as a mask so it takes the text colour). */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16.5M12.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");

  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Karla", "Helvetica Neue", Arial, sans-serif;

  --text-body: 1.0625rem;          /* 17px */
  --text-lead: 1.1875rem;
  --text-label: 0.75rem;
  --track-label: 0.18em;

  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 6.5vw, 6rem);
  --header-h: 72px;
  --indent: 0rem;                  /* desktop: headings sit to the right of the section number (see "Section labels") */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 em, h2 em, h3 em { font-style: italic; }

p { margin: 0 0 1rem; }

a { color: inherit; }

address { font-style: normal; }

figure { margin: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 2px solid var(--focus, var(--green));
  outline-offset: 3px;
}
/* Dark grounds get a brass focus ring */
.site-header, .mobile-menu, .hero, .craft, .statement, .final-cta, .site-footer { --focus: var(--brass-light); }

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

.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
/* Section label: "01 — ABOUT". The number is a span in the markup (aria-hidden); the rule is drawn here. */
.eyebrow {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: var(--brass);
}
.eyebrow-num { order: -1; flex: none; color: var(--ink); letter-spacing: 0.08em; }

/* Desktop: the number hangs in the margin and the label, heading and copy align to its right. */
@media (min-width: 1025px) {
  :root { --indent: 4.5rem; }
  .numbered { padding-left: var(--indent); }
  .numbered > .eyebrow { margin-left: calc(var(--indent) * -1); }
  .numbered > .eyebrow .eyebrow-num { width: 1.75rem; }
  .numbered > .eyebrow::before { width: 1.25rem; }   /* 1.75 + .75 + 1.25 + .75 = 4.5rem */
}

.section-title {
  font-size: clamp(2.375rem, 3.9vw, 3.375rem);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}

/* Text link: tracked caps, brass hairline, arrow */
.text-link, .view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--brass), var(--brass)) left calc(100% - 8px) / 100% 1px no-repeat;
}
.text-link::after, .view-all::after, .btn::after {
  content: "";
  flex: none;
  width: 18px;
  height: 10px;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.text-link:hover::after, .text-link:focus-visible::after,
.view-all:hover::after, .view-all:focus-visible::after,
.btn:hover::after, .btn:focus-visible::after { transform: translateX(4px); }
.text-link-light { color: var(--cream); background-image: linear-gradient(var(--brass-light), var(--brass-light)); }

/* ==========================================================================
   Buttons: square, tracked caps, thin arrow. Brass fill = primary; hairline outline = secondary.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

/* Ink on brass: ivory on this brass would fall below a readable contrast. */
.btn-primary { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brass-hover); border-color: var(--brass-hover); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: var(--cream); }

.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244, 240, 232, 0.55); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn-sm { min-height: 40px; padding: 0.6rem 1.15rem; font-size: 0.6875rem; }
.btn-lg { min-height: 54px; padding: 1rem 2.25rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header: clear over the hero, solid charcoal once the page scrolls
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.6) 0%, rgba(18, 17, 16, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(18, 17, 16, 0.96);
  border-bottom-color: rgba(244, 240, 232, 0.08);
}
.site-header.menu-open { background: var(--ink); border-bottom-color: rgba(244, 240, 232, 0.12); }

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-inline: calc(var(--gutter) + var(--indent));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  justify-self: start;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.primary-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; justify-self: end; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }

.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  line-height: 1.1;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(244, 240, 232, 0.12);
}
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--brass-light); }

.mobile-menu-footer { display: grid; gap: 0.75rem; margin-top: 2rem; }
.mobile-menu-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-decoration: none;
  padding: 0.5rem 0;
}
.mobile-menu-address { color: var(--stone); font-size: 0.9375rem; margin: 0; }

/* ==========================================================================
   Hero: dark, cinematic, copy set left and vertically centred
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: clamp(560px, 88svh, 920px);
  display: grid;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  /* Inline 32px blur of the video's first frame: painted instantly, so neither cream nor black ever shows
     while the full poster and the video are still downloading. */
  background: #2a2420 url("data:image/jpeg;base64,/9j/2wBDAA4KCw0LCQ4NDA0QDw4RFiQXFhQUFiwgIRokNC43NjMuMjI6QVNGOj1OPjIySGJJTlZYXV5dOEVmbWVabFNbXVn/2wBDAQ8QEBYTFioXFypZOzI7WVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVn/wAARCAASACADASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYDBAX/xAAkEAABBAEDAwUAAAAAAAAAAAABAAIDBBESITEFEyIjNEFRcf/EABQBAQAAAAAAAAAAAAAAAAAAAAP/xAAYEQADAQEAAAAAAAAAAAAAAAAAAQIRMf/aAAwDAQACEQMRAD8AVqFnuAmZ4BHC2pZaxsVxHPktGSSeClWvG+QlsYy79VqSnNEW6onZPyhqNYyvBgD2P7/rN1PeMnO5V59SEReJDildvSrTnbDY76lt0WTVow2bf7KKozjEm96LPTfdtTowAxDIBQhPYEkkYGOFDPyhCJiI/9k=") center / cover no-repeat;
}
/* Background stack: photo (poster/fallback) underneath, video on top once it is actually playing.
   .hero-bg receives the scroll-driven scale/parallax transform; the overlay does not move. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%; /* identical framing to the video so the still and the first frame line up */
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  background: transparent;
}
.hero-video.is-playing { opacity: 1; }
.hero-video--b { transition: opacity 0.5s linear; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, 0.86) 0%, rgba(18, 17, 16, 0.62) 38%, rgba(18, 17, 16, 0.24) 72%, rgba(18, 17, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(18, 17, 16, 0.5) 0%, rgba(18, 17, 16, 0.05) 30%, rgba(18, 17, 16, 0.05) 60%, rgba(18, 17, 16, 0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3.5rem;
  padding-inline: calc(var(--gutter) + var(--indent));
  max-width: var(--container);
  will-change: transform, opacity;
}
.hero-eyebrow { color: var(--cream); opacity: 0.9; letter-spacing: 0.26em; margin-bottom: 1.5rem; }
.hero-eyebrow::before { background: var(--brass-light); }
.hero-title {
  font-size: clamp(3.25rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.hero-title .line { display: block; }
.hero-title em { color: var(--brass-light); }
/* Short brass rule under the headline */
.hero-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 1.75rem;
  background: var(--brass-light);
}
.hero-lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  max-width: 30ch;
  margin-bottom: 2rem;
  opacity: 0.92;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-caption {
  position: absolute;
  z-index: 2;
  right: calc(var(--gutter) + var(--indent));
  bottom: 2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  opacity: 0.8;
}
.caption-rule { width: 2.5rem; height: 1px; background: var(--brass-light); }
@media (min-width: 1321px) {
  /* keep the caption on the container edge on very wide screens */
  .hero-caption { right: calc((100vw - var(--container)) / 2 + var(--gutter) + var(--indent)); }
}

/* Shared caption style under photographs */
.about-photo figcaption, .craft-media figcaption, .barber-photo figcaption, .visit-photo figcaption {
  padding-top: 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--taupe);
}

/* ==========================================================================
   About: ivory, copy left, one photograph right
   ========================================================================== */
.about { background: var(--grain-ink), var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-text p:not(.lead):not(.eyebrow) { color: var(--taupe); max-width: 52ch; }
.about-text .btn { margin-top: 0.75rem; }

/* Shared image frame: the picture zooms inside the frame on hover (desktop, pointer devices only),
   so nothing around it moves. */
.zoom-frame { overflow: hidden; background: var(--stone); }
.zoom-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (min-width: 901px) {
  .zoom-frame:hover img { transform: scale(1.04) translate3d(0, var(--py, 0px), 0); }
}
/* Soft scroll parallax: js sets --py on the frame; kept to a few pixels so it stays quiet. */
.zoom-frame[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0); }

.about-photo { margin: 0; }
.about-photo .zoom-frame { aspect-ratio: 6 / 5; }

/* ==========================================================================
   The Craft (B-roll): deep forest green band, ivory copy, brass details
   ========================================================================== */
.craft {
  --reveal-bg: var(--forest);
  background: var(--grain-light), linear-gradient(135deg, #1B3F35 0%, var(--forest) 48%, #12291F 100%);
  color: var(--cream);
  padding-block: var(--section-y);
}
.craft .eyebrow { color: var(--brass-light); }
.craft .eyebrow-num { color: var(--cream); }
.craft .eyebrow::before { background: var(--brass-light); }
.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.craft-title {
  font-size: clamp(2.375rem, 3.9vw, 3.375rem);
  margin-bottom: 1.25rem;
}
.craft-title em { color: var(--brass-light); }
.craft-desc { color: rgba(244, 240, 232, 0.8); max-width: 36ch; margin: 0; }
.craft-media { margin: 0; }
.craft-media figcaption { color: rgba(244, 240, 232, 0.62); }
/* Poster underneath, video on top; the video only becomes visible once it is actually playing. */
.broll-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #10261F; }
.broll-poster, .craft-media .broll-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.craft-media .broll-video { opacity: 0; transition: opacity 0.4s ease; background: transparent; }
.craft-media .broll-video.is-playing { opacity: 1; }

/* ==========================================================================
   Services: preview strip, then the full interactive menu
   ========================================================================== */
.services { --reveal-bg: var(--ivory); background: var(--grain-ink), var(--ivory); }

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}
.services-head .section-title { margin-bottom: 0.6rem; }
.services-head .lead { margin: 0; color: var(--taupe); font-size: var(--text-body); max-width: 60ch; }
.view-all { flex: none; margin-bottom: 0.25rem; }

/* Strip: one small square per service; a thumbnail opens the full menu on that service. */
.service-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.1vw, 1rem);
}
.strip-item { display: block; text-decoration: none; color: var(--ink); }
.strip-item picture { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--stone); }
.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
}
.strip-name {
  display: block;
  padding: 0.7rem 0 0.55rem;
  font-size: 0.875rem;
  line-height: 1.3;
  background: linear-gradient(var(--brass), var(--brass)) left bottom / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
@media (hover: hover) {
  .strip-item:hover img { transform: scale(1.05); filter: none; }
}
.strip-item:hover .strip-name, .strip-item:focus-visible .strip-name { background-size: 100% 1px; }
/* Once the menu is open, the strip shows which service is selected */
.services.is-open .strip-item.is-active .strip-name { background-size: 100% 1px; }
.services.is-open .strip-item.is-active img { filter: none; }

/* Full menu. With JS it is collapsed until "View all services" or a thumbnail opens it (grid-row 0fr -> 1fr).
   overflow: clip keeps position: sticky working inside; .is-settled removes clipping once the height has finished. */
.services-full .services-grid { padding-top: clamp(2rem, 3.5vw, 3rem); }   /* on the grid, so the collapsed panel is truly 0 high */
.js .services-full { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.js .services-full-inner {
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  visibility: hidden;
  transition: visibility 0s linear 0.7s;
}
.js .services-full.is-open { grid-template-rows: 1fr; }
.js .services-full.is-open .services-full-inner { visibility: visible; transition-delay: 0s; }
.js .services-full.is-settled .services-full-inner { overflow: visible; }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--stone);
}
.service {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0.75rem;
  margin-inline: -0.75rem;
  border-bottom: 1px solid var(--stone);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.service:hover { background: rgba(231, 224, 212, 0.55); }
.service:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.service.is-active { background: var(--stone-soft); border-left-color: var(--brass); }
.service.is-active .service-num { color: var(--green); }
.service-num {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--taupe);
  padding-top: 0.3rem;
}
.service-name {
  font-size: clamp(1.5rem, 2.1vw, 1.75rem);
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
}
.service-tag {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--brass);
  border-radius: 2px;
  padding: 0.25rem 0.55rem;
  line-height: 1.2;
}
.service-desc { color: var(--taupe); margin: 0; max-width: 52ch; font-size: 0.9375rem; }
.service-book {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.5rem;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  white-space: nowrap;
}
.service-book .arrow { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.service-book:hover .arrow, .service-book:focus-visible .arrow { transform: translateX(4px); }

/* Service visual: one large picture, sticky beside the ledger on desktop. Frames are stacked absolutely and
   crossfaded by js/main.js (section 8). */
.style-stage {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}
.stage-frame {
  position: relative;
  width: 100%;
  height: min(calc(100svh - var(--header-h) - 12.5rem), 720px);
  overflow: hidden;
  background: var(--stone);
}
.stage-pic { position: absolute; inset: 0; display: block; }
.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
}
.stage-img.is-active { opacity: 1; }
@media (min-width: 1025px) {
  .service-visual .stage-frame { height: min(calc(100svh - var(--header-h) - 5rem), 700px); }
}
.stage-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(21, 20, 18, 0) 0%, rgba(21, 20, 18, 0.55) 100%);
  pointer-events: none;
}
.stage-label {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  bottom: 1.4rem;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--cream);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.stage-label-num { font-family: var(--font-serif); font-weight: 400; font-size: 1.125rem; letter-spacing: 0; color: var(--brass-light); }
.stage-label-text { transition: opacity 0.35s ease; }
.stage-label.is-switching .stage-label-text { opacity: 0; }
.stage-note { margin: 0.85rem 0 0; font-size: 0.75rem; color: var(--taupe); }

/* ==========================================================================
   Meet Manny: soft stone. Copy | photograph | Manny's own words
   ========================================================================== */
.barber {
  --reveal-bg: var(--stone-soft);
  background:
    var(--grain-ink),
    radial-gradient(110% 80% at 88% 8%, rgba(255, 253, 248, 0.42) 0%, rgba(255, 253, 248, 0) 62%),
    var(--stone-soft);
}
.barber-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4.4fr) minmax(0, 2.6fr);
  grid-template-areas: "text photo quote";
  gap: clamp(2rem, 4.2vw, 4rem);
  align-items: center;
}
.barber-text { grid-area: text; }
.barber-photo { grid-area: photo; width: 100%; }
.barber .pull-quote { grid-area: quote; }
.barber-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.barber-text .lead { margin-bottom: 1.75rem; }
.stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(21, 20, 18, 0.14);
  max-width: 46ch;
}
.stat-num { font-family: var(--font-serif); font-size: clamp(2.5rem, 3.6vw, 3.25rem); line-height: 1; }
.stat-label { font-size: var(--text-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--taupe); }
/* Quote between two short brass rules */
.pull-quote { margin: 0; }
.pull-quote::before, .pull-quote::after { content: ""; display: block; width: 2rem; height: 1px; background: var(--brass); }
.pull-quote::before { margin-bottom: 1.5rem; }
.pull-quote::after { margin-top: 1.5rem; }
.pull-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3125rem, 1.7vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 30ch;
  margin-bottom: 0.9rem;
}
.pull-quote cite { font-style: normal; font-size: 0.6875rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--taupe); }

/* ==========================================================================
   Statement ("Stay Handsome."): dark charcoal band with one slow pool of brass light
   ========================================================================== */
.statement {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grain-light), linear-gradient(160deg, #24221F 0%, #191816 50%, var(--night) 100%);
  color: var(--cream);
  padding-block: clamp(4rem, 7.5vw, 6.5rem);
}
.statement > .container { position: relative; z-index: 1; }
.statement::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  left: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(169, 139, 92, 0.17) 0%, rgba(244, 240, 232, 0.04) 45%, rgba(244, 240, 232, 0) 72%);
  pointer-events: none;
  will-change: transform;
  /* translate (pointer depth, set by main.js) composes with the transform animation below */
  translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px);
  transition: translate 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: statement-light 26s ease-in-out infinite alternate;
}
@keyframes statement-light {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(38%, 10%, 0) scale(1.12); }
}
.statement-title {
  font-size: clamp(4rem, 10.5vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}
.statement-title em { color: var(--brass-light); }
.statement-line { display: block; }
.statement-line:nth-child(2) { padding-left: 0.12em; }
.statement-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(244, 240, 232, 0.16);
  margin-bottom: 2.5rem;
}
.statement-col h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.statement-col p { color: var(--stone); font-size: 0.9375rem; margin: 0; max-width: 34ch; }
/* Desktop: headline left, the three points stacked on the right between hairlines (keeps the band compact) */
@media (min-width: 1025px) {
  .statement > .container {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
  .statement-title { grid-column: 1; grid-row: 1; align-self: end; font-size: clamp(4rem, 7.4vw, 6.75rem); margin-bottom: 1.75rem; }
  .statement .text-link { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
  .statement-cols {
    grid-column: 2;
    grid-row: 1 / 3;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
    padding: 0 0 0 clamp(2rem, 4vw, 4rem);
    border-top: 0;
    border-left: 1px solid rgba(244, 240, 232, 0.16);
  }
  .statement-col { padding-block: 1.5rem; }
  .statement-col + .statement-col { border-top: 1px solid rgba(244, 240, 232, 0.16); }
  .statement-col p { max-width: 56ch; }
}

/* ==========================================================================
   Visit: ivory. Details left; storefront beside the map, hours beneath them
   ========================================================================== */
.visit { --reveal-bg: var(--ivory); background: var(--grain-ink), var(--ivory); }
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.7fr) minmax(0, 4.9fr) minmax(0, 3.4fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(1rem, 1.6vw, 1.5rem);
  row-gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: start;
}
.visit-info { grid-column: 1; grid-row: 1 / 3; padding-right: clamp(1rem, 3vw, 3rem); }
.visit-photo { grid-column: 2; grid-row: 1; margin: 0; }
.map { grid-column: 3; grid-row: 1; align-self: stretch; }
.visit-hours { grid-column: 2 / 4; grid-row: 2; }

.visit-title {
  font-size: clamp(2.375rem, 3.9vw, 3.375rem);
  margin-bottom: 1rem;
}
.visit-title em {
  display: block;
  font-size: 0.5em;
  color: var(--taupe);
  margin-top: 0.4em;
  letter-spacing: 0;
}
.visit-intro { color: var(--taupe); max-width: 34ch; margin-bottom: 1.35rem; }
.visit-rule { width: 2rem; height: 1px; margin: 0 0 1.5rem; border: 0; background: var(--brass); }

.visit-block { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: 1rem; margin-bottom: 1.5rem; }
.visit-icon { color: var(--brass); padding-top: 0.15rem; }
.visit-icon svg { width: 1.4rem; height: 1.4rem; display: block; }
.visit-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 0.4rem;
}
.visit-address { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 0.35rem; }
.visit-phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--ink);
}
.visit-phone:hover { color: var(--green); }

/* Instagram link in the Visit contact block: brass outline icon, text in the surrounding colour. */
.social-link { display: flex; align-items: center; gap: 0.55rem; width: fit-content; min-height: 44px; text-decoration: none; }
.social-icon { width: 1.15rem; height: 1.15rem; flex: none; color: var(--brass); transition: color 0.25s ease; }
.visit-social { font-size: 0.9375rem; color: var(--taupe); transition: color 0.25s ease; }
.visit-social:hover, .visit-social:focus-visible { color: var(--green); }
.visit-social:hover .social-icon, .visit-social:focus-visible .social-icon { color: var(--green); }

.visit-actions { display: grid; gap: 0.75rem; max-width: 270px; margin-top: 0.25rem; }

/* Hours: a plain table by default; on desktop the four rows run side by side under the photo and map. */
.visit-hours { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--stone); }
.hours { width: 100%; max-width: 340px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.4rem 0; font-weight: 400; font-size: 0.9375rem; text-align: left; vertical-align: baseline; }
.hours th { color: var(--ink); padding-right: 1.25rem; white-space: nowrap; }
.hours td { color: var(--taupe); white-space: nowrap; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid rgba(207, 197, 183, 0.6); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green); font-weight: 600; }
.hours tr.is-today th::after { content: "Today"; margin-left: 0.6rem; font-size: 0.5625rem; letter-spacing: var(--track-label); text-transform: uppercase; border: 1px solid var(--brass); border-radius: 2px; padding: 0.1rem 0.4rem; vertical-align: middle; }
@media (min-width: 1025px) {
  .visit-rule { display: none; }
  .visit .map { margin-bottom: 1.8rem; }   /* = the photo's caption, so photo and map end on the same line */
  .hours { max-width: none; }
  .hours tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.5rem; }
  .hours tr { display: block; }
  .hours th, .hours td { display: block; padding: 0.1rem 0; }
  .hours tr + tr th, .hours tr + tr td { border-top: 0; }
  .hours tr + tr { border-left: 1px solid rgba(207, 197, 183, 0.7); padding-left: 1.5rem; margin-left: -0.75rem; }
}

.visit-photo .zoom-frame { aspect-ratio: 4 / 3; }

/* Map: the real embed, given a dark charcoal treatment; normal colours return on hover/focus. */
.map { line-height: 0; min-height: 300px; background: #1D1C1A; overflow: hidden; }
.map iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.95) sepia(0.12);
  transition: filter 0.4s ease;
}
.map:hover iframe, .map:focus-within iframe { filter: none; }

/* ==========================================================================
   Final CTA: deep forest green, centred, one brass button
   ========================================================================== */
.final-cta {
  background:
    var(--grain-light),
    radial-gradient(38% 120% at 0% 100%, rgba(8, 20, 16, 0.75) 0%, rgba(8, 20, 16, 0) 100%),
    radial-gradient(38% 120% at 100% 0%, rgba(8, 20, 16, 0.75) 0%, rgba(8, 20, 16, 0) 100%),
    radial-gradient(50% 90% at 50% 0%, rgba(201, 177, 133, 0.10) 0%, rgba(201, 177, 133, 0) 70%),
    linear-gradient(180deg, #1A3D33 0%, var(--forest) 55%, #12291F 100%);
  color: var(--cream);
  text-align: center;
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; color: var(--brass-light); letter-spacing: 0.26em; }
.final-cta .eyebrow::before { display: none; }
.final-cta .section-title { margin-inline: auto; max-width: none; }
.final-cta .section-title em { color: var(--brass-light); }
.final-cta .lead { margin-inline: auto; margin-bottom: 1.75rem; text-align: center; color: rgba(244, 240, 232, 0.82); font-size: var(--text-body); }
.final-cta-phone { margin-top: 1rem; color: rgba(244, 240, 232, 0.72); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: 0.9375rem; }
.final-cta-phone:hover, .final-cta-phone:focus-visible { color: var(--brass-light); }

/* ==========================================================================
   Footer: four columns separated by hairline rules, brass labels, ivory text on near-black charcoal.
   ========================================================================== */
.site-footer {
  --rule: rgba(244, 240, 232, 0.10);
  background: var(--grain-light), linear-gradient(180deg, #171614 0%, var(--night) 100%);
  color: var(--cream);
  padding-top: clamp(2.75rem, 4.5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
  align-items: stretch;
  padding-bottom: clamp(2.25rem, 3.5vw, 3rem);
}
.footer-col + .footer-col { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 4.5vw, 4.5rem); }
.footer-col { padding-right: 1.5rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { width: 104px; height: 104px; margin-bottom: 1.1rem; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.625rem; line-height: 1.1; color: var(--brass-light); margin: 0; }
.footer-heading {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0.35rem 0 1.35rem;
}
.footer-contact address { font-size: 1rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-contact a, .footer-nav a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-contact a:hover, .footer-contact a:focus-visible,
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--brass-light); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }

/* Follow: brass icon, ivory label with a brass hairline and arrow */
.footer-social { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; color: var(--cream); text-decoration: none; }
.footer-social .social-icon { width: 1.9rem; height: 1.9rem; color: var(--brass-light); }
.footer-social-text {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.55rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(201, 177, 133, 0.55);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-social .arrow { width: 16px; height: 16px; color: var(--brass-light); transition: transform 0.3s var(--ease-out); }
.footer-social:hover .footer-social-text, .footer-social:focus-visible .footer-social-text { color: var(--brass-light); border-bottom-color: var(--brass-light); }
.footer-social:hover .arrow, .footer-social:focus-visible .arrow { transform: translateX(4px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.4rem 1.7rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: rgba(244, 240, 232, 0.7);
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Image wipe: a section-coloured cover shrinks upward to reveal the photo from the bottom.
   The image itself is never clipped, so lazy loading and IntersectionObserver keep working. */
.reveal-img { position: relative; overflow: hidden; }
.js .reveal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--reveal-bg, var(--cream));
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.9s var(--ease-wipe);
  pointer-events: none;
}
.js .reveal-img.is-visible::after { transform: scaleY(0); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-title .line { opacity: 0; animation: rise 0.7s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }
.hero-title::after { opacity: 0; animation: rise 0.7s var(--ease-out) 0.5s forwards; }
.hero-eyebrow, .hero-lede, .hero-actions, .hero-caption { opacity: 0; animation: rise 0.7s var(--ease-out) forwards; }
.hero-eyebrow { animation-delay: 0s; }
.hero-lede { animation-delay: 0.6s; }
.hero-actions { animation-delay: 0.7s; }
.hero-caption { animation-delay: 0.9s; }
/* No zoom on the still: it must stay pixel-aligned with the video's first frame during the hand-off. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img::after { display: none; }
  /* Motion-sensitive users get the still photograph and poster only. */
  .hero-video, .broll-video { display: none; }
  .hero-bg, .hero-content { transform: none !important; opacity: 1 !important; }
  .hero-title .line, .hero-title::after, .hero-eyebrow, .hero-lede, .hero-actions, .hero-caption { opacity: 1; }
}

/* ==========================================================================
   Responsive: small desktop
   ========================================================================== */
@media (max-width: 1180px) {
  /* Manny: copy and quote share the left column, the photograph takes the right */
  .barber-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-template-areas: "text photo" "quote photo";
    row-gap: 2rem;
    align-items: start;
  }
  .barber-photo { align-self: center; }
  .barber .pull-quote { padding-left: var(--indent); }
  .barber .pull-quote p { max-width: 36ch; }
  .hours tbody { column-gap: 0.75rem; }
  .hours tr + tr { padding-left: 0.75rem; margin-left: -0.375rem; }
  .hours th, .hours td { font-size: 0.875rem; }
}

/* ==========================================================================
   Responsive: tablet
   ========================================================================== */
@media (max-width: 1024px) {
  .statement::before { animation: none; translate: none; transition: none; will-change: auto; }

  .services-grid { grid-template-columns: minmax(0, 1fr); }
  /* Stacked layout: the picture pins to the top of the screen and the ledger scrolls beneath it. */
  .style-stage {
    order: -1;
    position: sticky;
    top: var(--header-h);
    z-index: 2;
    display: grid;
    background: var(--ivory);
    padding-bottom: 0.75rem;
  }
  .stage-frame { height: 42svh; min-height: 260px; }
  .stage-note { margin-top: 0.6rem; font-size: 0.6875rem; }
  .statement-cols { gap: 2rem; }

  /* Visit: details beside the photograph, hours beside the map */
  .visit-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    row-gap: 2rem;
  }
  .visit-info { grid-column: 1; grid-row: 1; padding-right: 0; }
  .visit-photo { grid-column: 2; grid-row: 1; align-self: center; }
  .visit-hours { grid-column: 1; grid-row: 2; }
  .map { grid-column: 2; grid-row: 2; }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .craft-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.25rem; }

  /* Strip becomes a swipeable row that scrolls inside its own box (never the page) */
  .service-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(42vw, 190px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .service-strip::-webkit-scrollbar { display: none; }
  .service-strip li { scroll-snap-align: start; }

  .barber-grid { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "quote"; row-gap: 2.25rem; }
  .barber-photo { max-width: 560px; }
  .barber .pull-quote { padding-left: 0; }

  .visit-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2rem; }
  .visit-info, .visit-hours, .visit-photo, .map { grid-column: auto; grid-row: auto; }
  .map iframe { height: 360px; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .footer-col { padding: 2rem 1rem 2rem 0; }
  .footer-col + .footer-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .footer-brand { grid-column: 1 / -1; padding-top: 0; flex-direction: row; align-items: center; gap: 1.5rem; }
  .footer-brand img { margin-bottom: 0; width: 88px; height: 88px; }
  .footer-follow { grid-column: 1 / -1; }
  .footer-contact a, .footer-nav a { min-height: 44px; }
}

/* ==========================================================================
   Responsive: phone
   ========================================================================== */
@media (max-width: 640px) {
  :root { --header-h: 64px; --section-y: 3.75rem; }

  .brand img { width: 38px; height: 38px; }
  .brand-name { display: none; }
  .header-inner { gap: 0.75rem; }
  .btn-sm { padding-inline: 1rem; }
  .btn-sm::after { display: none; }

  .hero { min-height: 92vh; min-height: 92svh; align-items: end; }
  .hero-media, .hero-video { object-position: 62% 50%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 17, 16, 0.55) 0%, rgba(18, 17, 16, 0.15) 30%, rgba(18, 17, 16, 0.4) 55%, rgba(18, 17, 16, 0.92) 100%);
  }
  .hero-content { padding-bottom: 4.5rem; }
  .hero-title { font-size: clamp(3.125rem, 14.5vw, 4rem); margin-bottom: 1.5rem; }
  .hero-title::after { margin-top: 1.5rem; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-caption { left: var(--gutter); right: auto; bottom: 1.25rem; }

  .section-title, .craft-title, .visit-title { font-size: clamp(2.25rem, 10vw, 2.75rem); max-width: none; }
  .lead { font-size: 1.125rem; }

  .broll-frame { aspect-ratio: 4 / 5; }
  .broll-poster, .craft-media .broll-video { object-position: 50% 40%; }

  .services-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
  .services-head .lead { font-size: 1rem; }
  .service-strip { grid-auto-columns: 44vw; }

  .service { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem 1rem; padding: 1.25rem 0.5rem; margin-inline: -0.5rem; }
  .service-book { grid-column: 2; justify-self: start; padding-left: 0; }
  .service-name { font-size: 1.5rem; }
  .stage-frame { height: 38svh; min-height: 240px; }
  .stage-label { left: 1rem; bottom: 1.1rem; }

  .barber-photo { max-width: none; }
  .stat-num { font-size: 2.75rem; }
  .barber-text .btn { width: 100%; }

  .statement { padding-block: 4rem; }
  .statement-title { font-size: clamp(3.75rem, 20vw, 5.5rem); }
  .statement-cols { grid-template-columns: 1fr; gap: 1.75rem; }

  .visit-actions { display: grid; }
  .visit-actions .btn { width: 100%; }
  .hours { max-width: none; }
  .map iframe { height: 320px; min-height: 320px; }

  .final-cta .btn-lg { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-follow { grid-column: auto; }
  .footer-col { padding: 1.75rem 0; }
  .footer-brand { padding-top: 0; }
  .footer-heading { margin-bottom: 1rem; }
  .footer-bottom { flex-direction: column; }
}
