:root {
  --ink: #191612;
  --muted: #74685c;
  --paper: #f6eee4;
  --paper-2: #fffaf4;
  --panel: #ffffff;
  --line: #e1d2bf;
  --brand: #8b6745;
  --brand-dark: #553a25;
  --gold: #c99b5b;
  --black: #101010;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(42, 28, 16, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(85, 58, 37, 0.14);
  background: rgba(246, 238, 228, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-lockup strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #3a3028;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--brand);
  color: white;
  font-weight: 750;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn.secondary:hover {
  background: var(--paper-2);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 85px);
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.94), rgba(16, 16, 16, 0.72), rgba(16, 16, 16, 0.18)),
    url("../img/hero-barbershop.svg");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-inner {
  display: grid;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 85px);
  margin: 0 auto;
  padding: 78px 22px 96px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero p {
  max-width: 610px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 14px;
  margin-top: 46px;
}

.proof-item {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.proof-item strong {
  display: block;
  font-size: 22px;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 74px 22px;
}

.section.alt {
  background: var(--paper-2);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 720px;
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 52px);
}

.section-head p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(85, 58, 37, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

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

.service-card {
  min-height: 176px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #fbf4ec;
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.photo-panel {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(16,16,16,0), rgba(16,16,16,0.7)),
    url("../img/interior-barbershop.svg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.story-copy {
  padding: 10px 0;
}

.story-copy h2 {
  margin: 8px 0 18px;
  font-size: clamp(30px, 4vw, 52px);
}

.story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.list span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #3a3028;
}

.list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.gallery-item {
  display: grid;
  place-items: end start;
  min-height: 230px;
  border-radius: var(--radius);
  background: #2a2119;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 18px;
  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 474px;
}

.gallery-item span {
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.62);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.g1 { background-image: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url("../img/gallery-1.svg"); }
.g2 { background-image: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url("../img/gallery-2.svg"); }
.g3 { background-image: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url("../img/gallery-3.svg"); }
.g4 { background-image: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url("../img/gallery-4.svg"); }
.g5 { background-image: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url("../img/gallery-5.svg"); }

.booking-shell {
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.service-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  min-height: 96px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 14px;
}

.service-option strong {
  font-weight: 600;
}

.service-option small {
  align-self: end;
  color: var(--ink);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dde1e6;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.booking-shell h2 {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 20px;
}

.booking-shell h2:not(:first-child) {
  margin-top: 28px;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: #3f4652;
  font-size: 14px;
}

.terms-row input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
}

.center {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.schedule {
  display: grid;
  gap: 12px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.footer {
  background: var(--black);
  color: white;
  padding: 42px 22px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  background: var(--black);
  color: white;
  padding: 78px 22px;
}

.page-hero .container {
  display: grid;
  gap: 14px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-proof,
  .cards,
  .split,
  .gallery-grid,
  .booking-grid,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .gallery-item.large,
  .gallery-item {
    min-height: 260px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand-lockup span {
    display: none;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .section {
    padding: 50px 18px;
  }

  .booking-shell {
    padding: 18px;
  }
}
