/* =========================================================
   JCUTZZ — Birmingham Barber
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --ink:        #15120E;
  --ink-soft:   #1F1A14;
  --charcoal:   #241E17;
  --paper:      #EFE6D1;
  --paper-dim:  #E4D9BE;
  --gold:       #B08D2B;
  --gold-bright:#D8B24C;
  --line-dark:  rgba(239,230,209,0.14);
  --line-light: rgba(21,18,14,0.12);
  --muted-on-paper: #6E624B;
  --muted-on-ink:   #A99E88;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
.wrap{ max-width: var(--max); margin:0 auto; padding: 0 28px; }

h1,h2,h3{
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn-gold{
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover{ background: var(--gold-bright); }
.btn-outline-ink{
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline-ink:hover{ background: var(--ink); color: var(--paper); }
.btn-outline-paper{
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}
.btn-outline-paper:hover{ background: var(--paper); color: var(--ink); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.logo-mark img{ height: 34px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .85;
}
.main-nav a:hover{ opacity: 1; color: var(--gold-bright); }
.header-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  isolation:isolate;
  background: var(--ink);
  color: var(--paper);
  padding: 76px 0 0;
  overflow: hidden;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-2;
  display:none;
}
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  display:none;
  background:rgba(21,18,14,0.72);
}
.hero-background{
  position:absolute;
  inset:0;
  z-index:0;
  display:none;
  overflow:hidden;
}
.hero-background span{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  animation:hero-slide 9s infinite;
}
.hero-background span:nth-child(1){
  background-image:url('images/hero%201.png');
}
.hero-background span:nth-child(2){
  background-image:url('images/hero%202.png');
  animation-delay:3s;
}
.hero-background span:nth-child(3){
  background-image:url('images/hero%203.png');
  animation-delay:6s;
}
.hero .wrap{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@keyframes hero-slide{
  0%, 33.333%{ opacity:1; }
  33.334%, 100%{ opacity:0; }
}
.hero-copy .eyebrow{ color: var(--gold-bright); }
.hero h1{
  font-size: 58px;
  color: var(--paper);
}
.hero h1 span{ color: var(--gold-bright); }
.hero p.lede{
  margin: 24px 0 32px;
  max-width: 440px;
  color: var(--muted-on-ink);
  font-size: 17px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-figure{
  position:relative;
  align-self: stretch;
}
.hero-figure img{
  width:100%; height:100%;
  object-fit: cover;
  min-height: 460px;
  filter: grayscale(6%) contrast(1.04);
}
.hero-figure::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(21,18,14,0) 55%, rgba(21,18,14,0.55) 100%);
}
.hero-days{
  position:absolute; left:24px; bottom:24px; z-index:2;
  display:flex; gap:10px; flex-wrap:wrap;
}
.hero-days span{
  background: rgba(21,18,14,0.72);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 7px 12px;
  text-transform: uppercase;
}

/* ---------- Stat strip ---------- */
.stat-strip{
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.stat-strip .wrap{
  display:grid;
  grid-template-columns: repeat(4,1fr);
}
.stat{
  padding: 30px 0;
  text-align:center;
  border-right: 1px solid var(--line-dark);
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--gold-bright);
  display:block;
}
.stat .label{
  font-size: 12.5px;
  color: var(--muted-on-ink);
  letter-spacing: .03em;
  margin-top: 4px;
}

/* ---------- Section shell ---------- */
section{ padding: 96px 0; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 24px; margin-bottom: 52px;
}
.section-head h2{ font-size: 34px; max-width: 560px; }
.section-head p{
  max-width: 380px;
  color: var(--muted-on-paper);
  font-size: 15px;
  margin: 0;
}
.on-ink .section-head p{ color: var(--muted-on-ink); }

/* ---------- About ---------- */
.about .wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items:center;
}
.about-figure{ position:relative; }
.about-figure img{ width:100%; }
.about-badge{
  position:absolute; right:-18px; bottom:-18px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  padding: 18px 22px;
  text-align:center;
  line-height:1.1;
  min-width: 128px;
}
.about-badge .num{ display:block; font-size: 26px; }
.about-badge .label{ font-size: 11px; letter-spacing:.04em; text-transform:uppercase; }
.about h2{ font-size: 32px; margin-bottom: 20px; }
.about p{ color: var(--muted-on-paper); font-size: 16px; max-width: 480px; }
.about p + p{ margin-top: 14px; }

