/* Barber & shave — sample design
   Bottle green of old barber chairs, brass of the fittings, lather white.
   The one loud element is the price board; everything else stays quiet. */
:root {
  --green: #12302a;
  --green-2: #1a3e36;
  --green-3: #24504a;
  --brass: #c9a25c;
  --brass-hi: #dcb874;
  --lather: #ece6dc;
  --lather-dim: #b9b3a8;
  --oxblood: #7b2622;
  --ink: #0a1714;

  --f-display: "Zodiak", Georgia, serif;
  --f-body: "General Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green);
  color: var(--lather);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }

.h-display {
  font: 400 clamp(2.6rem, 6vw, 5.4rem)/1 var(--f-display);
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

.concept { background: var(--ink); color: var(--lather-dim); font-size: .8125rem; text-align: center; padding: 7px var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); }
.btn--glass { color: var(--lather); border-color: rgba(236,230,220,.45); background: rgba(10,23,20,.3); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(236,230,220,.14); }
.btn--line { color: var(--lather); border-color: rgba(236,230,220,.35); }
.btn--line:hover { border-color: var(--brass); color: var(--brass-hi); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 44px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: top .35s var(--ease);
}
.nav.is-scrolled { top: 14px; }
.nav__logo {
  font: italic 700 1.7rem/1 var(--f-display); color: var(--lather); text-decoration: none;
  padding: 10px 18px 12px; border-radius: 14px; background: rgba(10,23,20,.6); backdrop-filter: blur(10px);
}
.nav__links { display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(10,23,20,.55); backdrop-filter: blur(12px); }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 10px 16px; border-radius: 999px; }
.nav__links a:hover { background: rgba(236,230,220,.12); }
.nav__cta { min-height: 46px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,23,20,.6) 0%, rgba(10,23,20,0) 26%),
    linear-gradient(90deg, rgba(10,23,20,.88) 0%, rgba(10,23,20,.55) 42%, rgba(10,23,20,.05) 75%),
    linear-gradient(0deg, rgba(18,48,42,.9) 0%, rgba(18,48,42,0) 40%);
}
.hero__inner { position: relative; width: 100%; padding: 150px var(--gutter) clamp(32px, 5vw, 64px); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.hero__facts li { font-size: .875rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(236,230,220,.28); background: rgba(10,23,20,.45); backdrop-filter: blur(8px); }
.star { color: var(--brass-hi); }
.hero__title { margin: 0; font: 400 clamp(3.4rem, 9vw, 9.2rem)/.94 var(--f-display); letter-spacing: -.025em; }
.hero__title em { font-style: italic; color: var(--brass-hi); }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero__line:nth-child(2) > span { animation-delay: .14s; }
.hero__line:nth-child(3) > span { animation-delay: .28s; }
@keyframes rise { to { transform: translateY(0); } }
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(22px, 3vw, 36px);
  opacity: 0; animation: fade .9s .7s var(--ease) forwards;
}
@keyframes fade { to { opacity: 1; } }
.hero__lede { max-width: 40ch; margin: 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--lather); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- the shave ---------- */
.shave { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.shave__head { display: grid; grid-template-columns: 1fr minmax(0, 32ch); gap: 24px 48px; align-items: end; margin-bottom: clamp(48px, 7vw, 80px); }
.shave__head p { margin: 0; color: var(--lather-dim); }
.ritual { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.step { counter-increment: step; }
.step video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: var(--green-2); }
.step h3 { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; font: 400 1.75rem/1.1 var(--f-display); }
.step h3::before { content: counter(step); font: italic 400 1.1rem/1 var(--f-display); color: var(--brass); }
.step p { margin: 0; color: var(--lather-dim); font-size: .975rem; max-width: 30ch; }
.shave__price {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  margin: clamp(48px, 6vw, 72px) 0 0; padding-top: 28px; border-top: 1px solid rgba(201,162,92,.35);
  font-size: 1.125rem;
}
.shave__price b { font: 400 2.4rem/1 var(--f-display); color: var(--brass-hi); margin-right: auto; }

/* ---------- price board ---------- */
.board-wrap {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--ink);
  overflow: hidden;
}
.board {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  background: var(--green-2);
  padding: clamp(36px, 6vw, 72px) clamp(22px, 6vw, 80px);
  border-radius: 6px;
  /* double brass rule, like a framed sign */
  box-shadow:
    inset 0 0 0 1px var(--brass),
    inset 0 0 0 7px var(--green-2),
    inset 0 0 0 8px rgba(201,162,92,.6),
    0 50px 90px -40px rgba(0,0,0,.8);
}
.board__title { margin: 0; text-align: center; font: italic 400 clamp(3rem, 7vw, 5.6rem)/1 var(--f-display); color: var(--brass-hi); letter-spacing: -.02em; }
.board__sub { margin: 8px 0 clamp(32px, 5vw, 52px); text-align: center; color: var(--lather-dim); font-size: .9375rem; }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.board__list li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: baseline; }
.svc { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--f-display); }
.dots { border-bottom: 2px dotted rgba(201,162,92,.55); transform: translateY(-5px); min-width: 24px; }
.price { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1 var(--f-display); color: var(--brass-hi); }
.dur { grid-column: 1 / -1; color: var(--lather-dim); font-size: .9rem; margin-top: 4px; max-width: 60ch; }
.board__all { display: block; width: max-content; margin: clamp(36px, 5vw, 52px) auto 0; color: var(--brass-hi); font-weight: 600; text-underline-offset: 5px; }

