:root {
  --black: #050505;
  --charcoal: #141414;
  --ink: #1f1f1f;
  --white: #ffffff;
  --paper: #f7f3f5;
  --pink: #f45fbe;
  --hot-pink: #ff2aa9;
  --soft-pink: #ffd4ee;
  --steel: #80878f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

section {
  scroll-margin-top: 86px;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.brand {
  width: 62px;
  height: 62px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 38px);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.book-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--pink);
  background: var(--pink);
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.book-link:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.84), rgba(5, 5, 5, 0.44) 45%, rgba(5, 5, 5, 0.08)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.84), rgba(5, 5, 5, 0.04) 44%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 86px;
}

.eyebrow,
.section-kicker {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 8.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.review-links .button.ghost.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.review-links .button.ghost.dark:hover {
  color: var(--black);
  border-color: var(--white);
  background: var(--white);
}

.button.ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
}

.button.ghost:hover {
  background: var(--white);
  color: var(--black);
}

.button.ghost.dark {
  color: var(--black);
  border-color: var(--black);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 46px);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.about-section > *:not(.thorn),
.portfolio-section > *:not(.thorn) {
  position: relative;
  z-index: 1;
}

.thorn {
  position: absolute;
  z-index: 0;
  width: min(42vw, 520px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(circle at 50% 50%, transparent 51%, var(--black) 52% 54%, transparent 55%),
    conic-gradient(from 2deg,
      transparent 0deg 10deg,
      var(--black) 10deg 13deg,
      transparent 13deg 31deg,
      var(--pink) 31deg 35deg,
      transparent 35deg 55deg,
      var(--black) 55deg 58deg,
      transparent 58deg 86deg,
      var(--black) 86deg 89deg,
      transparent 89deg 118deg,
      var(--pink) 118deg 122deg,
      transparent 122deg 151deg,
      var(--black) 151deg 154deg,
      transparent 154deg 184deg,
      var(--black) 184deg 187deg,
      transparent 187deg 214deg,
      var(--pink) 214deg 218deg,
      transparent 218deg 250deg,
      var(--black) 250deg 253deg,
      transparent 253deg 285deg,
      var(--black) 285deg 288deg,
      transparent 288deg 318deg,
      var(--pink) 318deg 322deg,
      transparent 322deg 360deg);
  border-radius: 50%;
  mask: radial-gradient(circle at 50% 50%, transparent 45%, #000 46% 57%, transparent 58%);
}

.thorn::before,
.thorn::after {
  position: absolute;
  content: "";
  width: 16%;
  height: 34%;
  background: var(--black);
  clip-path: polygon(50% 0, 100% 100%, 50% 74%, 0 100%);
  opacity: 0.88;
}

.thorn-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  margin-top: 34px;
}

.thorn-divider::before,
.thorn-divider::after {
  display: block;
  content: "";
}

.thorn-divider::before {
  flex: 1;
  height: 3px;
  background: var(--black);
}

.thorn-divider::after {
  width: 94px;
  height: 28px;
  background:
    linear-gradient(90deg, transparent 0 6px, var(--pink) 6px 88px, transparent 88px),
    linear-gradient(135deg, transparent 0 37%, var(--black) 38% 46%, transparent 47%),
    linear-gradient(45deg, transparent 0 38%, var(--black) 39% 47%, transparent 48%);
  clip-path: polygon(0 46%, 18% 46%, 24% 0, 33% 46%, 63% 46%, 72% 0, 80% 46%, 100% 46%, 100% 56%, 80% 56%, 72% 100%, 63% 56%, 33% 56%, 24% 100%, 18% 56%, 0 56%);
}

.portfolio-divider {
  margin-top: 28px;
  margin-left: 0;
}

.thorn::before {
  top: -3%;
  left: 42%;
  transform: rotate(18deg);
}

.thorn::after {
  right: -2%;
  bottom: 26%;
  transform: rotate(100deg);
}

.thorn-about {
  top: 28px;
  right: max(-180px, -10vw);
  transform: rotate(-18deg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin-top: 18px;
}

.section h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  letter-spacing: 0;
}

.about-copy {
  color: #343434;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.about-copy p {
  margin: 0 0 18px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.info-strip div {
  min-height: 138px;
  padding: 24px;
  border-right: 2px solid var(--black);
}

.info-strip div:last-child {
  border-right: 0;
}

.info-strip span {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
  color: var(--hot-pink);
  text-transform: uppercase;
}

.info-strip .stars {
  color: var(--hot-pink);
  font-size: clamp(1.55rem, 3.2vw, 2.95rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.info-strip p {
  margin: 10px 0 0;
  font-weight: 800;
}

.barbers-section,
.reviews-section {
  background: var(--black);
  color: var(--white);
}

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

.text-link {
  position: relative;
  flex: 0 0 auto;
  padding-bottom: 7px;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.barber-card {
  display: grid;
  grid-template-rows: minmax(360px, 46vw) auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--charcoal);
}

.barber-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

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

.barber-card h3 {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.barber-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.team-story {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(244, 95, 190, 0.38);
  background: #101010;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.team-story p {
  max-width: 880px;
  margin: 0 0 18px;
}

.team-story p:last-child {
  margin-bottom: 0;
}

.portfolio-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.thorn-portfolio {
  left: max(-180px, -9vw);
  bottom: 24px;
  transform: rotate(25deg);
  opacity: 0.1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--black);
  cursor: pointer;
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item.tall {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.portfolio-item:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.reviews-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.reviews-section > * {
  max-width: none;
}

.reviews-intro {
  margin-left: max(18px, calc((100vw - var(--max)) / 2));
}

.reviews-intro h2 {
  margin: 10px 0 18px;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
}

.reviews-intro p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.review-grid {
  display: grid;
  gap: 14px;
  margin-right: max(18px, calc((100vw - var(--max)) / 2));
}

.review-card {
  padding: 24px;
  border: 1px solid rgba(244, 95, 190, 0.36);
  background: #101010;
}

.review-card p {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 750;
}

.review-card span {
  display: block;
  margin-top: 18px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 46px);
  color: var(--black);
  background: var(--pink);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 850;
}

.footer-details a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 76px 18px 28px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: calc(100vh - 120px);
  width: auto;
  border: 2px solid var(--white);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--pink);
  background: var(--pink);
  color: var(--black);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

@media (max-width: 940px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    position: sticky;
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    gap: 14px;
    background: rgba(5, 5, 5, 0.96);
  }

  .desktop-nav,
  .book-link {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .mobile-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 18px 22px;
    background: rgba(5, 5, 5, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 15px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-booking-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 2px solid var(--black);
    background: var(--pink);
    color: var(--black);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    font-size: 0.9rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-booking-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .about-grid,
  .reviews-section {
    grid-template-columns: 1fr;
  }

  .reviews-intro,
  .review-grid {
    margin-left: auto;
    margin-right: auto;
    width: min(var(--max), calc(100% - 36px));
  }

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

  .barber-card {
    grid-template-columns: minmax(220px, 0.8fr) 1fr;
    grid-template-rows: auto;
  }

  .barber-card img {
    min-height: 300px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  section {
    scroll-margin-top: 76px;
  }

  .brand {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.38), rgba(5, 5, 5, 0.9)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.54), rgba(5, 5, 5, 0.22));
  }

  .hero-content {
    padding-bottom: 54px;
  }

  .hero h1,
  .section h2 {
    line-height: 0.96;
  }

  .hero h1 {
    font-size: clamp(3rem, 13.8vw, 4.1rem);
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .thorn {
    width: 300px;
    opacity: 0.08;
  }

  .thorn-about {
    top: 70px;
    right: -170px;
  }

  .thorn-portfolio {
    left: -190px;
    bottom: 120px;
  }

  .section h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

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

  .info-strip div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .info-strip div:last-child {
    border-bottom: 0;
  }

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

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

  .barber-card img {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .portfolio-grid {
    display: block;
  }

  .portfolio-item {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    aspect-ratio: 1 / 1;
  }

  .portfolio-item.tall {
    aspect-ratio: 4 / 5;
  }

  .review-links,
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-details {
    justify-content: flex-start;
  }
}
