:root {
  --ink: #10100f;
  --obsidian: #071914;
  --green-deep: #081d17;
  --green-soft: #19372d;
  --green-glow: #31473c;
  --ivory: #f7f2e9;
  --bone: #ebe3d6;
  --sand: #cbbda7;
  --sage: #6f7b66;
  --forest: #06241c;
  --moss: #173a2f;
  --stone: #77736a;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 10, 9, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.18em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 16, 15, 0.1);
  background: rgba(247, 242, 233, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  color: var(--stone);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--stone);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 16, 15, 0.15);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.dark {
  background: var(--forest);
  color: var(--ivory);
}

.button.dark:hover {
  background: var(--moss);
}

.button.light {
  background: var(--ivory);
  color: var(--ink);
}

.button.light:hover {
  background: var(--sand);
}

.button.outline-light {
  border-color: rgba(247, 242, 233, 0.35);
  color: var(--ivory);
}

.button.outline-light:hover {
  border-color: var(--ivory);
  background: rgba(247, 242, 233, 0.1);
}

.button.outline-dark {
  border-color: rgba(16, 16, 15, 0.15);
  color: var(--ink);
}

.button.outline-dark:hover {
  border-color: var(--ink);
  background: rgba(16, 16, 15, 0.05);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 18%, rgba(235, 227, 214, 0.13), transparent 20%),
    radial-gradient(circle at 18% 0%, rgba(49, 71, 60, 0.58), transparent 32%),
    linear-gradient(145deg, var(--green-soft) 0%, var(--green-deep) 46%, #06140f 100%);
  color: var(--ivory);
}

.hero {
  min-height: calc(100svh - 72px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 29, 23, 0.7),
    rgba(8, 29, 23, 0.66),
    rgba(6, 20, 15, 0.94)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100svh - 72px);
  flex-direction: column;
  justify-content: center;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow {
  color: var(--sand);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy,
.page-copy {
  max-width: 680px;
  color: var(--bone);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: 88px 0;
}

.section-bone {
  background: var(--bone);
}

.section-dark {
  background:
    radial-gradient(circle at 80% 12%, rgba(203, 189, 167, 0.1), transparent 24%),
    linear-gradient(145deg, var(--green-soft), var(--green-deep) 48%, #06140f);
  color: var(--ivory);
}

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

.section-heading h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-dark .section-heading h2 {
  color: var(--ivory);
}

.section-heading p {
  color: var(--stone);
  font-size: 17px;
  line-height: 1.7;
}

.section-dark .section-heading p {
  color: var(--bone);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

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

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

.card,
.service-card,
.barber-card,
.policy-panel,
.location-panel {
  border: 1px solid rgba(16, 16, 15, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 30px;
  background:
    radial-gradient(circle at 86% 14%, rgba(203, 189, 167, 0.16), transparent 24%),
    linear-gradient(145deg, #ffffff 0%, #fbfaf7 56%, #f1ece2 100%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover,
.service-card:hover {
  border-color: rgba(23, 58, 47, 0.3);
  box-shadow: 0 28px 80px rgba(7, 25, 20, 0.16);
  transform: translateY(-3px);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 40% 18%, rgba(235, 227, 214, 0.18), transparent 34%),
    var(--forest);
  color: var(--ivory);
  box-shadow: 0 16px 30px rgba(6, 36, 28, 0.22);
}

.icon-box img {
  width: 28px;
  height: 28px;
}

.card h3,
.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0;
}

.card p,
.service-card p,
.barber-card p {
  color: var(--stone);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

.service-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.section-dark .service-card {
  border-color: rgba(247, 242, 233, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.section-dark .service-card p {
  color: var(--bone);
}

.service-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.price {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--forest);
  color: var(--ivory);
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 800;
}

.section-dark .price {
  background: var(--ivory);
  color: var(--ink);
}

.duration {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 16, 15, 0.1);
  color: var(--moss);
  font-size: 14px;
  font-weight: 800;
}

.section-dark .duration {
  border-color: rgba(247, 242, 233, 0.1);
  color: var(--sand);
}

.service-card .button {
  width: 100%;
  margin-top: 24px;
}

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

.barber-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
}

.barber-image {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 40% 20%, rgba(203, 189, 167, 0.28), transparent 30%),
    linear-gradient(135deg, var(--green-soft), var(--green-deep));
  color: var(--ivory);
}

.barber-image span {
  font-size: 72px;
}

.barber-body {
  padding: 28px;
}

.role {
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.barber-body h3 {
  margin: 12px 0 16px;
  font-size: 34px;
  letter-spacing: 0;
}

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

.gallery-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 15, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(235, 227, 214, 0.24), transparent 28%),
    linear-gradient(140deg, var(--green-deep), var(--forest) 55%, var(--sand));
  box-shadow: var(--shadow);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 29, 23, 0.9), transparent 70%);
}

.gallery-item:nth-child(3n + 1) {
  min-height: 250px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  z-index: 1;
  padding: 22px;
  color: var(--ivory);
}

.gallery-caption p {
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-caption h3 {
  margin: 0;
  font-size: 22px;
}

.location-panel {
  overflow: hidden;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.location-dark {
  background:
    radial-gradient(circle at 44% 14%, rgba(235, 227, 214, 0.12), transparent 22%),
    linear-gradient(145deg, var(--green-soft), var(--green-deep));
  color: var(--ivory);
  padding: 32px;
}

.location-dark h2 {
  margin: 16px 0;
  font-size: 34px;
}

.location-dark p {
  color: var(--bone);
  line-height: 1.7;
}

.note {
  margin-top: 20px;
  border: 1px solid rgba(247, 242, 233, 0.15);
  border-radius: 6px;
  background: rgba(247, 242, 233, 0.08);
  padding: 14px;
}

.location-body {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--stone);
}

.contact-list span {
  color: var(--moss);
  font-weight: 800;
}

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

.policy-panel {
  padding: 32px;
}

.policy-panel h2 {
  margin-bottom: 20px;
  font-size: 34px;
}

.policy-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--stone);
  list-style: none;
}

.policy-list li {
  border-bottom: 1px solid rgba(16, 16, 15, 0.1);
  padding: 15px 0;
}

.policy-list li:last-child {
  border-bottom: 0;
}

.about-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(16, 16, 15, 0.1);
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
}

.about-panel p {
  color: var(--stone);
  font-size: 18px;
  line-height: 1.8;
}

.page-hero {
  padding: 72px 0;
}

.page-hero .container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 64px);
}

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(49, 71, 60, 0.42), transparent 26%),
    linear-gradient(145deg, var(--green-deep), #06140f);
  color: var(--ivory);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-copy,
.footer-grid p,
.footer-grid a {
  color: var(--bone);
  line-height: 1.7;
}

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

.footer-links h3 {
  color: var(--sand);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links nav {
  display: grid;
  gap: 8px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(16, 16, 15, 0.1);
    background: var(--ivory);
    padding: 18px 16px;
  }

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

  .nav a {
    padding: 14px 0;
  }

  .header-actions > .button {
    display: none;
  }

  .split,
  .location-grid,
  .page-hero .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .page-hero .container {
    align-items: start;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 68px);
  }

  .hero-content,
  .section,
  .page-hero {
    padding: 64px 0;
  }

  .button-row,
  .contact-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .highlight-grid,
  .service-grid,
  .service-grid.two,
  .barber-grid,
  .gallery-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .barber-card {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(3n + 1) {
    min-height: 260px;
  }
}
