:root {
  --ink: #0c0b0a;
  --charcoal: #141210;
  --surface: #1a1714;
  --surface-2: #211d18;
  --muted: #8d8175;
  --paper: #e8dccb;
  --cream: #f5ede1;
  --cream-strong: #fff7e8;
  --steel: #7d8b8f;
  --steel-dark: #2a3335;
  --rust: #bb4a37;
  --rust-deep: #8f3527;
  --gold: #c89a56;
  --line: rgba(245, 237, 225, 0.1);
  --line-strong: rgba(245, 237, 225, 0.18);
  --line-light: rgba(255, 250, 241, 0.18);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 34px 90px rgba(0, 0, 0, 0.6);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2 {
  max-width: 11em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 12vw, 4.9rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 8vw, 4rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

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

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  color: var(--cream);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-ribbon {
  padding: 0.62rem 1rem;
  color: #f8ead6;
  background: #0f0e0c;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 247, 232, 0.12);
}

body.menu-open {
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(24, 22, 19, 0.9);
  border-bottom: 1px solid rgba(255, 247, 232, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cream);
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(255, 247, 232, 0.2) 36% 54%, transparent 54%),
    linear-gradient(145deg, #2b2620, #0e0d0b);
  border: 1px solid rgba(255, 247, 232, 0.22);
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.05;
}

.brand small {
  overflow: hidden;
  max-width: 12.5rem;
  color: #cabaa4;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  padding: 0;
  color: var(--cream);
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: -0.28rem 0;
  background: var(--cream);
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1.1rem;
  background: rgba(24, 22, 19, 0.98);
  border-bottom: 1px solid rgba(255, 247, 232, 0.14);
  box-shadow: var(--shadow-strong);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.site-nav a {
  padding: 0.75rem 0.5rem;
  color: #eadbc5;
  font-weight: 800;
}

.site-nav.is-open {
  max-height: 22rem;
  opacity: 1;
  pointer-events: auto;
}

.header-cta {
  display: none;
}

.brand:focus-visible,
.site-nav a:focus-visible,
.header-cta:focus-visible,
.btn:focus-visible,
.service-card a:focus-visible,
.barber-card a:focus-visible,
.availability-card a:focus-visible,
.mobile-action-bar a:focus-visible,
.nav-toggle:focus-visible,
.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible,
.form-submit:focus-visible {
  outline: 3px solid rgba(168, 78, 63, 0.42);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(168, 78, 63, 0.12);
}

.section-pad {
  padding: clamp(3.5rem, 8vw, 6.8rem) clamp(1rem, 4vw, 3.5rem);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 124px);
  color: var(--cream);
  background: #0a0908;
  border-bottom: 1px solid var(--line-strong);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.78) 36%, rgba(8, 7, 6, 0.32) 64%, rgba(8, 7, 6, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.7) 0%, transparent 28%, transparent 60%, rgba(8, 7, 6, 0.82) 100%);
}

.hero-inner {
  display: grid;
  align-content: center;
  gap: 2rem;
  width: 100%;
  padding-top: clamp(3.2rem, 8vw, 7rem);
  padding-bottom: clamp(3.2rem, 8vw, 7rem);
}

.hero-content {
  max-width: 42rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 41rem;
  color: #dacbb7;
  font-size: clamp(1.06rem, 3.5vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin-top: 1.6rem;
}

.btn,
.service-card a,
.barber-card a,
.availability-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.12rem;
  padding: 0 1.08rem;
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rust), var(--rust-deep));
  box-shadow: 0 14px 30px rgba(143, 53, 39, 0.4);
}

.btn-secondary {
  color: #191613;
  background: var(--cream);
  border: 1px solid rgba(255, 247, 232, 0.4);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.btn-outline {
  color: var(--cream);
  border: 1px solid var(--line-strong);
}

.trust-notes {
  display: grid;
  gap: 0.55rem;
  margin: 1.55rem 0 0;
  padding: 0;
  color: #e7d9c5;
  font-weight: 800;
  list-style: none;
}

.trust-notes li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.trust-notes li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
}

