:root {
  --primary: #1a1a1a;
  --secondary: #c9a227;
  --ink: #111;
  --paper: #f4f1ea;
  --muted: #5c574f;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244,241,234,.92), rgba(244,241,234,.96)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,0,0,.015) 22px 23px);
}

.announce {
  text-align: center;
  color: #fff;
  padding: .65rem 1rem;
  font-size: .92rem;
  letter-spacing: .02em;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244,241,234,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .02em;
}
.site-header nav { display: flex; gap: 1rem; align-items: center; }
.site-header a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-cta {
  background: var(--secondary);
  color: #111 !important;
  padding: .45rem .8rem;
  border-radius: 999px;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  position: relative;
  background:
    var(--hero-image, none) center/cover no-repeat,
    linear-gradient(135deg, var(--primary), #333);
  color: #fff;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.72));
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  max-width: 760px;
}
.eyebrow {
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 .75rem;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .95;
  margin: 0 0 1rem;
  font-weight: 700;
}
.lede { font-size: 1.1rem; max-width: 36rem; opacity: .92; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  background: var(--secondary);
  color: #111;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn.small { padding: .45rem .8rem; font-size: .85rem; }

.section { padding: 4rem 1.5rem; }
.section.alt { background: rgba(0,0,0,.03); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .5rem;
}
.section-head p { margin: 0; color: var(--muted); }

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.style-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  color: #fff;
}
.style-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.style-card:hover img { transform: scale(1.04); }
.style-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.style-meta h3 { margin: .35rem 0 .55rem; font-family: var(--font-heading); font-size: 1.15rem; }
.pill {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  padding: .15rem .45rem;
  border-radius: 999px;
}

.service-list { display: flex; flex-direction: column; gap: .75rem; max-width: 860px; }
.service-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.service-item h3 { margin: 0 0 .25rem; font-family: var(--font-heading); }
.service-item p { margin: 0; color: var(--muted); }
.service-price { text-align: right; display: grid; gap: .35rem; justify-items: end; align-content: start; }
.service-price span { color: var(--muted); font-size: .85rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.team-card img, .avatar-fallback {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
}
.team-card h3 { margin: .75rem 0 .15rem; font-family: var(--font-heading); }
.role { color: var(--secondary); font-weight: 600; margin: 0 0 .35rem; }

.book-form {
  max-width: 460px;
  display: grid;
  gap: .35rem;
}
.book-form label { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.book-form input, .book-form select {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.pay-methods {
  border: 1px solid rgba(0,0,0,.12);
  padding: .85rem 1rem;
  margin: 1rem 0;
  border-radius: 8px;
}
.pay-methods legend {
  font-family: var(--font-heading);
  padding: 0 .35rem;
}
.pay-option {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: .55rem 0;
  cursor: pointer;
  padding: .55rem .65rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #fff;
}
.pay-option:has(input:checked) {
  border-color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 14%, #fff);
}
.pay-option input { margin-top: .2rem; flex-shrink: 0; }
.pay-option strong { display: block; color: var(--ink); }
.pay-option small { color: var(--muted); display: block; }
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.book-slot-picker {
  display: grid;
  gap: .75rem;
  margin: .35rem 0 1rem;
}
.slot-choice {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .7rem .8rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.slot-choice:has(input:checked) {
  border-color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 14%, #fff);
}
.slot-choice strong { display: block; color: var(--ink); }
.slot-choice small { color: var(--muted); display: block; }
.barber-slot-lists { display: grid; gap: .55rem; }
.barber-slot-row {
  display: grid;
  gap: .25rem;
}
.barber-slot-row label {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}
.barber-time-select {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.demo-modal[hidden],
.demo-modal:not(.is-open) {
  display: none !important;
}
.demo-modal.is-open {
  display: grid !important;
  position: fixed;
  inset: 0;
  z-index: 100000;
  place-items: center;
  padding: 1.25rem;
}
.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, .62);
}
.demo-modal-card {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.demo-modal-card h3 {
  margin: 0 0 .65rem;
  font-family: var(--font-heading);
}
.demo-modal-card p {
  margin: 0 0 1.1rem;
  line-height: 1.45;
  color: var(--muted);
}
.demo-modal-card .btn { width: 100%; }

.book-confirm-kicker {
  margin: 0 0 .35rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a6b3c;
  font-weight: 700;
}
.book-confirm-details {
  margin: 1rem 0 1.1rem;
  display: grid;
  gap: .7rem;
}
.book-confirm-details > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .5rem;
  align-items: baseline;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.book-confirm-details dt {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.book-confirm-details dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.book-confirm-note {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
}
.book-confirm-upsell {
  margin: 0 0 1rem;
  padding: .85rem .9rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--secondary) 16%, #fff);
  border: 1px solid rgba(0,0,0,.08);
}
.book-confirm-upsell p {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.4;
}
.book-confirm-upsell .btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.book-flash {
  padding: .9rem 1rem;
  border-radius: 8px;
  margin-bottom: .75rem;
  font-weight: 600;
  line-height: 1.4;
}
.book-flash.ok { background: #e5f6ec; color: #1a6b3c; }
.book-flash.err { background: #fde8e8; color: #8a1f1f; }

.book-actions-row { margin: .35rem 0 .75rem; }
.btn.ghost.dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,.2);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: .45rem;
  margin-bottom: .9rem;
}
.slot-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 8px;
  padding: .55rem .4rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
  text-align: center;
}
.slot-btn:hover { border-color: var(--secondary); }
.slot-btn.selected {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #111;
  font-weight: 700;
}

.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  background: var(--primary);
  color: #eee;
  display: grid;
  gap: 1.25rem;
}
.site-footer a { color: var(--secondary); }
.socials { display: flex; gap: 1rem; }
.map {
  width: 100%;
  max-width: 720px;
  height: 220px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(.2);
}
.sn-credit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
}
.sn-credit-copy {
  margin: 0;
  font-size: .85rem;
  opacity: .9;
  letter-spacing: .02em;
}
.sn-credit-logo {
  display: inline-flex;
  line-height: 0;
}
.sn-credit-logo img {
  height: 36px;
  width: auto;
  max-width: 200px;
  display: block;
}
.site-footer.sn-footer-only {
  padding-top: 1.5rem;
}
.site-footer.sn-footer-only .sn-credit {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 720px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .service-item { flex-direction: column; }
  .service-price { text-align: left; justify-items: start; }
}
