:root {
  color-scheme: dark;
  --ink: #121310;
  --paper: #f4f1e9;
  --stone: #dfddd3;
  --accent: #d6ee84;
  --muted: #c3c2b7;
  --line: #ffffff2b;
  --pad: max(5vw, calc((100vw - 1160px) / 2));
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.55 "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; }
.shell { padding-inline: var(--pad); }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 73px; }
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.wordmark { font: 800 clamp(22px, 3vw, 30px)/.95 var(--display); white-space: nowrap; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 27px; font-size: .88rem; font-weight: 700; }
nav a:hover, .text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 9px 17px; border: 1px solid transparent; background: var(--accent); color: var(--ink); font-size: .94rem; font-weight: 800; white-space: nowrap; }
.button:hover { background: #e6f6b7; }
.button-outline { min-height: 42px; border-color: #ffffff60; background: transparent; color: var(--paper); }
.button-outline:hover { color: var(--ink); }
.text-link { display: inline-block; width: fit-content; font-size: .91rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero { position: relative; isolation: isolate; min-height: clamp(580px, 51vw, 730px); display: flex; align-items: center; overflow: hidden; background: #181a14; padding-block: 70px; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 35%; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 50% 31%; filter: grayscale(1) brightness(.87); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #181a14 0%, #181a14ed 12%, #181a1475 37%, transparent 69%), linear-gradient(0deg,#181a1470,transparent 40%); }
.hero-copy { max-width: 550px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--accent); border-radius: 50%; vertical-align: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { margin: 14px 0 25px; font-size: clamp(100px, 13vw, 180px); font-weight: 800; line-height: .78; letter-spacing: -.025em; cursor: default; }
h1 span { display: block; margin-top: .16em; font-size: .55em; letter-spacing: .015em; }
h2 { font-size: clamp(61px, 8.6vw, 111px); font-weight: 800; line-height: .84; letter-spacing: -.015em; }
h3 { font-size: clamp(33px, 4vw, 52px); line-height: .92; }
.intro { max-width: 340px; margin: 0 0 25px; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 21px; }
.section { padding-block: clamp(53px, 7.6vw, 99px); }
.services { background: var(--stone); color: var(--ink); }
.services .eyebrow, .services .text-link:hover { color: #405218; }
.menu { display: grid; grid-template-columns: 1.13fr 1fr; gap: 12px; margin-top: 32px; }
.service { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(23px, 3.1vw, 42px); border: 1px solid #171a144a; }
.service.featured { background: #23251c; color: var(--paper); border-color: #23251c; }
.service.featured .eyebrow { color: var(--accent); }
.service > p:not(.eyebrow) { max-width: 375px; margin-bottom: 23px; }
.service-meta { width: 100%; display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid currentColor; }
.service-meta span { font-size: .86rem; }
.service-meta strong { font: 700 32px/1 var(--display); }
.after-link { margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1.08fr);
  grid-template-rows: repeat(4, clamp(83px, 10.7vw, 144px));
  grid-template-areas: "a b c d" "a b c d" "a e f d" "g e f h";
  gap: 8px;
}
.tile { position: relative; margin: 0; overflow: hidden; background: #27271f; }
.tile img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--focus, center); }
.tile-a { grid-area: a; }
.tile-b { grid-area: b; }
.tile-c { grid-area: c; }
.tile-d { grid-area: d; }
.tile-e { grid-area: e; }
.tile-f { grid-area: f; }
.tile-g { grid-area: g; }
.tile-h { grid-area: h; }

.barber-about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: clamp(400px, 34vw, 530px);
  border-top: 1px solid var(--line);
  background: #191b15;
}
.barber-about-copy { align-self: center; padding: clamp(44px, 6vw, 80px) clamp(22px, 4vw, 68px) clamp(44px, 6vw, 80px) var(--pad); }
.barber-about h2 { font-size: clamp(52px, 6.5vw, 88px); }
.barber-bio { max-width: 42ch; margin: 18px 0 0; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.barber-bio + .barber-bio { margin-top: 12px; }
.barber-signature { margin: 16px 0 0; color: var(--accent); font-size: .9rem; font-weight: 700; }
.barber-about-media { position: relative; overflow: hidden; min-width: 0; }
.barber-about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #191b15, #191b1550 13%, transparent 33%); }
.barber-about-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 16%; }
.reviews { background: #25271c; }
.reviews-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: 30px; }
.reviews-rating { display: grid; gap: 4px; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.reviews-rating:hover { color: var(--paper); }
.rating-score { display: flex; align-items: baseline; gap: 7px; font: 700 39px/1 var(--display); color: var(--accent); }
.rating-score > [aria-hidden] { font-size: .53em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rail { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #717659 transparent; }
.track { display: flex; gap: 14px; flex: none; }
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: min(320px, 76vw);
  min-height: 128px;
  margin: 0;
  padding: clamp(18px, 2.5vw, 30px);
  border-radius: 8px;
  background: #303326;
  scroll-snap-align: start;
}
.card blockquote, .card p { margin: 0; }
.card p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.38; font-weight: 600; quotes: "“" "”"; }
.card p::before { content: open-quote; color: var(--accent); }
.card p::after { content: close-quote; color: var(--accent); }
.card figcaption { color: var(--accent); font-size: .84rem; font-weight: 800; }
.visit { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
address { margin-top: 18px; font-style: normal; }
@media (max-width: 820px) {
  .hero-photo { left: 28%; }
}
@media (max-width: 600px) {
  .site-header, .site-footer { min-height: 61px; }
  .site-header nav { display: none; }
  .button-outline { min-height: 38px; padding-inline: 10px; font-size: .83rem; }
  .hero { min-height: clamp(520px, 143vw, 655px); align-items: end; padding-block: 31px; }
  .hero-photo { inset: 0; }
  .hero-photo img { object-position: 50% 31%; }
  .hero-photo::after { background: linear-gradient(0deg, #181a14 1%, #181a14fb 12%, #181a14bd 33%, #181a1455 54%, transparent 78%); }
  h1 { font-size: clamp(88px, 22vw, 124px); margin-bottom: 18px; }
  .intro { max-width: 310px; margin-bottom: 16px; }
  .menu { grid-template-columns: 1fr; margin-top: 23px; }
  .section-heading { margin-bottom: 18px; }
  .gallery {
    margin-inline: calc(-1 * var(--pad));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(100px, 34vw, 202px)) clamp(155px, 50vw, 300px) repeat(2, clamp(100px, 34vw, 202px)) clamp(155px, 50vw, 300px);
    grid-template-areas: "a b" "a c" "g g" "e d" "f d" "h h";
    gap: 7px;
  }
  .barber-about { grid-template-columns: 1fr; }
  .barber-about-copy { padding: 44px var(--pad) 30px; }
  .barber-about-media { aspect-ratio: 4/3; }
  .barber-about-media::after { background: linear-gradient(180deg, #191b15, transparent 19%); }
  .reviews-heading { margin-bottom: 22px; }
  .reviews-rating { display: flex; align-items: baseline; gap: 10px; }
  .rating-score { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.reviews .review-rows {
  --row-gap: 14px;
  display: grid;
  gap: var(--row-gap);
  min-width: 0;
}
.reviews .review-row {
  display: flex;
  gap: var(--row-gap);
  min-width: 0;
  overflow: hidden;
  scroll-snap-type: none;
}
.reviews .review-row .track {
  flex: none;
  display: flex;
  gap: var(--row-gap);
  padding-inline-end: 0;
  animation: review-loop 56s linear infinite;
}
.reviews .review-row:first-child .track { animation-direction: reverse; }
.reviews .review-row .card {
  flex: 0 0 min(320px, 76vw);
  min-height: 128px;
  border: 0;
  border-radius: 8px;
  scroll-snap-align: start;
}
.reviews .review-row:hover .track { animation-play-state: paused; }
.reviews .review-row:focus { overflow-x: auto; scroll-snap-type: x proximity; }
.reviews .review-row:focus .track { animation: none; }
.reviews .review-row:focus .track[aria-hidden="true"] { display: none; }
@keyframes review-loop {
  to { transform: translateX(calc(-100% - var(--row-gap))); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews .review-row { overflow-x: auto; scroll-snap-type: x proximity; }
  .reviews .review-row .track { animation: none; }
  .reviews .review-row .track[aria-hidden="true"] { display: none; }
}