/* ---------- Services ---------- */
.services{ background: var(--paper-dim); }
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: 36px;
  display:flex; justify-content:space-between; align-items:flex-start;
  gap: 20px;
}
.service-card h3{ font-size: 22px; margin-bottom: 8px; }
.service-card p{ color: var(--muted-on-paper); font-size: 14.5px; max-width: 280px; margin:0; }
.service-price{
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Gallery ---------- */
.gallery{ background: var(--ink); color: var(--paper); }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 6px;
}
.gallery-grid figure{
  position:relative; margin:0; overflow:hidden;
  grid-column: span 1; grid-row: span 1;
}
.gallery-grid figure:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:nth-child(4){ grid-row: span 2; }
.gallery-grid img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .35s ease;
  filter: grayscale(12%) contrast(1.05);
}
.gallery-grid figure:hover img{ transform: scale(1.05); }
.gallery-grid figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(21,18,14,0), rgba(21,18,14,.85));
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- Booking ---------- */
.booking{ }
.booking .wrap{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
.booking-panel{
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
}
.booking-panel h2{ color: var(--paper); font-size: 30px; margin-bottom:16px; }
.booking-panel p{ color: var(--muted-on-ink); font-size: 15.5px; max-width: 420px; }
.booking-panel .btn{ margin-top: 26px; }
.days-panel{
  background: var(--paper-dim);
  padding: 48px;
  border: 1px solid var(--line-light);
}
.days-panel h3{ font-size: 20px; margin-bottom: 22px; }
.days-list{ list-style:none; margin:0; padding:0; }
.days-list li{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.days-list li:last-child{ border-bottom:none; }
.days-list li span.dot{
  width:8px; height:8px; border-radius:50%; background: var(--gold);
  display:inline-block; margin-right: 12px;
}
.days-list li .day-name{ display:flex; align-items:center; }

/* ---------- Location ---------- */
.location{ background: var(--paper-dim); }
.location .wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:center;
}
.location address{
  font-style: normal;
  font-size: 20px;
  line-height:1.5;
  margin: 22px 0 30px;
}
.map-frame{
  border: 1px solid var(--line-light);
  padding: 36px;
  background: var(--paper);
  position:relative;
}
.map-frame .pin{
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--gold);
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom: 14px;
  display:block;
}
.map-frame h3{ font-size: 22px; margin-bottom: 12px; }
.map-frame p{ color: var(--muted-on-paper); margin: 0 0 24px; font-size: 14.5px; }

/* ---------- Social CTA ---------- */
.social-cta{ background: var(--ink); color: var(--paper); }
.social-cta .wrap{ text-align:center; }
.social-cta h2{ font-size: 36px; max-width: 640px; margin: 0 auto 16px; color: var(--paper); }
.social-cta p{ color: var(--muted-on-ink); max-width: 480px; margin: 0 auto 34px; }
.social-links{
  display:flex; justify-content:center; gap: 14px; flex-wrap: wrap;
}
.social-links a{
  border: 1px solid var(--line-dark);
  padding: 13px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--paper);
  display:flex; align-items:center; gap:10px;
}
.social-icon{
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.site-footer{ text-align:center; }
.site-footer .footer-col ul{ text-align:center; }
.site-footer .footer-col a{ display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.social-links a:hover{ border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: var(--muted-on-ink); border-top: 1px solid var(--line-dark); }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-grid .logo-mark img{ height: 30px; margin-bottom: 16px; }
.footer-grid p{ font-size: 14px; max-width: 260px; }
.footer-col h4{
  font-family: var(--font-head);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size: 14.5px; }
.footer-col{ min-width:0; }
.footer-col a{ overflow-wrap:anywhere; }
.footer-col a:hover{ color: var(--gold-bright); }
.footer-bottom{
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display:flex; justify-content:space-between; font-size: 13px;
  color: var(--muted-on-ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero .wrap, .about .wrap, .booking .wrap, .location .wrap{ grid-template-columns: 1fr; }
  .hero-figure img{ min-height: 320px; }
  .service-grid{ grid-template-columns: 1fr; }
  .stat-strip .wrap{ grid-template-columns: repeat(2,1fr); }
  .stat{ border-bottom: 1px solid var(--line-dark); }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .gallery-grid figure:nth-child(1){ grid-column: span 2; grid-row: span 1; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .main-nav{ display:none; }
  .hero-figure{ display:none; }
  .hero{
    min-height:calc(100vh - 84px);
    min-height:calc(100svh - 84px);
    padding-bottom:48px;
    display:flex;
    align-items:center;
  }
  .hero .wrap{
    display:flex;
    align-items:center;
  }
  .hero::before,
  .hero::after{ display:block; }
  .hero-background{ display:block; }
  .stat-strip{ display:none; }
  .hero h1{ font-size: 40px; }
  .section-head{ flex-direction: column; align-items:flex-start; }
  .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding: 32px 0 24px;
  }
  .footer-col:first-child{ grid-column: 1 / -1; }
  .footer-grid .logo-mark img{ height: 26px; margin-bottom: 10px; }
  .footer-grid p{ max-width: 280px; margin: 0 auto; font-size: 12.5px; line-height: 1.45; }
  .footer-col h4{ font-size: 12px; margin-bottom: 10px; }
  .footer-col ul{ gap: 6px; font-size: 12.5px; line-height: 1.35; }
  .site-footer{ margin-top:24px; border-top:2px solid var(--gold); }
  .footer-col:last-child{ grid-column:1 / -1; }
  .footer-col:last-child ul{ max-width: 320px; margin: 0 auto; grid-template-columns:repeat(2, minmax(0, 1fr)); display:grid; gap:6px 14px; }
  .footer-col:last-child li:last-child{ grid-column:1 / -1; }
  .footer-col:last-child li:last-child a{ max-width:100%; margin:0 auto; }
  .footer-bottom{
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 0;
    font-size: 11px;
    line-height: 1.4;
  }
}
