/* Goodfellas Barber Studio — spec build
   Palette anchored to their existing site: cream #fdf9ee on dark. */
:root {
  --ink: #131314;
  --ink-2: #1c1c1e;
  --ink-3: #242427;
  --cream: #fdf9ee;
  --cream-dim: #cfc9b8;
  --gold: #c9a227;
  --gold-hi: #e0bc45;
  --red: #b3302e;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
.center { text-align: center; }
.muted { color: var(--cream-dim); font-size: 0.9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.4rem 1.25rem;
  background: rgba(19, 19, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-3);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 66px; width: 165px; display: block; }
.site-header nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}
.site-header nav a {
  color: var(--cream-dim);
  font-size: 0.9rem;
  font-weight: 500;
}
.site-header nav a:hover { color: var(--cream); text-decoration: none; }

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-gold { background: var(--gold); color: #171204; }
.btn-ghost { border: 1px solid var(--cream-dim); color: var(--cream); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-rating { background: rgba(201, 162, 39, 0.14); color: var(--gold-hi); border: 1px solid rgba(201, 162, 39, 0.4); }
.badge-new { background: rgba(179, 48, 46, 0.16); color: #f0a09f; border: 1px solid rgba(179, 48, 46, 0.5); }
.badge-big { font-size: 0.95rem; padding: 0.45rem 1rem; }

/* ---------- home hero (video) ---------- */
.hero-home {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 20, 0.25) 40%, rgba(19, 19, 20, 0.82));
}
.hero-home-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem 3.5rem;
}
.hero-home h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  margin: 0.4rem 0 0.6rem;
}
.hero-home .hero-lede { margin: 0; font-size: 1.1rem; color: var(--cream); }

