/* Al's Unisex Barbershop — classic Americana, minimal.
   Off-white paper, navy ink, thin red accents. Roboto Slab + Roboto. Left-aligned, bordered cards, visit timeline. */
:root {
  --paper: #f7f5ef;
  --paper-2: #efece3;
  --white: #fffefb;
  --navy: #1b2a4a;
  --navy-2: #24375f;
  --red: #b3261e;
  --text: #2a3346;
  --muted: #5d6576;
  --line: #d8d3c6;
  --line-dark: #1b2a4a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Roboto", system-ui, sans-serif; font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Roboto Slab", Georgia, serif; color: var(--navy); line-height: 1.15; margin: 0 0 14px; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Thin flag rule at the very top */
.flag-rule { height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--white) 40px 46px, var(--navy) 46px 86px, var(--white) 86px 92px); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line-dark); transition: box-shadow .25s; }
header.site.scrolled { box-shadow: 0 4px 18px rgba(27,42,74,.08); }
header.site .wrap { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { margin-right: auto; display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: "Roboto Slab", serif; font-size: 22px; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.logo small { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-top: 5px; font-weight: 700; }
nav.main { display: flex; gap: 26px; }
nav.main a { font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
nav.main a:hover { color: var(--navy); }
nav.main a.active { color: var(--navy); border-bottom-color: var(--red); }
.call-btn { border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; transition: background .2s; white-space: nowrap; }
.call-btn:hover { background: var(--red); border-color: var(--red); }
.menu-toggle { display: none; background: none; border: 1px solid var(--navy); width: 44px; height: 40px; font-size: 18px; color: var(--navy); cursor: pointer; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--line); background: var(--white); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.status-pill.open::before { background: #15803d; }
.status-pill.closed::before { background: var(--red); }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 24px; border: 1px solid var(--navy); transition: background .2s, color .2s, transform .2s; }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--red); border-color: var(--red); }
.btn.line { background: transparent; color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--navy); border-color: var(--navy); }

/* Hero — left aligned two-column */
.hero { padding: 70px 0 80px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--navy); font-weight: 500; }
.hero .facts span::before { content: "★ "; color: var(--red); }
.hero-photo { position: relative; border: 1px solid var(--navy); padding: 10px; background: var(--white); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.9); }
.hero-photo .tag { position: absolute; left: -14px; bottom: 28px; background: var(--red); color: #fff; font-family: "Roboto Slab", serif; font-weight: 700; padding: 8px 16px; font-size: 15px; }
.hero .copy > *, .hero-photo { animation: up .7s ease both; }
.hero .copy > *:nth-child(2) { animation-delay: .06s; } .hero .copy > *:nth-child(3) { animation-delay: .12s; } .hero .copy > *:nth-child(4) { animation-delay: .18s; } .hero .copy > *:nth-child(5) { animation-delay: .24s; } .hero-photo { animation-delay: .2s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero.page .wrap { grid-template-columns: 1fr; }
.hero.page h1 { max-width: 820px; }

/* Stats */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 30px 18px; border-left: 1px solid rgba(255,255,255,.18); }
.stats .wrap > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: "Roboto Slab", serif; font-size: 38px; line-height: 1.05; }
.stats span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #c9d3e8; }