.availability-card {
  width: fit-content;
  max-width: 21rem;
  padding: 1.1rem 1.2rem;
  color: var(--cream);
  background: rgba(12, 11, 10, 0.78);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--rust);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.availability-card span,
.availability-card strong {
  display: block;
}

.availability-card span {
  color: #d9c7b1;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.availability-card strong {
  margin: 0.25rem 0 0.8rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.availability-card a {
  min-height: 2.55rem;
  color: var(--ink);
  background: var(--cream);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(255, 247, 232, 0.1);
}

.trust-strip div {
  min-height: 7rem;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 247, 232, 0.08), transparent 42%),
    #151310;
}

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

.trust-strip strong {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1;
}

.trust-strip span {
  margin-top: 0.35rem;
  color: #d1c7bc;
  font-size: 0.86rem;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
}

#services {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(187, 74, 55, 0.12), transparent 55%),
    var(--charcoal);
}

#barbers {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(125, 139, 143, 0.1), transparent 55%),
    var(--ink);
}

.service-grid,
.barber-grid,
.review-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.barber-card,
.review-card,
.steps-grid article {
  padding: 1.4rem;
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
}

.service-card {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--rust), var(--gold));
  opacity: 0.86;
}

.service-card strong {
  color: var(--cream-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1;
}

.service-card h3,
.barber-card h3 {
  color: var(--cream-strong);
}

.service-card p,
.barber-card p {
  color: var(--muted);
}

.service-card a {
  width: fit-content;
  min-height: 2.75rem;
  color: var(--ink);
  background: var(--cream);
}

.service-card.featured {
  color: var(--cream);
  background:
    linear-gradient(150deg, rgba(187, 74, 55, 0.5), transparent 52%),
    linear-gradient(180deg, #2a1d18, #160f0d);
  border-color: rgba(187, 74, 55, 0.5);
  box-shadow: 0 24px 60px rgba(143, 53, 39, 0.28);
}

.service-card.featured::before {
  opacity: 1;
  height: 0.3rem;
}

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

.service-card.featured a {
  color: #fff;
  background: linear-gradient(135deg, var(--rust), var(--rust-deep));
}

.first-visit {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(200, 154, 86, 0.13), transparent 36%),
    linear-gradient(180deg, #303b3e, #20282b);
  border-top: 1px solid rgba(255, 247, 232, 0.12);
  border-bottom: 1px solid rgba(18, 16, 14, 0.32);
}

.first-visit p {
  color: #d8d1ca;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.steps-grid article {
  background: rgba(255, 247, 232, 0.09);
  border-color: rgba(255, 247, 232, 0.2);
  box-shadow: 0 20px 46px rgba(18, 16, 14, 0.18);
}

.steps-grid span {
  display: inline-flex;
  margin-bottom: 2.25rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.barber-card {
  display: grid;
  gap: 0.72rem;
  border-top: 4px solid rgba(164, 68, 54, 0.78);
}

.barber-avatar {
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  margin-bottom: 0.2rem;
  color: var(--cream);
  background:
    linear-gradient(135deg, var(--rust) 0 34%, #161310 34% 64%, var(--steel-dark) 64% 100%);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(18, 16, 14, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 900;
}

.specialty {
  margin-bottom: 0;
  color: var(--rust);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.barber-card a {
  width: fit-content;
  min-height: 2.7rem;
  margin-top: 0.35rem;
  color: var(--ink);
  background: var(--cream);
}

.gallery-section,
.booking-section {
  background:
    linear-gradient(135deg, rgba(164, 68, 54, 0.14), transparent 34%),
    linear-gradient(180deg, #1b1814, #241f1a);
  color: var(--cream);
}

.gallery-section .section-heading p,
.booking-section p {
  color: #d9cbb8;
}

.gallery-section h2,
.booking-section h2 {
  color: var(--cream);
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
}

.gallery-tile {
  position: relative;
  margin: 0;
  min-height: 15rem;
  overflow: hidden;
  background: #0a0908;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 6, 0.78) 100%);
  pointer-events: none;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  color: var(--cream);
  background: rgba(8, 7, 6, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.reviews-section {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(125, 139, 143, 0.1), transparent 55%),
    var(--charcoal);
}

.review-card {
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: var(--line-strong);
  border-left: 3px solid var(--rust);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.review-card p {
  color: var(--cream);
  font-size: 1.05rem;
}

.review-card strong {
  color: var(--muted);
}

.stars {
  margin-bottom: 0.85rem;
  color: var(--rust);
  letter-spacing: 0.08em;
}

.visit-section {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(164, 68, 54, 0.18), transparent 38%),
    linear-gradient(180deg, #141210, #0d0c0b);
  border-top: 1px solid rgba(255, 247, 232, 0.12);
}

.visit-section p {
  color: #d9d0c5;
}

.visit-card {
  display: grid;
  gap: 2rem;
  max-width: 74rem;
  margin: 0 auto;
}

.visit-card .btn-primary {
  color: var(--ink);
  background: var(--cream);
}

.visit-card .btn-secondary,
.visit-card .btn-outline {
  color: var(--cream);
  background: transparent;
  border-color: rgba(255, 250, 241, 0.24);
}

.visit-details {
  display: grid;
  gap: 1rem;
}

.visit-details article {
  padding: 1rem;
  border: 1px solid rgba(255, 247, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.08);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.visit-details p {
  margin-bottom: 0.5rem;
  font-size: 1.04rem;
  font-weight: 800;
}

.visit-details span {
  color: #bdb1a4;
  font-size: 0.86rem;
  font-weight: 800;
}

.booking-box {
  display: grid;
  gap: 1.8rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  background:
    linear-gradient(145deg, rgba(255, 247, 232, 0.12), rgba(255, 247, 232, 0.04));
  border: 1px solid rgba(255, 247, 232, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.booking-box h2 {
  max-width: 9em;
}

.booking-intro {
  max-width: 42rem;
}

.booking-form {
  padding: clamp(1.1rem, 4vw, 1.7rem);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.96), rgba(234, 216, 189, 0.94));
  border: 1px solid rgba(255, 247, 232, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  color: #273134;
  font-size: 0.88rem;
  font-weight: 900;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fffaf1;
  border: 1px solid rgba(18, 16, 14, 0.32);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.booking-form textarea {
  resize: vertical;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  margin-top: 1rem;
  color: var(--cream);
  background: linear-gradient(135deg, #241e19, #0d0c0b);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(18, 16, 14, 0.28);
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: #7c3128;
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2.2rem clamp(1rem, 4vw, 3.5rem) 6.2rem;
  color: var(--cream);
  background: #111;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: #c9bfb4;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: #d8d0c7;
  font-weight: 800;
}

.mobile-action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0.65rem;
  background: rgba(13, 12, 11, 0.9);
  backdrop-filter: blur(14px);
}

.mobile-action-bar a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  font-weight: 900;
}

.mobile-action-bar a:first-child {
  color: var(--cream);
  background: var(--rust);
}

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .service-grid,
  .barber-grid,
  .review-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .form-wide {
    grid-column: 1 / -1;
  }
}

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

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.35rem 0;
    font-size: 0.93rem;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--rust), var(--rust-deep));
    border-radius: 999px;
    font-weight: 900;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem 3rem;
  }

  .availability-card {
    margin-bottom: 0.4rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
    align-items: end;
  }

  .service-grid,
  .barber-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .gallery-wide {
    grid-column: 1 / -1;
    min-height: 18rem;
  }

  .visit-card {
    grid-template-columns: minmax(0, 0.85fr) minmax(21rem, 0.7fr);
    align-items: start;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding-bottom: 2.2rem;
  }

  .mobile-action-bar {
    display: none;
  }
}

@media (min-width: 1120px) {
  .gallery-tile {
    min-height: 17rem;
  }
}

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