/* ==========================================================
   Fades and Shaves — black & gold
   Edit colors in :root. Fonts: Big Shoulders Display + Barlow.
   ========================================================== */

:root {
  /* Color */
  --ink: #0A0908;          /* page background */
  --coal: #14120F;         /* raised surfaces */
  --coal-2: #1B1814;       /* cards on surfaces */
  --seam: #2E2920;         /* lines, borders */
  --gold: #CFA74A;         /* brand accent */
  --gold-hi: #E4C36E;      /* hover */
  --gold-deep: #8E6F27;    /* leaders, quiet accents */
  --bone: #F2EDE3;         /* primary text */
  --dust: #ADA594;         /* secondary text */
  --on-gold: #14100A;      /* text on gold */

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space (8pt) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;
  --radius: 4px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1; }
p { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 1000;
  background: var(--gold); color: var(--on-gold); padding: var(--s1) var(--s2); font-weight: 600;
}
.skip-link:focus { top: var(--s2); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(242, 237, 227, .45); color: var(--bone); background: rgba(10, 9, 8, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.text-link {
  color: var(--gold); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: .25em;
  transition: color .2s ease;
}
.text-link:hover { color: var(--gold-hi); }

/* ---------- Wordmark (swap for logo later) ---------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: .3em;
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  text-decoration: none; color: var(--bone);
}
.wordmark .amp { color: var(--gold); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 9, 8, .75), rgba(10, 9, 8, 0));
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(10, 9, 8, .96); border-bottom-color: var(--seam); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }

.site-nav { display: flex; align-items: center; gap: var(--s4); }
.site-nav ul { display: flex; gap: var(--s3); }
.site-nav ul a {
  display: inline-block; padding: .5rem 0; text-decoration: none; font-weight: 500;
  color: var(--bone); border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.site-nav ul a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.nav-book { min-height: 44px; padding: .5rem 1.15rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--seam); border-radius: var(--radius); color: var(--bone); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--s3);
    padding: var(--s3) var(--gutter) var(--s4);
    background: var(--ink); border-bottom: 1px solid var(--seam);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s var(--ease-out), visibility 0s linear .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--seam); }
  .site-nav ul a:hover { border-bottom-color: var(--seam); }
  .nav-book { width: 100%; min-height: 48px; }
  .site-header.menu-open { background: var(--ink); border-bottom-color: var(--seam); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + var(--s6)) 0 clamp(3rem, 10vh, 7rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, .92) 0%, rgba(10, 9, 8, .7) 45%, rgba(10, 9, 8, .25) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 9, 8, 0) 40%);
}
.hero-content { max-width: var(--container); }
.hero-place { color: var(--gold); font-weight: 600; font-size: 1.0625rem; margin-bottom: var(--s2); }
.hero-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.5rem, 11vw, 8.5rem); line-height: .88; letter-spacing: -.005em;
  margin-bottom: var(--s3);
}
.hero-title .line { display: block; }
.hero-title .gold { color: var(--gold); }
.hero-lede { max-width: 34rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--bone); margin-bottom: var(--s4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* One orchestrated load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-place, .hero-title .line, .hero-lede, .hero .hero-actions {
    animation: rise .8s var(--ease-out) both;
  }
  .hero-title .line:nth-child(1) { animation-delay: .1s; }
  .hero-title .line:nth-child(2) { animation-delay: .22s; }
  .hero-lede { animation-delay: .38s; }
  .hero .hero-actions { animation-delay: .5s; }
  .hero-bg { animation: settle 1.6s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: .95; letter-spacing: .005em;
}
.section-sub { margin-top: var(--s2); color: var(--dust); font-size: 1.125rem; }

/* ---------- About ---------- */
.about { background: var(--ink); }
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--seam); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy .section-title { margin-bottom: var(--s3); }
.about-copy > p { max-width: 36rem; color: var(--dust); }
.about-copy > p + p { margin-top: var(--s2); }
.about-points { margin-top: var(--s4); border-top: 1px solid var(--seam); }
.about-points li { padding: var(--s2) 0; border-bottom: 1px solid var(--seam); color: var(--dust); }
.about-points strong { display: block; color: var(--bone); font-weight: 600; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 1fr; } }

/* ---------- Price list (menu board) ---------- */
.prices { background: var(--coal); border-block: 1px solid var(--seam); }
.menu-board {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
}
@media (min-width: 900px) { .menu-board { grid-template-columns: 1fr 1fr; } }

.menu-cat-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3rem); color: var(--gold); line-height: 1;
  padding-bottom: var(--s2); border-bottom: 2px solid var(--gold);
}
.menu-cat-note { margin-top: var(--s1); color: var(--dust); font-size: .9375rem; }

.menu-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline;
  column-gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--seam);
}
.mi-name { font-weight: 600; font-size: 1.125rem; }
.mi-leader { border-bottom: 2px dotted var(--gold-deep); transform: translateY(-.3em); min-width: 1.5rem; }
.mi-price {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  color: var(--bone); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.mi-note { grid-column: 1 / -1; margin-top: .25rem; color: var(--dust); font-size: .9375rem; line-height: 1.45; }

.prices-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.gallery li { overflow: hidden; border-radius: 2px; background: var(--coal); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
.work-more { margin-top: var(--s4); }

/* ---------- Barbers ---------- */
.barbers { background: var(--coal); border-block: 1px solid var(--seam); }
.barber-list { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .barber-list { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.barber { background: var(--coal-2); border: 1px solid var(--seam); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.barber img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.barber-body { padding: var(--s3); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.barber h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; }
.barber-role { color: var(--gold); font-weight: 600; }
.barber-body > p:not(.barber-role) { color: var(--dust); flex: 1; }
.barber .text-link { align-self: flex-start; padding-block: .5rem; }

/* ---------- Reviews ---------- */
.review-list { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(3, 1fr); } }
.review { border-left: 3px solid var(--gold); padding: var(--s1) 0 var(--s1) var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
.review-by { color: var(--dust); font-weight: 500; }

/* ---------- Booking band ---------- */
.book-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-block: 1px solid var(--seam);
}
.book-band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.book-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 9, 8, .78); }
.book-band-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.book-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem); line-height: .92;
}
.book-band-inner > p { color: var(--bone); font-size: 1.125rem; margin-bottom: var(--s2); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; } }
.visit-info .section-title { margin-bottom: var(--s4); }
.visit-block + .visit-block { margin-top: var(--s4); }
.visit-block h3 {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.125rem; line-height: 1.3;
  color: var(--gold); margin-bottom: .75rem;
}
.visit-block address { margin-bottom: .5rem; font-size: 1.125rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--seam); text-align: left; font-weight: 400; }
.hours th { color: var(--dust); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); font-weight: 600; }
.visit-map { display: flex; min-height: 360px; border: 1px solid var(--seam); border-radius: var(--radius); overflow: hidden; background: var(--coal); }
.visit-map iframe {
  display: block; flex: 1; width: 100%; min-height: 360px; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--coal); border-top: 1px solid var(--seam); padding-block: var(--s5); }
.footer-inner { display: grid; gap: var(--s2); justify-items: start; }
.footer-tag { color: var(--dust); }
.social { display: flex; gap: .5rem; margin-top: var(--s1); }
.social a {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--seam); border-radius: var(--radius); color: var(--bone);
  transition: color .2s ease, border-color .2s ease;
}
.social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-copy { color: var(--dust); font-size: .9375rem; margin-top: var(--s2); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--s4); }
  .footer-tag { justify-self: start; }
  .social { margin-top: 0; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
