:root {
  --ink: #100f0d;
  --ink-soft: #1a1815;
  --paper: #efe6d6;
  --paper-deep: #d8c9ad;
  --cream: #fff7e9;
  --red: #a52b24;
  --red-bright: #c93a30;
  --red-dark: #741a17;
  --gold: #b9915a;
  --line: rgba(185, 145, 90, 0.42);
  --muted: #6d6255;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --header-height: 106px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.skip-link:focus {
  z-index: 50;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--ink);
  background: var(--cream);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4.5vw, 66px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(13, 12, 10, 0.92)),
    radial-gradient(circle at 25% 0%, rgba(185, 145, 90, 0.12), transparent 34%);
  border-bottom: 1px solid rgba(185, 145, 90, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-width: 260px;
  text-decoration: none;
}

.barber-pole,
.pole-mini {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 86px;
  border: 2px solid #c8bba2;
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      135deg,
      #f8f1df 0 10px,
      #b42a22 10px 20px,
      #f8f1df 20px 30px,
      #244e78 30px 40px
    );
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.8);
}

.barber-pole::before,
.barber-pole::after,
.pole-mini::before,
.pole-mini::after {
  position: absolute;
  left: 50%;
  width: 42px;
  height: 12px;
  content: "";
  transform: translateX(-50%);
  border: 2px solid #c8bba2;
  border-radius: 50%;
  background: linear-gradient(#665a47, #1f1d19);
}

.barber-pole::before,
.pole-mini::before {
  top: -10px;
}

.barber-pole::after,
.pole-mini::after {
  bottom: -10px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-script {
  color: #eee2ca;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.8;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.brand-subtitle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--red-bright);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subtitle span {
  width: 42px;
  height: 3px;
  background: var(--red-bright);
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2.35vw, 36px);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #f3ead9;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red-bright);
  transition: transform 180ms ease;
}

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

.site-nav .is-active {
  color: var(--red-bright);
}

.phone-button,
.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.phone-button,
.primary-button {
  color: var(--white);
  background: linear-gradient(180deg, #c4483c, #95271f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 26px rgba(0, 0, 0, 0.22);
}

.phone-button {
  gap: 12px;
  min-width: 210px;
  font-size: 1.25rem;
}

.phone-button svg,
.primary-button svg {
  width: 22px;
  height: 22px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  border-bottom: 2px solid var(--cream);
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("../images/barbershop-interior.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  filter: saturate(0.9) contrast(1.12);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.88) 29%, rgba(0, 0, 0, 0.38) 58%, rgba(0, 0, 0, 0.54) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 67% 45%, rgba(185, 145, 90, 0.22), transparent 35%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(230px, 270px);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  width: min(100% - 40px, 1400px);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 clamp(40px, 6vw, 82px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--red-bright);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  color: #f6eddd;
  font-size: clamp(3.8rem, 6vw, 6.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.32);
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: var(--red);
}

.script-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 20px 0 10px;
  color: #f4e7cf;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.1;
}

.script-line span {
  width: 44px;
  height: 3px;
  background: var(--red-bright);
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: #f2eadf;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.primary-button {
  gap: 12px;
  min-width: 230px;
  font-size: 1.18rem;
}

.text-link {
  color: var(--cream);
  font-weight: 900;
  text-underline-offset: 5px;
}

.rating-card,
.testimonial-card {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    var(--paper);
  border: 1px solid rgba(78, 48, 28, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.rating-card {
  justify-self: end;
  width: min(100%, 270px);
  padding: 24px 20px 20px;
  text-align: center;
}

.rating-number {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.rating-number span,
.stars,
.reviewer span {
  color: #98231f;
}

.stars {
  margin-top: 11px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.rating-card p {
  margin: 8px 0 0;
  font-size: 1.05rem;
}

.rating-card hr {
  width: 100%;
  margin: 24px 0 14px;
  border: 0;
  border-top: 1px solid rgba(116, 26, 23, 0.6);
}

.rating-card .thanks {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rating-card .thanks span {
  color: var(--red);
  font-size: 1.55rem;
  vertical-align: middle;
}

.script-small {
  color: var(--ink);
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 1.9rem;
  line-height: 1;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent),
    var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  min-height: 150px;
  padding: 26px clamp(18px, 4vw, 68px);
}

.info-item + .info-item {
  border-left: 1px solid rgba(107, 82, 52, 0.34);
}

.info-icon {
  display: inline-grid;
  width: 48px;
  height: 56px;
  place-items: center;
  color: var(--red);
}

.info-icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.8;
}

.info-icon.solid svg {
  fill: var(--red);
  stroke: var(--red);
}

.pole-mini {
  width: 32px;
  height: 68px;
  margin-top: 4px;
}

.info-item h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.info-item p {
  margin: 0 0 5px;
  color: #1e1b18;
}

.info-item a,
.phone-inline {
  color: var(--red-dark);
  font-weight: 900;
  text-underline-offset: 3px;
}

.open {
  color: #17713d;
}

.section-inner {
  width: min(100% - 40px, 1400px);
  margin: 0 auto;
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 80px) 0 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0)),
    var(--ink-soft);
}

.about-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(239, 230, 214, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 230, 214, 0.3) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 24%, transparent);
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.about-copy h2,
.section-heading h2,
.gallery-grid h2,
.contact-grid h2 {
  margin: 0;
  color: #f5ead7;
  font-size: clamp(2.05rem, 3.5vw, 3.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy p:not(.section-kicker),
.gallery-grid p,
.contact-grid p {
  max-width: 570px;
  margin: 18px 0 0;
  color: #eee5d8;
  font-size: 1.1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 22px;
}

.feature-card {
  min-height: 170px;
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.17);
}

.feature-card svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  color: #f4e4c8;
  stroke-width: 1.5;
}

.feature-card h3,
.service-grid h3 {
  margin: 0;
  color: #f4ead9;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.feature-card p {
  margin: 9px 0 0;
  color: #efe6d8;
}

.photo-review {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  gap: 22px;
  align-items: end;
  margin-left: min(39vw, 420px);
  margin-top: -4px;
}

.photo-review img,
.gallery-images img {
  width: 100%;
  border: 3px solid var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-card {
  min-height: 170px;
  padding: 24px 34px 18px;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
}

.reviewer {
  margin: 12px 0 0;
  font-weight: 800;
}

.review-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
}

.review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfb6a6;
}