/* shop props: drop in when the section arrives, then drift with the scroll (js sets --py and --pr) */
.prop {
  position: absolute; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 28px 26px rgba(0,0,0,.6));
  transform: translate3d(0, var(--py, 0px), 0) rotate(calc(var(--rot, 0deg) + var(--pr, 0deg)));
  opacity: 0; scale: .8; translate: 0 40px;
  transition: opacity .9s var(--ease) var(--d, 0s), scale 1.2s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s);
}
.prop.is-in { opacity: 1; scale: 1; translate: 0 0; }
.prop--razor  { --rot: -24deg; width: clamp(170px, 20vw, 320px); left: max(0px, calc(50% - 720px)); top: 7%; }
.prop--shears { --rot: 18deg; --d: .15s; width: clamp(150px, 17vw, 270px); right: max(0px, calc(50% - 700px)); top: 16%; }
.prop--bowl   { --rot: -3deg; --d: .1s; width: clamp(150px, 16vw, 250px); left: max(8px, calc(50% - 660px)); bottom: 9%; }
.prop--brush  { --rot: 7deg; --d: .25s; width: clamp(70px, 7vw, 116px); right: max(16px, calc(50% - 600px)); bottom: 6%; }
.prop--towels { --rot: 0deg; width: clamp(140px, 15vw, 230px); right: 0; top: -80px; }
.prop--bottle { --rot: -4deg; width: clamp(200px, 21vw, 330px); left: 50%; bottom: -40px; margin-left: calc(clamp(200px, 21vw, 330px) / -4); z-index: 3; }

