/* === Design Tokens === */
:root {
  --color-bg:           oklch(11% 0.015 255);
  --color-surface:      oklch(16% 0.02  255);
  --color-surface-hi:   oklch(20% 0.02  255);
  --color-text:         oklch(92% 0.008  80);
  --color-text-muted:   oklch(62% 0.008  80);
  --color-text-faint:   oklch(42% 0.005  80);
  --color-red:          oklch(52% 0.22   25);
  --color-red-hover:    oklch(58% 0.22   25);
  --color-gold:         oklch(74% 0.14   85);
  --color-border:       oklch(100% 0 0 / 0.07);
  --color-border-hi:    oklch(100% 0 0 / 0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:   clamp(0.75rem,  0.72rem + 0.12vw, 0.813rem);
  --text-sm:   clamp(0.875rem, 0.85rem + 0.10vw, 0.938rem);
  --text-base: clamp(1rem,     0.96rem + 0.18vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.20vw, 2.25rem);
  --text-hero: clamp(3rem,     2rem    + 5.00vw, 6.5rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: clamp(4rem, 3rem + 5vw, 8rem);

  --radius-sm: 4px;
  --radius-md: 8px;

  --max-w: 1120px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-norm: 300ms;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === Container === */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1rem;
  transition: box-shadow var(--dur-norm) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px oklch(0% 0 0 / 0.45);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Barber pole stripe */
.pole-icon {
  display: inline-block;
  width: 9px;
  height: 30px;
  border-radius: 4px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    180deg,
    #cc2020 0px,  #cc2020 5px,
    #ffffff 5px,  #ffffff 10px,
    #1a4fa3 10px, #1a4fa3 15px,
    #ffffff 15px, #ffffff 20px
  );
}

.nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-red);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast);
}
.nav-cta:hover { color: var(--color-red-hover); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Atmospheric background — swap for a real shop photo by replacing this block */
.hero-canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 55%, oklch(20% 0.04 255) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 30%, oklch(17% 0.03 15) 0%, transparent 70%),
    linear-gradient(150deg, oklch(9% 0.01 255) 0%, oklch(13% 0.025 255) 100%);
}

/* Subtle diagonal stripe texture */
.hero-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -48deg,
    transparent       0px,
    transparent       70px,
    oklch(100% 0 0 / 0.015) 70px,
    oklch(100% 0 0 / 0.015) 72px
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    oklch(9% 0.01 255 / 0.92) 0%,
    oklch(9% 0.01 255 / 0.55) 55%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-xl);
  max-width: 680px;
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.hero h1 em {
  color: var(--color-red);
  font-style: normal;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: calc(var(--space-md) * 1.5);
  max-width: 430px;
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition:
    background var(--dur-fast),
    transform   var(--dur-fast),
    box-shadow  var(--dur-fast);
}
.btn-primary:hover {
  background: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-red) / 0.35;
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--color-border-hi);
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition:
    border-color var(--dur-fast),
    background   var(--dur-fast);
}
.btn-outline:hover {
  border-color: oklch(100% 0 0 / 0.4);
  background: oklch(100% 0 0 / 0.04);
}

/* === Services === */
.services {
  padding-block: var(--space-xl);
  background: var(--color-surface);
}

.services h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--color-surface-hi);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  transition:
    border-color var(--dur-norm) var(--ease-out),
    transform    var(--dur-norm) var(--ease-out);
}
.service-card:hover {
  border-color: var(--color-border-hi);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* === Gallery / Carousel === */
.gallery {
  padding-top: var(--space-xl);
  padding-bottom: 0;
  background: var(--color-bg);
}

.gallery-header {
  margin-bottom: var(--space-md);
}

.gallery h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--color-surface);
  user-select: none;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.carousel-slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.25rem;
  background: linear-gradient(to top, oklch(0% 0 0 / 0.7) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: oklch(0% 0 0 / 0.45);
  border: 1px solid oklch(100% 0 0 / 0.15);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-fast),
    border-color var(--dur-fast),
    transform var(--dur-fast);
  z-index: 10;
  backdrop-filter: blur(6px);
}
.carousel-btn:hover {
  background: oklch(0% 0 0 / 0.7);
  border-color: oklch(100% 0 0 / 0.35);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.93); }

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: oklch(100% 0 0 / 0.4);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.dot.active {
  background: #fff;
  transform: scale(1.35);
}

@media (max-width: 640px) {
  .carousel { aspect-ratio: 4 / 3; }
  .carousel-btn { width: 2.25rem; height: 2.25rem; font-size: 1.4rem; }
  .carousel-slide figcaption { font-size: var(--text-base); }
}

/* === Hours + Location === */
.info {
  padding-block: var(--space-xl);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.info h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

/* Accent line under headings */
.info h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
  margin-top: 0.75rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.hours-table td:first-child {
  color: var(--color-text-muted);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}
.hours-table tr.closed td {
  color: var(--color-text-faint);
}

.address-line {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.phone-link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: var(--space-md);
  transition: color var(--dur-fast);
}
.phone-link:hover { color: var(--color-red-hover); }

/* === Footer === */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-lg);
  text-align: center;
}

.footer-pole {
  display: inline-block;
  width: 9px;
  height: 40px;
  border-radius: 4px;
  margin-bottom: var(--space-md);
  background: repeating-linear-gradient(
    180deg,
    #cc2020 0px,  #cc2020 6px,
    #ffffff 6px,  #ffffff 12px,
    #1a4fa3 12px, #1a4fa3 18px,
    #ffffff 18px, #ffffff 24px
  );
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.site-footer p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: 0.375rem;
}

.site-footer a {
  color: var(--color-red);
  transition: color var(--dur-fast);
}
.site-footer a:hover { color: var(--color-red-hover); }

.footer-copy {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero { min-height: 85vh; }
  .info-grid { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; justify-content: center; }
}

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