/* Locals Barber Co. — one-page site. Dark shop look, warm copper accent, mobile first. */
:root {
  --bg: #0e0d0c;
  --surface: #161412;
  --card: #1d1a17;
  --line: #2c2723;
  --text: #f4efe7;
  --muted: #b8ae9f;
  --accent: #c98a3e;
  --accent-hi: #e0a258;
  --radius: 14px;
  --max: 1140px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--body);
  padding-bottom: 76px; /* room for the phone action bar */
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-hi); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: .02em; line-height: 1.1; margin: 0 0 .5em; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt { background: var(--surface); }
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #111; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #140f09; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border: 2px solid rgba(244,239,231,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(14,13,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; }
.brand img { height: 46px; width: auto; border-radius: 6px; }
.brand span { font: 600 1.15rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.nav { display: none; gap: 1.6rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.topbar .btn { min-height: 42px; padding: .6rem 1.1rem; font-size: .95rem; }

/* Hero: full-photo background on phones, split layout on desktop */
.hero { position: relative; isolation: isolate; }
.hero-grid { min-height: min(88vh, 780px); display: flex; align-items: flex-end; padding: 7rem 0 2.6rem; }
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,13,12,.30) 0%, rgba(14,13,12,.50) 40%, rgba(14,13,12,.97) 100%); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); max-width: 14ch; }
.hero .lead { color: #e5ddd1; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.chips li { background: rgba(22,20,18,.8); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .9rem; color: #e5ddd1; }
.chips b { color: var(--accent-hi); }

/* About */
.about { display: grid; gap: 2rem; align-items: center; margin-top: 1rem; }
.about img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; }
.facts li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23140f09' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Review numbers */
.stats { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; } .stat { padding: 1.4rem 1.5rem; } }
.stat .big { display: block; font: 600 clamp(2.4rem, 6vw, 3.2rem)/1 var(--head); color: var(--accent-hi); }
.stat .big small { font-size: .45em; color: var(--text); letter-spacing: .05em; margin-left: .3rem; }
.stat span:last-child { color: var(--muted); }

/* Services */
.price-list { display: grid; gap: 1rem; margin-top: 2rem; }
.price-group h3 { color: var(--accent); margin: 1.2rem 0 .6rem; font-size: 1rem; letter-spacing: .14em; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.svc .name { font-weight: 700; }
.svc .price { font: 600 1.25rem/1 var(--head); color: var(--accent-hi); }
.svc .meta { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.callout { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(201,138,62,.08); }
.callout strong { color: var(--accent-hi); }

/* Barbers */
.team { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.barber { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .8rem; text-align: center; }
.barber img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin: 0 auto .8rem; border: 3px solid var(--accent); }
.barber h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.barber p { color: var(--muted); font-size: .88rem; margin-bottom: .7rem; }
.barber a { font-weight: 700; text-decoration: none; font-size: .92rem; }
@media (min-width: 760px) {
  .team { gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .barber { padding: 1.4rem; }
  .barber img { width: 132px; height: 132px; margin-bottom: 1rem; }
  .barber h3 { font-size: 1.25rem; }
}

/* Gallery */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--card); aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.follow { margin-top: 1.6rem; }

/* Reviews */
.reviews { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 2rem; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.review .stars { color: var(--accent-hi); letter-spacing: .15em; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review cite { font-style: normal; color: var(--muted); font-size: .9rem; margin-top: auto; }
.review-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Visit */
.visit { display: grid; gap: 2rem; margin-top: 2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .65rem .2rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--accent-hi); font-weight: 700; }
.status { display: inline-block; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--card); border: 1px solid var(--line); }
.status.open { color: #7fd18b; border-color: #2f5c37; }
.status.closed { color: #e29b8f; border-color: #5c332f; }
address { font-style: normal; font-size: 1.08rem; margin-bottom: 1.2rem; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); background: var(--card); }

/* FAQ */
.faq { margin-top: 2rem; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--muted); font-size: .95rem; }
.footer .wrap { display: grid; gap: 1.6rem; }
.footer a { color: var(--text); }
.socials { display: flex; gap: .8rem; }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.fine { font-size: .82rem; }

/* Phone action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(14,13,12,.96); border-top: 1px solid var(--line); }
.actionbar .btn { width: 100%; }

@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .price-list { grid-template-columns: repeat(3, 1fr); gap: 0 2.4rem; }
  .visit { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .about { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav { display: flex; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .hero { background: radial-gradient(1200px 600px at 75% 30%, rgba(201,138,62,.10), transparent 60%), var(--bg); }
  .hero::after { display: none; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; min-height: 0; padding: 4.5rem 0 5rem; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
  .hero .lead { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img, .btn { transition: none; }
}