.review-dots .active {
  background: var(--red);
}

.services-section,
.gallery-section,
.contact-section {
  padding: clamp(58px, 7vw, 86px) 0;
}

.services-section {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    var(--paper);
}

.services-section .section-kicker,
.services-section .section-heading h2 {
  color: var(--red-dark);
}

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

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

.service-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(116, 26, 23, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.68);
  box-shadow: 0 16px 34px rgba(41, 30, 21, 0.08);
}

.service-grid h3 {
  color: var(--red-dark);
}

.service-grid p {
  margin: 12px 0 0;
  color: #302820;
}

.gallery-section {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.74)),
    var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-images img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-images img:first-child {
  min-height: 360px;
}

.contact-section {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.58), rgba(255, 253, 247, 0.2)),
    var(--paper-deep);
}

.contact-section .section-kicker,
.contact-section h2 {
  color: var(--red-dark);
}

.contact-section p {
  color: #2b231b;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.outline-button {
  color: var(--red-dark);
  border: 2px solid currentColor;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(90deg, #871d18, #b43127 50%, #7b1a16),
    var(--red-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  width: min(100% - 40px, 1400px);
  min-height: 104px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer-message {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-credit {
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-icon {
  display: inline-grid;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--white);
  font-size: 2.2rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.site-footer strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--white);
  text-underline-offset: 4px;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 94px;
  }

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

  .brand {
    min-width: auto;
  }

  .barber-pole {
    width: 28px;
    height: 72px;
  }

  .brand-script {
    font-size: 3.8rem;
  }

  .phone-button {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    color: var(--cream);
    border: 1px solid rgba(239, 230, 214, 0.42);
    border-radius: 8px;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 23px;
    height: 2px;
    margin: -10px 0;
    background: currentColor;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    padding-top: 8px;
  }

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

  .phone-button {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .rating-card {
    justify-self: start;
  }

  .quick-info,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-item:nth-child(odd) {
    border-left: 0;
  }

  .info-item:nth-child(n+3) {
    border-top: 1px solid rgba(107, 82, 52, 0.34);
  }

  .about-grid,
  .gallery-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .photo-review {
    margin-left: 0;
  }

  .footer-credit {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .barber-pole {
    width: 24px;
    height: 58px;
  }

  .barber-pole::before,
  .barber-pole::after,
  .pole-mini::before,
  .pole-mini::after {
    width: 34px;
    height: 10px;
  }

  .brand {
    gap: 12px;
  }

  .brand-script {
    font-size: 2.75rem;
  }

  .brand-subtitle {
    gap: 7px;
    font-size: 0.88rem;
  }

  .brand-subtitle span {
    width: 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.65)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.72));
  }

  .hero-content {
    width: min(100% - 30px, 1400px);
    min-height: calc(100svh - var(--header-height));
    padding: 44px 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13.4vw, 4rem);
  }

  .script-line {
    align-items: flex-start;
    font-size: 2rem;
  }

  .script-line span {
    width: 28px;
    margin-top: 20px;
  }

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

  .primary-button,
  .outline-button {
    width: 100%;
  }

  .rating-card {
    width: min(100%, 246px);
  }

  .quick-info,
  .feature-row,
  .service-grid,
  .photo-review,
  .gallery-images {
    grid-template-columns: 1fr;
  }

  .info-item {
    min-height: auto;
    padding: 22px 20px;
  }

  .info-item + .info-item {
    border-top: 1px solid rgba(107, 82, 52, 0.34);
    border-left: 0;
  }

  .section-inner {
    width: min(100% - 30px, 1400px);
  }

  .section-heading {
    display: block;
  }

  .photo-review {
    gap: 16px;
  }

  .testimonial-card {
    padding: 22px 20px 16px;
  }

  .gallery-images img,
  .gallery-images img:first-child {
    min-height: 230px;
  }

  .footer-message,
  .footer-credit {
    align-items: flex-start;
  }

  .footer-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