/* ---------- booking strip (CTA row under hero) ---------- */
.book-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--ink-3);
}
.book-cell {
  border-top: 2px solid var(--ink-3);
  padding: 1.1rem 1.25rem 1.3rem 0;
  margin-right: 1.25rem;
  transition: border-color 0.15s;
}
.book-cell:hover { border-top-color: var(--gold); }
.book-cell-main { display: block; color: inherit; }
.book-cell-main:hover { text-decoration: none; }
.book-cell-main:hover h2 { color: var(--gold-hi); }
.book-cell h2 { font-size: 1.15rem; margin: 0 0 0.35rem; color: var(--cream); transition: color 0.15s; }
.book-cell p { margin: 0 0 0.7rem; color: var(--cream-dim); font-size: 0.82rem; line-height: 1.45; }
.book-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-hi);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 1.25rem 4.5rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(201, 162, 39, 0.12), transparent),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--ink-3);
  overflow: hidden;
}
/* ---------- marquee (location pages, replaces barber-pole stripe) ---------- */
.marquee {
  overflow: hidden;
  background: var(--gold);
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  padding: 0.55rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #171204;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin: 0.5rem 0 1rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
}
.hero-lede { max-width: 42rem; color: var(--cream-dim); font-size: 1.05rem; }
.hero-badges { margin: 1.25rem 0; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.walkins { margin-top: 1.1rem; color: var(--cream-dim); font-size: 0.9rem; }
.hero-loc { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero-loc .kicker a { color: var(--gold); }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.section-lede { color: var(--cream-dim); max-width: 40rem; margin-top: 0; }
.section-alt {
  max-width: none;
  background: var(--ink-2);
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ---------- location cards ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.loc-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.loc-card h3 { font-size: 1.3rem; color: var(--gold-hi); }
.loc-addr { margin: 0; color: var(--cream-dim); font-size: 0.92rem; }
.loc-phone { margin: 0; font-size: 0.92rem; }
.loc-card .badge { align-self: flex-start; margin: 0.5rem 0; }
.loc-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.6rem; }
.loc-actions .btn { flex: 1; text-align: center; }

/* ---------- services menu ---------- */
.menu { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .menu { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.menu-line { display: flex; align-items: baseline; gap: 0.5rem; }
.menu-name { font-family: "Oswald", sans-serif; font-size: 1.08rem; letter-spacing: 0.02em; }
.menu-desc { margin: 0.25rem 0 0; color: var(--cream-dim); font-size: 0.88rem; }

/* ---------- find your cut ---------- */
.cuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.cut-card {
  margin: 0;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.cut-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.cut-card figcaption { padding: 0.9rem 1.1rem 1.1rem; }
.cut-card strong {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
  display: block;
  margin-bottom: 0.25rem;
}
.cut-card span { color: var(--cream-dim); font-size: 0.85rem; line-height: 1.45; display: block; }
.cut-ph { aspect-ratio: 4 / 3; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }

/* ---------- story w/ founder photo ---------- */
.story-grid { display: grid; gap: 1.5rem; align-items: start; margin-top: 1rem; }
@media (min-width: 720px) { .story-grid { grid-template-columns: 3fr 2fr; } }
.founder-ph { aspect-ratio: 4 / 5; max-width: 320px; }

/* ---------- team + barber family (location pages) ----------
   Hero: landscape team photo on the right, copy overlapping its left edge. */
.hero-loc-grid { display: grid; gap: 2rem; align-items: center; }
.team-ph { aspect-ratio: 16 / 9; }
@media (min-width: 860px) {
  .hero-loc-grid {
    grid-template-columns: 3fr 7fr;
    gap: 0;
  }
  .hero-loc-copy {
    grid-column: 1 / 3;
    grid-row: 1;
    z-index: 1;
    max-width: 36%;
  }
  .team-ph {
    grid-column: 2 / 3;
    grid-row: 1;
    width: 100%;
    background: var(--ink-2);
  }
}
.fam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.fam-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 0.8rem;
  text-align: center;
}
.fam-ph { aspect-ratio: 1 / 1; margin-bottom: 0.7rem; }
.fam-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.fam-links { display: flex; justify-content: center; gap: 0.9rem; font-size: 0.85rem; }
.fam-ig { color: var(--cream-dim); }
.fam-ig:hover { color: var(--cream); }

/* ---------- footer instagram strip ---------- */
.foot-ig { max-width: var(--max); margin: 2rem auto 0; border-top: 1px solid var(--ink-3); padding-top: 1.6rem; }
.foot-ig h3 { font-size: 1.15rem; margin: 0 0 0.2rem; }
.foot-ig > p { color: var(--cream-dim); font-size: 0.88rem; margin: 0 0 1rem; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
@media (max-width: 720px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.ig-grid a:hover img { opacity: 0.8; }
.snapwidget-widget { min-height: 200px; }

/* ---------- reviews ---------- */
.review-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem auto; }
.review-badge {
  background: var(--ink-3);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  color: var(--cream);
  font-size: 0.95rem;
}
.review-badge span { display: block; font-size: 0.78rem; color: var(--cream-dim); }
.review-badge:hover { text-decoration: none; border-color: var(--gold); }
/* ---------- reviews carousel ---------- */
.carousel {
  position: relative;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
}
.car-viewport { overflow: hidden; }
.car-track { display: flex; transition: transform 0.45s ease; }
.car-slide {
  flex: 0 0 100%;
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--ink-3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.car-slide p { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.5; }
.car-slide cite { color: var(--cream-dim); font-size: 0.85rem; font-style: normal; }
.car-btn {
  background: var(--ink-3);
  border: 1px solid var(--ink-3);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
}
.car-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.car-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.car-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--ink-3);
  cursor: pointer;
  padding: 0;
}
.car-dots button.active { background: var(--gold); }

/* ---------- story ---------- */
.story-copy { max-width: 46rem; font-size: 1.08rem; color: var(--cream-dim); }

/* ---------- dropped-in photos (replace placeholders via build.js) ---------- */
img.team-ph, img.founder-ph, img.fam-ph, img.strip-ph {
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: var(--radius);
}
img.team-ph { aspect-ratio: 16 / 9; }
img.founder-ph { aspect-ratio: 4 / 5; max-width: 320px; }
img.fam-ph { aspect-ratio: 1 / 1; margin-bottom: 0.7rem; }
.photo-strip .strip-ph { aspect-ratio: 4 / 3; }

/* ---------- photo placeholders ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.photo-ph {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--ink-3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}
.photo-ph span { font-family: "Inter", sans-serif; letter-spacing: 0; text-transform: lowercase; font-size: 0.78rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink-3); background: var(--ink-2); padding: 2.5rem 1.25rem 1.5rem; }
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
}
.foot-loc h3 { font-size: 1rem; }
.foot-loc p { margin: 0.2rem 0; color: var(--cream-dim); font-size: 0.85rem; }
.foot-bottom { max-width: var(--max); margin: 2rem auto 0; border-top: 1px solid var(--ink-3); padding-top: 1.2rem; font-size: 0.85rem; }
.foot-bottom p { margin: 0.3rem 0; }
.fineprint { color: var(--cream-dim); }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; margin-left: 0; }
  .site-header .btn { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
  .brand-logo { height: 46px; width: 115px; }
  .hero { padding-top: 3.5rem; }
}
