:root {
  --bg: #111111;
  --panel: #181615;
  --panel-alt: #201a17;
  --cream: #f5e6c8;
  --paper: #efe3ca;
  --red: #8b0000;
  --red-soft: #b1261a;
  --gold: #b48a53;
  --line: rgba(245, 230, 200, 0.18);
  --line-strong: rgba(245, 230, 200, 0.38);
  --text-dark: #241c16;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --content-width: min(1380px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(177, 38, 26, 0.1), transparent 32%),
    linear-gradient(180deg, #0c0b0b 0%, #111111 100%);
  color: var(--cream);
  font-family: 'Roboto Condensed', sans-serif;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-frame {
  position: fixed;
  inset: 14px;
  border: 1px solid rgba(245, 230, 200, 0.12);
  pointer-events: none;
  z-index: 0;
}

.section-shell,
.site-header,
.hero-section,
.gallery-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.brand-kicker,
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-name {
  font-family: 'Slabo 27px', serif;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  line-height: 0.95;
  color: var(--cream);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.82rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta,
.btn-primary {
  background: var(--red);
  color: var(--cream);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--red-soft);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--cream);
  color: var(--cream);
  background: transparent;
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--text-dark);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  width: var(--content-width);
  margin: 0 auto;
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.78fr);
  align-items: end;
  gap: 34px;
  padding: 42px 0 54px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.52), rgba(17, 17, 17, 0.82)),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1800&q=80') center/cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.98) 0%, rgba(17, 17, 17, 0.78) 10%, rgba(17, 17, 17, 0.42) 22%, rgba(17, 17, 17, 0.12) 38%, rgba(17, 17, 17, 0) 60%),
    linear-gradient(270deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.28) 13%, rgba(17, 17, 17, 0) 28%),
    linear-gradient(180deg, rgba(139, 0, 0, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(17, 17, 17, 0) 72%, rgba(17, 17, 17, 0.9) 100%);
}

.hero-lines {
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 180px;
  border-top: 2px solid rgba(245, 230, 200, 0.3);
  border-bottom: 2px solid rgba(245, 230, 200, 0.3);
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  inset: 18px 0;
  border-top: 0;
  border-bottom: 0;
}

.hero-lines-left {
  left: -44px;
}

.hero-lines-right {
  right: -44px;
}

.hero-content {
  position: relative;
  padding: 36px 0 24px;
  max-width: 780px;
}

.hero-content h1,
.section-heading h2,
.cta-section h2,
.site-footer h2 {
  margin: 10px 0 0;
  font-family: 'Slabo 27px', serif;
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-marquee {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 230, 200, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.8rem;
}

.hero-marquee span {
  position: relative;
  padding-left: 18px;
}

.hero-marquee span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--red-soft);
}

.hero-panel {
  position: relative;
  padding: 26px;
  background: linear-gradient(180deg, rgba(24, 22, 21, 0.82), rgba(11, 10, 10, 0.86));
  border: 1px solid rgba(245, 230, 200, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1.5px);
  align-self: stretch;
  margin-left: 0;
  margin-right: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-panel::before,
.hero-panel::after,
.service-card::before,
.service-card::after,
.pricing-table::before,
.pricing-table::after,
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
}

.hero-panel::before,
.service-card::before,
.pricing-table::before,
.cta-section::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.hero-panel::after,
.service-card::after,
.pricing-table::after,
.cta-section::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 2px 2px 0;
}

.hero-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.82rem;
}

.hero-panel-feature {
  position: relative;
  margin-top: 24px;
  margin-bottom: 28px;
  min-height: 246px;
  overflow: hidden;
}

.hero-feature-card {
  position: absolute;
  inset: 0 0 32px;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition: opacity 480ms ease, filter 480ms ease, transform 480ms ease;
  pointer-events: none;
}

.hero-feature-card.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-panel-lead {
  margin: 0;
  color: rgba(245, 230, 200, 0.86);
  line-height: 1.65;
  font-size: 1rem;
}

.hero-panel-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-panel-band span {
  padding: 8px 10px;
  border: 1px solid rgba(180, 138, 83, 0.36);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.72rem;
}

