/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000;
  --white: #fff;
  --line: rgba(0,0,0,0.12);
  --line-strong: rgba(0,0,0,0.85);
  --muted: rgba(0,0,0,0.6);
  --faint: rgba(0,0,0,0.04);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-tag.center { text-align: center; }

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h2.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--black);
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-solid {
  background: var(--black);
  color: var(--white);
}
.btn-solid:hover { background: var(--white); color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 24px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--black);
  width: 100%;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-logo {
  width: min(420px, 78vw);
  margin-bottom: 32px;
}
.hero-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  animation: scrollDown 2s infinite ease-in-out;
}
@keyframes scrollDown {
  0% { top: -60px; }
  60% { top: 60px; }
  100% { top: 60px; }
}

/* ---------- About ---------- */
.about {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.about-inner {
  max-width: 700px;
}
.about-copy {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

/* ---------- Photos ---------- */
.photo-mono {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  display: block;
}

/* ---------- Meet the Barber ---------- */
.barber {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.barber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.barber-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.barber-copy .about-copy { max-width: 480px; }

/* ---------- Services ---------- */
.services {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: var(--faint);
}
.services h2 { margin-bottom: 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.price-card {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  transition: background 0.25s ease;
}
.price-card:hover { background: var(--faint); }
.price-card-featured { background: var(--black); color: var(--white); }
.price-card-featured:hover { background: var(--black); }
.price-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}
.price-copy {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.price-card-featured .price-copy { color: rgba(255,255,255,0.7); }
.price-tag {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.01em;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 32px;
}

/* ---------- Home Service ---------- */
.home-service {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.home-service-inner { max-width: 640px; margin: 0 auto; }
.home-service .section-tag { color: rgba(255,255,255,0.55); }
.home-service h2 { color: var(--white); }
.home-service-copy {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}
.home-service .btn-solid {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.home-service .btn-solid:hover {
  background: transparent;
  color: var(--white);
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.gallery h2 { margin-bottom: 60px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Story ---------- */
.story {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: var(--faint);
}
.story-inner { text-align: center; }
.story-copy {
  max-width: 620px;
  margin: 0 auto 56px;
  font-size: 17px;
  color: var(--muted);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.story-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
}

/* ---------- Hours ---------- */
.hours {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.hours-subtitle {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}
.hours-table {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-collapse: collapse;
}
.hours-table td {
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.hours-table td:first-child {
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
}
.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}
.hours-table tr.closed td:last-child {
  color: rgba(0,0,0,0.35);
  font-style: italic;
}

/* ---------- Location ---------- */
.location {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.info-list {
  list-style: none;
  margin: 32px 0 40px;
}
.info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value {
  font-size: 16px;
}
.info-value a:hover { text-decoration: underline; }
.location-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.location-photo {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.location-map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-strong);
  filter: grayscale(100%) contrast(1.05);
  overflow: hidden;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 20px;
}
.footer-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-address {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links {
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links .divider { margin: 0 12px; color: var(--muted); }
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 24px 32px;
    gap: 20px;
  }
  .site-header.nav-open .nav-cta {
    display: inline-block;
    margin: 0 32px 24px;
  }
  .barber-inner { grid-template-columns: 1fr; }
  .barber-photo { order: -1; aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; }
  .location-map { order: -1; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