/* ---------- reviews ---------- */
.reviews { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; background: var(--green); }
.pull { margin: 0 auto clamp(48px, 7vw, 80px); padding: 0 var(--gutter); max-width: 1100px; text-align: center; }
.pull p { margin: 0; font: italic 400 clamp(2.4rem, 6vw, 5.4rem)/1.02 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.pull cite { display: block; margin-top: 20px; font-style: normal; color: var(--lather-dim); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.review {
  margin: 0; width: min(400px, 78vw); padding: 24px;
  border: 1px solid rgba(201,162,92,.3); border-radius: 18px; background: var(--green-2);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.review blockquote { margin: 0; font: 400 1.2rem/1.35 var(--f-display); }
.review figcaption { font-size: .875rem; color: var(--lather-dim); font-weight: 500; }

/* ---------- barbers ---------- */
.barbers { position: relative; overflow: hidden; background: var(--ink); padding: clamp(80px, 11vw, 150px) var(--gutter); }
.barbers__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.barbers__inner { position: relative; max-width: 1200px; margin: 0 auto; }
.chairs { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(201,162,92,.35); }
.chairs li { border-bottom: 1px solid rgba(201,162,92,.35); }
.chairs li:not(:nth-child(3n)) { border-right: 1px solid rgba(201,162,92,.35); }
.chairs a { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 30px; text-decoration: none; height: 100%; transition: background-color .25s; }
.chairs a:hover { background: rgba(201,162,92,.1); }
.chairs__name { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1 var(--f-display); }
.chairs a:hover .chairs__name { color: var(--brass-hi); }
.chairs__meta { color: var(--lather-dim); font-size: .9375rem; }

/* ---------- visit ---------- */
.visit { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; background: var(--green); }
.visit__info { padding: clamp(64px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.visit__info p { margin: 0; max-width: 40ch; color: var(--lather-dim); }
.visit__addr { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.2 var(--f-display); color: var(--lather) !important; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.visit__media { position: relative; min-height: 360px; background: var(--ink); }
.visit__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.foot { background: var(--ink); padding: clamp(56px, 8vw, 100px) var(--gutter) 28px; overflow: hidden; }
.foot__mark { margin: 0 0 40px; font: 400 clamp(3.2rem, 10vw, 9rem)/.95 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.foot__mark em { color: var(--brass-hi); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(201,162,92,.3); padding-top: 24px; }
.foot__cols p { margin: 0; color: var(--lather-dim); }
.foot__cols a { color: var(--lather); text-decoration: none; font-weight: 600; }
.foot__small { margin: 40px 0 0; font-size: .8125rem; color: #6f7d77; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ritual { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .chairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chairs li:not(:nth-child(3n)) { border-right: 0; }
  .chairs li:nth-child(odd) { border-right: 1px solid rgba(201,162,92,.35); }
  .prop--shears, .prop--bowl { display: none; }
  .prop--razor { top: 1%; }
  .prop--brush { bottom: 1%; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .shave__head, .visit { grid-template-columns: 1fr; }
  .prop--bottle { left: auto; right: var(--gutter); margin-left: 0; width: clamp(180px, 34vw, 280px); }
  .hero__shade { background: linear-gradient(0deg, rgba(10,23,20,.95) 0%, rgba(10,23,20,.55) 55%, rgba(10,23,20,.35) 100%); }
}
@media (max-width: 600px) {
  .nav { top: 40px; }
  .nav__cta { min-height: 42px; padding: 0 18px; }
  .hero__inner { padding-top: 130px; }
  .hero__title { font-size: 15vw; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ritual { grid-template-columns: 1fr 1fr; gap: 14px; }
  .step h3 { font-size: 1.35rem; }
  .step p { font-size: .9rem; }
  .board__list li { grid-template-columns: 1fr auto; }
  .dots { display: none; }
  .prop--razor { width: 130px; top: 4px; left: -16px; }
  .prop--brush { width: 54px; bottom: 14px; right: 14px; }
  .prop--towels { display: none; }
  .prop--bottle { width: 160px; left: auto; right: 8px; margin-left: 0; bottom: -40px; }
  /* the bottle hangs over the footer top, so the wordmark starts below it */
  .foot { padding-top: 130px; }
  .board-wrap { padding-bottom: 110px; }
  .chairs { grid-template-columns: 1fr; }
  .chairs li:nth-child(odd) { border-right: 0; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__mark { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__line > span, .hero__foot { animation: none; transform: none; opacity: 1; }
  .marquee__track { animation: none; }
  .btn, .chairs a, .prop { transition: none; }
  .prop { opacity: 1; scale: none; translate: none; }
}
