:root {
  --ink: #16130f;
  --paper: #f6f0e6;
  --cream: #fff8ec;
  --gold: #c9973f;
  --red: #8e2e24;
  --green: #173f36;
  --steel: #d7d9d2;
  --muted: #766c5c;
  --shadow: 0 24px 70px rgba(16, 13, 9, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 16px;
  color: var(--cream);
  background: rgba(22, 19, 15, 0.78);
  border: 1px solid rgba(255, 248, 236, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 6px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
}

.nav-links {
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.btn-primary {
  color: var(--ink);
  background: var(--gold);
}

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(255, 248, 236, 0.45);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1800&q=88");
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.88), rgba(12, 10, 8, 0.48) 48%, rgba(12, 10, 8, 0.2)),
    linear-gradient(0deg, rgba(22, 19, 15, 0.9), transparent 45%);
}

.hero-content {
  max-width: 790px;
}

.hero-kicker,
.hero h1,
.hero-copy,
.hero-actions,
.hero-card {
  animation: hero-rise 820ms ease both;
}

.hero h1 {
  animation-delay: 100ms;
}

.hero-copy {
  animation-delay: 210ms;
}

.hero-actions {
  animation-delay: 320ms;
}

.hero-card {
  animation-delay: 430ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(64px, 10vw, 148px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 86px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 248, 236, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 56px;
  width: min(290px, calc(100% - 48px));
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 8px 0;
  font-size: 25px;
}

.hero-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--cream);
  background: var(--green);
}

.intro-stat {
  padding: 36px clamp(20px, 5vw, 72px);
  border-right: 1px solid rgba(255, 248, 236, 0.14);
}

.intro-stat strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(46px, 8vw, 76px);
  line-height: 0.9;
}

.intro-stat span {
  color: rgba(255, 248, 236, 0.72);
  font-weight: 700;
}

.section {
  padding: clamp(82px, 10vw, 136px) max(24px, calc((100vw - 1180px) / 2));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) 1.18fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.booking-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid rgba(22, 19, 15, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 19, 15, 0.08);
}

.service-card .price {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--red);
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.accent-card {
  color: var(--cream);
  background: var(--red);
}

.accent-card .price,
.accent-card p {
  color: rgba(255, 248, 236, 0.78);
}

.image-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  min-height: 420px;
}

.image-strip img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.barbers-section {
  color: var(--cream);
  background: var(--ink);
}

.barber-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.barber-card {
  overflow: hidden;
  background: #221d17;
  border: 1px solid rgba(255, 248, 236, 0.12);
  border-radius: 8px;
}

.barber-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  transition: transform 600ms ease;
}

.barber-card:hover img {
  transform: scale(1.06);
}

.barber-card div {
  padding: 22px;
}

.barber-card p {
  margin-bottom: 0;
  color: rgba(255, 248, 236, 0.65);
}

.gallery-section {
  background: var(--steel);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(22, 19, 15, 0.16);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.booking-section {
  padding: clamp(82px, 10vw, 136px) max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(22, 19, 15, 0.92), rgba(22, 19, 15, 0.76)),
    url("https://images.unsplash.com/photo-1517832606299-7ae9b720a186?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.booking-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  color: var(--cream);
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 248, 236, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--cream);
  background: rgba(255, 248, 236, 0.12);
  border: 1px solid rgba(255, 248, 236, 0.22);
  border-radius: 6px;
  font: inherit;
}

.booking-form option {
  color: var(--ink);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.fallback-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fallback-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-note {
  animation: pulse-note 460ms ease;
}

@keyframes pulse-note {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  color: var(--cream);
  background: #0f0d0a;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 248, 236, 0.22);
    border-radius: 6px;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
  }

  .site-header.is-open .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    display: grid;
    width: 100%;
    padding: 18px;
    background: rgba(22, 19, 15, 0.95);
    border-radius: 8px;
  }

  .hero {
    min-height: 94vh;
    padding-bottom: 240px;
  }

  .hero-card {
    right: 24px;
    bottom: 34px;
  }

  .intro-band,
  .split-section,
  .barber-grid,
  .booking-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cursor-dot {
    display: none;
  }

  .brand span:last-child {
    max-width: 136px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: 62px;
  }

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

  .intro-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 248, 236, 0.14);
  }

  .service-card {
    min-height: auto;
  }

  .service-card .price {
    margin-bottom: 32px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