.hero-panel-feature blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid rgba(177, 38, 26, 0.72);
  color: rgba(245, 230, 200, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.barber-pole {
  width: 34px;
  height: 96px;
  border: 2px solid var(--cream);
  overflow: hidden;
  position: relative;
}

.barber-pole span {
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(
    135deg,
    var(--red-soft) 0 18px,
    var(--cream) 18px 36px,
    #284f84 36px 54px,
    var(--cream) 54px 72px
  );
  animation: poleMove 5s linear infinite;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.hero-panel-grid article {
  padding: 16px;
  border: 1px solid rgba(245, 230, 200, 0.14);
  background: rgba(245, 230, 200, 0.08);
}

.hero-panel-grid strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.06rem;
  color: var(--cream);
}

.hero-panel-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 230, 200, 0.76);
  line-height: 1.45;
}

.section-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 72px 0;
}

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

.section-heading h2 {
  font-size: clamp(2.7rem, 4.2vw, 5rem);
  max-width: 980px;
}

.services-section .section-heading h2 {
  margin-left: auto;
  text-align: right;
}

.pricing-section .section-heading h2 {
  margin-left: auto;
  text-align: right;
}

.section-heading-split {
  align-items: end;
}

.section-heading-split h2 {
  max-width: 760px;
}

.section-heading-split .eyebrow {
  align-self: end;
  padding-top: 0;
  padding-bottom: 12px;
  text-align: right;
}

.gallery-video-overlay strong {
  max-width: 980px;
  font-family: 'Slabo 27px', serif;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 4.2vw, 5rem);
  line-height: 0.92;
}

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

.service-card {
  position: relative;
  min-height: 280px;
  padding: 24px 24px 26px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(24, 22, 21, 0.96), rgba(11, 10, 10, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-soft);
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.18), rgba(11, 10, 10, 0.96));
}

.service-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.18rem;
}

.service-card h3,
.barber-meta h3 {
  margin: 0;
  font-family: 'Slabo 27px', serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.service-card p {
  margin: 16px 0 0;
  color: rgba(245, 230, 200, 0.76);
  line-height: 1.55;
}

.service-card strong {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--cream);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

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

.barber-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(245, 230, 200, 0.12);
  background: #0d0c0b;
}

.barber-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.18) contrast(1.05);
  transition: transform 250ms ease;
}

.barber-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(17, 17, 17, 0.2) 48%, rgba(17, 17, 17, 0.94) 100%);
}

.barber-meta,
.barber-reveal {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.barber-meta {
  bottom: 0;
  padding: 24px;
}

.barber-role {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.75rem;
  color: var(--gold);
}

.barber-reveal {
  bottom: 0;
  min-height: 42%;
  transform: translateY(100%);
  background: rgba(139, 0, 0, 0.92);
  padding: 24px;
  transition: transform 220ms ease;
}

.barber-reveal p {
  margin: 0;
  line-height: 1.65;
}

.barber-card:hover .barber-media,
.barber-card:focus-within .barber-media {
  transform: scale(1.08);
}

.barber-card:hover .barber-reveal,
.barber-card:focus-within .barber-reveal {
  transform: translateY(0);
}

.gallery-section {
  padding: 0 0 52px;
  background: linear-gradient(180deg, var(--panel) 0%, #0f0d0c 100%);
}

.gallery-video {
  width: 100%;
  height: clamp(380px, 42vw, 560px);
  position: relative;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}

.gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.84) contrast(1.04) brightness(0.62);
}

.gallery-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.18) 55%, rgba(17, 17, 17, 0.64) 100%);
}

.gallery-video-overlay {
  position: absolute;
  left: max(24px, calc((100vw - var(--content-width)) / 2));
  right: max(24px, calc((100vw - var(--content-width)) / 2));
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.gallery-video-overlay span {
  text-transform: uppercase;
  letter-spacing: 0.24rem;
  color: var(--gold);
  font-size: 0.78rem;
}

.gallery-collage {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.8fr;
  grid-template-rows: 290px 290px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 230, 200, 0.18);
}

.gallery-item.wide {
  grid-row: span 2;
}

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

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
}

.gallery-item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.78rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.pricing-table {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, rgba(24, 22, 21, 0.96), rgba(11, 10, 10, 0.98));
  border: 1px solid rgba(245, 230, 200, 0.18);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 8px;
  border-bottom: 1px solid rgba(245, 230, 200, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row span:first-child,
.pricing-row strong {
  color: var(--cream);
}

.pricing-row span:nth-child(2) {
  color: rgba(245, 230, 200, 0.65);
}

.cta-section {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(245, 230, 200, 0.2);
  background:
    linear-gradient(135deg, rgba(139, 0, 0, 0.22), rgba(17, 17, 17, 0.86)),
    url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.cta-section h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
}

.cta-section p {
  max-width: 660px;
  line-height: 1.65;
  color: rgba(245, 230, 200, 0.84);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 90px;
  border-top: 1px solid rgba(245, 230, 200, 0.12);
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.footer-block li,
.footer-block p {
  color: rgba(245, 230, 200, 0.82);
  line-height: 1.7;
  margin: 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 20;
}

.booking-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(4px);
}

.booking-dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: none;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(180deg, rgba(24, 22, 21, 0.98), rgba(9, 9, 9, 0.98));
  border: 1px solid rgba(245, 230, 200, 0.18);
  box-shadow: var(--shadow);
}

