:root {
  --bg: #0d0d0d;
  --bg-soft: #171717;
  --card: #1f1f1f;
  --text: #f6f1e7;
  --muted: #b7b0a5;
  --gold: #c9a35b;
  --gold-light: #e4c47f;
  --white: #ffffff;
  --ink: #161616;
  --cream: #f7f4ee;
  --cream-dark: #eee8de;
  --border: rgba(255,255,255,0.10);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  border-radius: 4px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-light);
}

.button.small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
}

/* HERO */

.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.72) 38%,
      rgba(0,0,0,0.42) 68%,
      rgba(0,0,0,0.18) 100%
    ),
    url("../images/hero.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.eyebrow.dark {
  color: #8c6a31;
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: #f0f0f0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.text-link {
  font-weight: 800;
  color: var(--white);
}

.hero-trust {
  margin-top: 55px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero-trust > div {
  min-width: 150px;
  padding: 0 28px;
  border-left: 1px solid var(--border);
}

.hero-trust > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  font-size: 1rem;
  color: var(--white);
}

.hero-trust span {
  color: #d8d8d8;
  font-size: 0.85rem;
}

/* INTRO */

.intro {
  background: #f1ede5;
  color: var(--ink);
  padding: 96px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.visit h2,
.booking h2,
.booking-demo h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.intro-copy {
  max-width: 620px;
}

.intro p {
  margin-top: 0;
  font-size: 1.08rem;
}

/* SECTIONS */

.services,
.reviews,
.visit,
.booking-demo {
  background: var(--cream);
  color: var(--ink);
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 48px;
  max-width: 680px;
}

.section-heading > p:last-child {
  color: #666158;
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light > p:last-child {
  color: var(--muted);
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid #ddd7cd;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.service-card.featured {
  background: #171717;
  color: var(--white);
  border-color: #171717;
}

.service-number {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.popular {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 9px;
  background: var(--gold);
  color: #111;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
}

.service-card p {
  color: #777064;
}

.service-card.featured p {
  color: #cfc7ba;
}

.service-meta {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.featured .service-meta {
  border-color: rgba(255,255,255,0.13);
}

.service-meta strong {
  font-size: 1.6rem;
}

.service-card > a {
  margin-top: 20px;
  color: #8c6a31;
  font-weight: 900;
}

.service-card.featured > a {
  color: var(--gold);
}

/* TEAM */

.team {
  padding: 100px 0;
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.barber {
  background: #121212;
  border: 1px solid var(--border);
}

.barber-photo {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
}

.barber-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.35) 100%);
}

.barber-photo span {
  position: relative;
  z-index: 2;
  font-size: 6rem;
  font-weight: 950;
  opacity: 0.75;
}

.barber-one {
  background: radial-gradient(circle at 48% 35%, #5c4a3c 0%, #27211d 42%, #121212 75%);
}

.barber-two {
  background: radial-gradient(circle at 52% 35%, #3d4750 0%, #20252a 42%, #111 75%);
}

.barber-three {
  background: radial-gradient(circle at 48% 35%, #604c3b 0%, #2b241f 42%, #121212 75%);
}

.barber-copy {
  padding: 24px;
}

.barber h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.barber p {
  margin: 0 0 14px;
  color: var(--muted);
}

.barber a {
  color: var(--gold);
  font-weight: 850;
  font-size: 0.92rem;
}

/* BOOKING PROCESS */

.booking-demo {
  border-bottom: 1px solid #ded8ce;
}

.booking-demo-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.booking-steps div {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid #ded8ce;
}

.booking-steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #171717;
  color: var(--gold);
  font-weight: 900;
  border-radius: 50%;
}

.booking-steps p {
  margin: 22px 0 0;
  font-weight: 800;
}

/* REVIEWS */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

blockquote {
  margin: 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid #ddd7cd;
}

.stars {
  color: #a97b29;
  letter-spacing: 0.15em;
}

blockquote p {
  font-size: 1.15rem;
}

blockquote cite {
  color: #6c665d;
  font-style: normal;
  font-weight: 800;
}

/* BOOKING CTA */

.booking {
  padding: 82px 0;
  background: var(--gold);
  color: #111;
}

.booking-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.booking .eyebrow {
  color: #4e3c1c;
}

.booking p {
  max-width: 680px;
}

.light-button {
  background: #111;
  color: var(--white);
  min-width: 210px;
}

.light-button:hover {
  background: #292929;
}

/* VISIT */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.visit-copy a {
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.25);
  text-underline-offset: 3px;
}

.demo-note {
  max-width: 430px;
  padding-top: 18px;
  margin-top: 32px;
  border-top: 1px solid #ddd6ca;
  color: #706a61;
  font-size: 0.88rem;
}

.hours {
  padding: 34px;
  background: var(--white);
  border: 1px solid #ded8ce;
}

.hours h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.hours div {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eee8df;
}

.hours div:last-child {
  border-bottom: 0;
}

/* FOOTER */

footer {
  padding: 36px 0;
  background: #080808;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

footer p {
  color: var(--muted);
}

.footer-book {
  color: var(--gold);
  font-weight: 800;
}

/* DEMO BOOKING TOAST */

.booking-toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  width: min(560px, calc(100% - 28px));
  padding: 16px 20px;
  background: #fff;
  color: #151515;
  border-left: 5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  font-weight: 750;
  transition: transform 0.3s ease;
}

.booking-toast.show {
  transform: translate(-50%, 0);
}

/* RESPONSIVE */

@media (max-width: 1020px) {

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .visit-grid,
  .booking-demo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
    margin-left: auto;
  }

  .nav > .button.small {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 82px 0 auto;
    padding: 28px 20px 34px;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.15rem;
    color: var(--white);
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .booking-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max-width), calc(100% - 26px));
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    inset: 68px 0 auto;
  }

  .hero {
    min-height: calc(100vh - 68px);
    background-position: 62% center;
  }

  .hero-content {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 16vw, 5rem);
  }

  .hero-text {
    max-width: 92%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    margin-top: 44px;
  }

  .hero-trust > div {
    width: 33.333%;
    min-width: 0;
    padding: 0 10px;
  }

  .hero-trust strong {
    font-size: 0.95rem;
  }

  .hero-trust span {
    font-size: 0.72rem;
  }

  .service-grid,
  .team-grid,
  .booking-steps {
    grid-template-columns: 1fr;
  }

  .barber-photo {
    min-height: 300px;
  }

  .booking-box .button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .services,
  .reviews,
  .visit,
  .team,
  .intro,
  .booking-demo {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}