/* Family Ties Barbershop: preview build. New school: black, white, barber red and blue. */
:root {
  --bg: #000000;
  --panel: #121212;
  --line: #262626;
  --text: #FFFFFF;
  --muted: #A3A3A3;
  --red: #E3263A;
  --red-hot: #FF3B4F;
  --blue: #2D5BFF;
  --display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 64px; /* room for the phone quickbar */
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

h2 {
  font-family: var(--display); font-style: italic; font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1; margin: 0 0 28px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

/* Preview bar + confirm tags */
.mockup-bar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: #FFF6CF; color: #1A1A1A; border-bottom: 1px dashed #B8962A;
  padding: 10px 16px; font-size: 15px; line-height: 1.4;
}
.mockup-bar button {
  flex: none; font: 600 15px var(--body); padding: 8px 14px;
  border: 1px solid #B8962A; background: #fff; color: #1A1A1A; border-radius: 6px; cursor: pointer;
}
.confirm {
  display: inline-block; font: 600 13px/1.3 var(--body); color: #5C4700;
  background: #FFE27A; border: 1px dashed #A8861E; border-radius: 4px;
  padding: 2px 8px; margin: 4px 0; text-transform: none; letter-spacing: 0; font-style: normal;
}
.notes-hidden .confirm { display: none; }
.mockup-bar .confirm { display: inline; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 4px;
  font: 600 italic 17px var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hot); }
.btn--line { border-color: #fff; color: #fff; background: transparent; }
.btn--line:hover { background: #fff; color: #000; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.92); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { font: 700 italic 22px var(--display); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.topnav { display: none; gap: 28px; margin-left: auto; }
.topnav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.topnav a:hover { color: #fff; }
.topbar .btn { margin-left: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1fr 64px; gap: 20px; align-items: stretch; }
.hero__logo { margin: 0 0 8px; max-width: 560px; }
.hero__line { font-size: 1.15rem; color: #E5E5E5; margin: 4px 0 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 20px; }
.status { font-weight: 600; margin: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.rating { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--muted); font-size: 15px; }
.rating strong { font: 700 italic 1.8rem var(--display); color: #fff; }
.stars { color: #FFC531; letter-spacing: 2px; }

/* The spinning barber pole */
.pole { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; min-height: 360px; }
.pole__cap {
  width: 100%; height: 30px; border-radius: 14px;
  background: linear-gradient(90deg, #5a5a5a, #f2f2f2 35%, #9a9a9a 60%, #3a3a3a);
}
.pole__cap--top { border-radius: 30px 30px 8px 8px; }
.pole__cap--bottom { border-radius: 8px 8px 30px 30px; }
.pole__glass {
  position: relative; width: 78%; overflow: hidden; border-radius: 6px;
  box-shadow: 0 0 40px rgba(227,38,58,.35), 0 0 80px rgba(45,91,255,.25);
}
.pole__stripes {
  position: absolute; inset: -140px 0 0 0;
  background: repeating-linear-gradient(-45deg,
    var(--red) 0 18px, #fff 18px 36px, var(--blue) 36px 54px, #fff 54px 72px);
  animation: pole-spin 1.1s linear infinite;
}
/* glass shading so it reads as a round tube */
.pole__glass::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%, rgba(255,255,255,.45) 44%, rgba(255,255,255,0) 58%, rgba(0,0,0,.6));
}
/* one stripe period measured vertically: 72px / cos(45deg) */
@keyframes pole-spin { to { transform: translateY(101.82px); } }

/* Services */
.services, .kids, .monk, .reviews, .visit { padding: 72px 0; border-bottom: 1px solid var(--line); }
.menu { list-style: none; margin: 0 0 8px; padding: 0; max-width: 46rem; }
.menu li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.menu li:first-child { border-top: 1px solid var(--line); }
.menu__name { font: 600 italic 1.6rem var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.menu__price { font: 700 italic 1.6rem var(--display); color: var(--red); }
.menu__note { grid-column: 1 / -1; color: var(--muted); font-size: 16px; }

/* Kids */
.kids { background: var(--blue); }
.kids h2 { margin-bottom: 16px; }
.kids p { font-size: 1.15rem; max-width: 40rem; }
.kids .muted { color: #DCE4FF; }
.kids__inner { display: grid; gap: 8px; }

/* Monk */
.monk__grid { display: grid; gap: 32px; align-items: center; }
.photo-ph {
  aspect-ratio: 16 / 10; width: 100%; max-width: 440px;
  display: grid; place-items: center; text-align: center; padding: 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); font-weight: 600;
}
.role { font: 600 italic 1.1rem var(--display); color: var(--red); text-transform: uppercase; letter-spacing: 0.05em; }

/* Reviews */
.reviews__grid { display: grid; gap: 24px; }
.score { display: flex; align-items: baseline; gap: 16px; margin: 0 0 4px; }
.score strong { font: 700 italic clamp(4.5rem, 14vw, 7.5rem)/0.9 var(--display); }
.score .stars { font-size: 1.6rem; }
.themes { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 14px; }
.themes li { padding: 0 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.05rem; }
.themes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--red); transform: skewX(-12deg); }
.themes li:nth-child(even)::before { background: var(--blue); }

/* Hours */
.visit__grid { display: grid; gap: 36px; }
.open-now { font-weight: 600; }
.hours { width: 100%; max-width: 28rem; border-collapse: collapse; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; color: #E5E5E5; }
.hours .closed td { color: var(--muted); }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: #fff; }
.hours .is-today th { border-left: 4px solid var(--red); padding-left: 10px; }
address { font-style: normal; margin: 20px 0 0; line-height: 1.5; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: 6px; background: var(--panel); filter: grayscale(.3); }

/* Footer */
.footer { padding: 48px 0; text-align: center; }
.footer__logo { width: 180px; margin: 0 auto 16px; }
.footer p { margin-bottom: 6px; color: #E5E5E5; }
.legal { color: var(--muted) !important; font-size: 14px; margin-top: 16px; }

/* Phone quick actions */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #000; border-top: 1px solid var(--line);
}
.quickbar a { color: #fff; text-decoration: none; text-align: center; padding: 16px 0; font: 600 italic 16px var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.quickbar a:first-child { background: var(--red); }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .quickbar { display: none; }
  .topnav { display: flex; }
  .topbar .btn { margin-left: 0; }
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
  .pole { width: 150px; justify-self: center; }
  .pole { min-height: 520px; height: 100%; }
  .kids__inner { grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
  .monk__grid { grid-template-columns: 400px 1fr; gap: 56px; }
  .photo-ph { aspect-ratio: 4 / 5; }
  .reviews__grid { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .visit__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole__stripes { animation: none; }
}

.social a { font: 600 italic 16px var(--display); text-transform: uppercase; letter-spacing: 0.08em; }