.booking-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.booking-dialog-head h2 {
  margin: 8px 0 0;
  font-family: 'Slabo 27px', serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.booking-close {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 230, 200, 0.2);
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.booking-close span {
  position: absolute;
  top: 24px;
  left: 14px;
  width: 24px;
  height: 2px;
  background: var(--cream);
}

.booking-close span:first-child { transform: rotate(45deg); }
.booking-close span:last-child { transform: rotate(-45deg); }

.booking-form {
  display: grid;
  gap: 14px;
}

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

.booking-grid-compact {
  grid-template-columns: 1fr 0.8fr;
}

.booking-form label {
  display: grid;
  gap: 8px;
}

.booking-form label span,
.booking-slot-head span {
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.74rem;
  color: var(--gold);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 230, 200, 0.18);
  background: rgba(245, 230, 200, 0.04);
  color: var(--cream);
  outline: none;
}

.booking-form textarea {
  min-height: 90px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--gold);
}

.booking-slot-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(245, 230, 200, 0.12);
  background: rgba(245, 230, 200, 0.02);
}

.booking-slot-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-slot-head strong,
.booking-summary {
  color: rgba(245, 230, 200, 0.82);
}

.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-slot {
  min-width: 86px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(245, 230, 200, 0.18);
  background: transparent;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.booking-slot:hover,
.booking-slot.is-active {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.booking-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.booking-summary {
  padding: 12px 14px;
  border: 1px solid rgba(245, 230, 200, 0.12);
  background: rgba(245, 230, 200, 0.03);
}

@media (max-width: 820px) {
  .booking-modal {
    padding: 12px;
  }

  .booking-dialog {
    max-height: min(88vh, 980px);
    overflow: auto;
    padding: 18px;
  }

  .booking-grid,
  .booking-grid-compact {
    grid-template-columns: 1fr;
  }

  .booking-dialog-head {
    align-items: center;
  }

  .booking-dialog-head h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .booking-slot {
    min-width: calc(50% - 5px);
  }

  .booking-footer {
    align-items: stretch;
  }

  .booking-footer .btn {
    width: 100%;
  }
}

@keyframes poleMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(25%);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .site-nav {
    gap: 14px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 620px;
    margin-left: 0;
    margin-right: 0;
  }

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

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

  .gallery-item.wide,
  .gallery-item.tall {
    grid-row: auto;
  }

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

@media (max-width: 820px) {
  :root {
    --content-width: min(100vw - 28px, 100vw - 28px);
  }

  .page-frame {
    inset: 8px;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
    padding-top: 18px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

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

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
    padding: 14px;
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(245, 230, 200, 0.14);
  }

  .site-nav.is-open a {
    padding: 8px 0;
  }

  .hero-section {
    width: 100%;
    padding: 24px 14px 36px;
    margin-top: 4px;
  }

  .hero-lines {
    display: none;
  }

  .hero-content {
    padding-top: 16px;
  }

  .hero-content h1,
  .section-heading h2,
  .cta-section h2,
  .site-footer h2 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .hero-actions,
  .hero-marquee {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel-feature {
    min-height: 278px;
    margin-bottom: 22px;
  }

  .hero-feature-card {
    inset: 0 0 42px;
  }

  .hero-panel-grid,
  .services-grid,
  .barbers-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .gallery-section,
  .site-footer {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .services-section .section-heading h2,
  .pricing-section .section-heading h2,
  .section-heading-split h2 {
    margin-left: 0;
    text-align: left;
  }

  .section-heading-split .eyebrow {
    padding-top: 0;
    text-align: left;
    order: -1;
  }

  .gallery-section .section-heading h2 {
    margin-left: 0;
    text-align: left;
  }

  .gallery-section .section-heading .eyebrow {
    padding-top: 0;
  }

  .gallery-video {
    height: 320px;
  }

  .gallery-video-overlay {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-section {
    padding: 26px 22px;
  }
}