/* Sections */
.block { padding: 84px 0; }
.block.alt { background: var(--paper-2); }
.block.white { background: var(--white); }
.kicker { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--red); margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); }
h2.title { font-size: clamp(30px, 4vw, 42px); max-width: 760px; }
.sub { font-size: 18px; color: var(--muted); max-width: 680px; margin-bottom: 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.grid { display: grid; gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.g6, .g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 30px 28px; transition: background .2s; }
.card:hover { background: #fff; }
.card .no { font-family: "Roboto Slab", serif; font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }
.card:hover h3 { color: var(--red); }
.more { margin-top: 30px; }
.more a { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* Prose */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.prose { max-width: 720px; font-size: 17.5px; }
.prose strong { color: var(--navy); }
.prose a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.side-note { border: 1px solid var(--navy); padding: 26px; background: var(--white); position: sticky; top: 100px; }
.side-note h3 { font-size: 20px; }
.side-note ul { list-style: none; padding: 0; margin: 0; }
.side-note li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.side-note li:last-child { border-bottom: 0; }

/* Visit timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--navy); }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.timeline .when { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.timeline h3 { font-size: 21px; margin: 4px 0 6px; }
.timeline p { margin: 0; color: var(--muted); }

/* Reviews */
.reviews { background: var(--white); padding: 84px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews .head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.score { font-family: "Roboto Slab", serif; font-size: 64px; font-weight: 800; color: var(--navy); line-height: 1; }
.score small { display: block; font-family: "Roboto", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 6px; }
.quote { margin: 0; background: var(--paper); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 30px 28px; }
.quote p { font-family: "Roboto Slab", serif; font-size: 18.5px; line-height: 1.5; color: var(--navy); margin: 0 0 16px; }
.quote p::before { content: "“"; color: var(--red); }
.quote p::after { content: "”"; color: var(--red); }
.quote cite { font-style: normal; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: "Roboto Slab", serif; font-weight: 700; font-size: 19px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--red); font-family: "Roboto", sans-serif; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 30px; }

/* CTA */
.cta-band { background: var(--navy); color: #fff; padding: 70px 24px; }
.cta-band .inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c9d3e8; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn.line { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn.line:hover { background: #fff; color: var(--navy); }

/* Services list (services page) */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
.svc-row .no { font-family: "Roboto Slab", serif; font-size: 30px; color: var(--red); font-weight: 700; line-height: 1.1; }
.svc-row h3 { font-size: 26px; margin-bottom: 8px; }
.svc-row p { margin: 0; color: var(--text); max-width: 780px; }
.svc-row .card { padding: 0; border: 0; background: none; }
.signs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 900px; }
.signs li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.signs li::before { content: "—"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ph { border: 1px solid var(--navy); padding: 6px; background: var(--white); }
.ph img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: filter .3s; filter: grayscale(.15); }
.ph:hover img { filter: none; }
.gallery-note { font-size: 14px; color: var(--muted); margin-top: 16px; font-style: italic; }

/* Contact */
.panel { background: var(--white); border: 1px solid var(--navy); padding: 30px; }
.panel h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-family: "Roboto", sans-serif; }
.panel .big { display: block; font-family: "Roboto Slab", serif; font-weight: 800; font-size: 30px; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.hours tr.today td { color: var(--red); }
.map { border: 1px solid var(--navy); padding: 6px; background: var(--white); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
footer.site { background: var(--paper-2); border-top: 1px solid var(--line-dark); padding: 56px 0 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
footer.site h4 { font-size: 18px; }
footer.site a { display: block; margin-bottom: 6px; color: var(--navy); }
footer.site a:hover { color: var(--red); }
footer.site p { color: var(--muted); }
.footnote { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); margin-top: 40px; padding: 20px 0 24px; font-size: 13.5px; color: var(--muted); }
.footnote .credit { display: inline; margin: 0; color: var(--navy); font-weight: 700; }

/* Reveal (app.js) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Call bar (app.js) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 3px solid var(--red); }
.callbar a { flex: 1; text-align: center; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 14.5px; padding: 13px 8px; }
.callbar .cb-call { background: var(--red); color: #fff; }
.callbar .cb-dir { border: 1px solid rgba(255,255,255,.5); color: #fff; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 520px; }
  .g6 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .side-note { position: static; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line-dark); flex-direction: column; gap: 0; padding: 6px 24px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  header.site .wrap { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  header.site .status-pill { order: 5; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .block, .reviews { padding: 58px 0; }
  .hero { padding: 44px 0 56px; }
  .g6, .g2, .two, .gallery, .signs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap > div { padding: 22px 14px; }
  .stats .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats .wrap > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .svc-row { grid-template-columns: 1fr; gap: 6px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
  .call-btn { padding: 8px 12px; font-size: 13px; }
  .hero-photo .tag { left: 10px; }
  .hero-photo img { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .copy > *, .hero-photo { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .ph img { transition: none; }
}
