/* Side Street Barbers — new site mockup (PROTOCOLO §199). Mobile-first, no framework, no external requests. */
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/barlow-700.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(fonts/inter-var.woff2) format("woff2"); }

:root {
  --ink: #121212;
  --ink-2: #1c1f1a;
  --card: #262a23;
  --line: #4a4a3c;
  --gold: #E2A85C;
  --gold-soft: #d7b67b;
  --cream: #f8f5ef;
  --cream-2: #efe6d6;
  --text: #f3ecdf;
  --muted: #cfcabe;
  --brown: #7a4f18;
  --green: #25483e;
  --radius: 10px;
  --bar-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.55 Inter, Arial, sans-serif; overflow-x: hidden; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Barlow, Inter, Arial, sans-serif; font-weight: 700; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(26px, 6vw, 40px); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.kicker { display: block; color: var(--brown); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.dark .kicker { color: var(--gold-soft); }
.section { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head a { font-weight: 700; text-underline-offset: 4px; padding: 10px 0; white-space: nowrap; }
.dark { background: var(--ink-2); color: var(--text); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mock-note { background: #fff3c4; color: #4a3600; font-size: 13px; text-align: center; padding: 6px 12px; }

/* Buttons: all touch targets >= 44px */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 2px solid var(--gold); background: var(--gold); color: var(--ink); font: 700 16px/1 Barlow, Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: #ecb970; }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--gold); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header (same on every page) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; border-bottom: 1px solid #2a2a2a; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span { font: 700 15px/1.1 Barlow, Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.nav-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; cursor: pointer; border-radius: 6px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 26px; height: 26px; }
.nav-menu[open] summary { background: #222; }
.nav-menu ul { list-style: none; margin: 0; padding: 8px 16px 16px; position: absolute; left: 0; right: 0; top: 64px; background: var(--ink); border-bottom: 1px solid #333; }
.nav-menu li a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; border-bottom: 1px solid #262626; }
.nav-menu li a[aria-current="page"] { color: var(--gold); }
.header-book, .nav-desktop { display: none; }
.nav-desktop ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-desktop a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; font-weight: 600; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--gold); }
@media (min-width: 900px) {
  .nav-menu { display: none; }
  .nav-desktop { display: block; }
  .header-book { display: inline-flex; }
}

/* Hero */
.hero { position: relative; color: #fff; background: #0d0d0d; }
/* Mobile (<700px): the photo alone, whole and undimmed; the text sits below it on a dark band. */
/* Shorter on phones so "Book now" shows on the first screen above the fixed bar: 16:9 at most, and less on short screens
   (100svh minus header 64, text block ~240, bar 64 and a small gap). Crop keeps the sign. */
.hero picture img { width: 100%; height: clamp(150px, calc(100svh - 380px), 56.25vw); object-fit: cover; object-position: 50% 30%; }
.hero-content { padding: 18px 16px 6px; background: var(--ink); }
.hero-content .wrap { padding: 0; }
.hero h1 { font-size: clamp(28px, 8.2vw, 52px); text-transform: uppercase; }
.hero-sub { font-size: 17px; margin: 8px 0 16px; max-width: 34ch; }
.hero-sub strong { color: var(--gold); }
.hero .btn { min-width: 200px; }
.hero-walk { display: block; margin-top: 12px; font-size: 14px; color: #eee; }
/* Tablet and desktop: text over the photo, kept in the lower part so it never covers the shop sign. */
@media (min-width: 700px) {
  .hero picture img { height: min(62svh, 520px); min-height: 420px; object-position: 50% 30%; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.50) 52%, rgba(0,0,0,.76) 70%, rgba(0,0,0,.86) 100%); }
  .hero-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 16px 28px; background: none; }
  .hero-sub { margin: 10px 0 18px; }
  .hero h1 { font-size: 46px; max-width: none; text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.7); }
  .hero-sub { text-shadow: 0 1px 8px rgba(0,0,0,.7); }
}
@media (min-width: 900px) {
  .hero picture img { height: 560px; }
  .hero h1 { font-size: 56px; }
  .hero-content { bottom: 40px; }
  .hero-content .wrap { padding: 0 16px; }
}


/* Info strip: hours, address, phone in ~1/3 of a phone screen */
.info { background: var(--ink); color: var(--text); }
.info .wrap { display: grid; gap: 0; padding-top: 4px; padding-bottom: 4px; }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid #2c2c2c; }
.info-row:last-child { border-bottom: 0; }
.info-row .label { display: flex; align-items: center; gap: 10px; }
.info-row svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold); }
.info-row a { font-weight: 700; color: var(--gold); text-underline-offset: 4px; padding: 12px 0; white-space: nowrap; }
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: #4cc97a; display: inline-block; }
.open-dot.closed { background: #d9534f; }
details.hours summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; }
details.hours summary::-webkit-details-marker { display: none; }
details.hours summary .more { color: var(--gold); font-weight: 700; font-size: 14px; }
details.hours[open] summary .more .when-closed, details.hours:not([open]) summary .more .when-open { display: none; }
.week { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
.week td { padding: 6px 0; border-top: 1px solid #2c2c2c; }
.week td:last-child { text-align: right; }
.week tr.today td { color: var(--gold); font-weight: 700; }
@media (min-width: 900px) {
  .info .wrap { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
  .info-row { border-bottom: 0; }
  details.hours { position: relative; }
  details.hours[open] .week { position: absolute; z-index: 5; top: 56px; left: 0; width: 280px; background: var(--ink); padding: 8px 14px; border: 1px solid #333; border-radius: 8px; }
}

/* Services */
.svc-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.06); display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.svc-card .body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc-card h3 { font-size: 18px; }
.price { font: 700 18px/1 Barlow, Inter, Arial, sans-serif; color: var(--brown); }
.svc-card .btn { margin-top: auto; }
.svc-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--cream-2); min-height: 60px; }
.svc-list li:last-child { border-bottom: 0; }
.svc-list .name { flex: 1; font-weight: 600; line-height: 1.25; }
.svc-list .name small { display: block; font-weight: 400; color: #5d5a52; font-size: 13px; margin-top: 2px; }
.svc-card .desc { margin: 0; font-size: 13px; line-height: 1.35; color: #5d5a52; }
.svc-list .price { white-space: nowrap; }
.svc-list .btn { min-width: 72px; padding: 0 12px; }
.svc-more { margin: 14px 0 0; font-size: 14px; color: #4b4840; }
@media (min-width: 900px) {
  .services-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
  .svc-feature { margin: 0; }
}

/* Barbers */
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 18px; padding: 0 16px 6px; }
.photo-strip figure { margin: 0; scroll-snap-align: start; }
.photo-strip img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); width: 100%; }
@media (min-width: 700px) { .photo-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0 0 22px; padding: 0; } }
.barbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.barber { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--gold-soft); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font: 700 26px/1 Barlow, Inter, Arial, sans-serif; position: relative; }
.avatar-note { font-size: 11px; color: #b7b2a5; letter-spacing: .04em; text-transform: uppercase; }
.barber h3 { font-size: 22px; }
.barber .role { color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.barber .btn { margin-top: auto; width: 100%; font-size: 13px; padding: 0 8px; }
@media (min-width: 900px) { .barbers { grid-template-columns: repeat(4, 1fr); gap: 16px; } .barber { padding: 20px; } }
.any-barber { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.any-barber p { margin: 0; color: var(--muted); }

/* Reviews */
.rating { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rating .score { font: 700 48px/1 Barlow, Inter, Arial, sans-serif; }
.stars { color: #c98a22; letter-spacing: 2px; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 18px; margin: 0; }
.review blockquote { margin: 6px 0 8px; font-size: 17px; }
.review figcaption { font-size: 13px; color: #5d5a52; }
@media (min-width: 900px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }

/* Journal + what's on */
.journal-card { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.journal-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.journal-card .body { padding: 16px; }
.journal-card h3 { font-size: 22px; margin: 4px 0 8px; }
.journal-card p { color: var(--muted); }
.journal-card .more { color: var(--gold-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .journal-card { grid-template-columns: 1fr 1fr; } .journal-card img { height: 100%; aspect-ratio: auto; } .journal-card .body { padding: 36px; align-self: center; } }
.events-mini { list-style: none; margin: 0; padding: 0; }
.events-mini li a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; min-height: 64px; padding: 8px 0; border-bottom: 1px solid #333; text-decoration: none; }
.date-chip { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 4px 0; font: 700 12px/1.1 Barlow, Inter, Arial, sans-serif; color: var(--gold-soft); text-transform: uppercase; }
.date-chip b { display: block; font-size: 22px; color: var(--text); }
.events-mini .t { font-weight: 600; line-height: 1.25; }
.events-mini .s { display: block; color: #b7b2a5; font-size: 13px; font-weight: 400; }
.fine { font-size: 13px; color: #b7b2a5; margin-top: 10px; }
@media (min-width: 900px) { .jw-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; } }

/* Instagram grid: 6 thumbnails */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 8px; } }

/* Footer (same on every page) */
.site-footer { background: var(--ink); color: var(--muted); padding: 32px 0 20px; font-size: 15px; }
.site-footer .cols { display: grid; gap: 20px; }
.site-footer h2 { font-size: 15px; color: var(--text); letter-spacing: .1em; margin-bottom: 8px; }
.site-footer a { color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .social { display: flex; gap: 8px; }
.site-footer .social a { width: 44px; height: 44px; justify-content: center; border: 1px solid #333; border-radius: 50%; }
.site-footer .social svg { width: 20px; height: 20px; }
.site-footer .legal { border-top: 1px solid #2a2a2a; margin-top: 20px; padding-top: 14px; font-size: 13px; }
@media (min-width: 900px) { .site-footer .cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Mobile action bar: Book · Call · Directions · WhatsApp. Body has padding so nothing is covered. */
.action-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; background: #0c0c0c; border-top: 1px solid #333; padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: var(--bar-h); color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; }
.action-bar a svg { width: 22px; height: 22px; }
.action-bar a.book { background: var(--gold); color: var(--ink); font: 700 16px/1 Barlow, Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; flex-direction: row; gap: 8px; }
@media (min-width: 900px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Inner pages */
.page-head { background: var(--ink-2); color: var(--text); padding: 28px 0 24px; }
.page-head h1 { font-size: clamp(30px, 8vw, 48px); text-transform: uppercase; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 60ch; }
.crumb { font-size: 14px; margin-bottom: 8px; }
.crumb a { color: var(--gold-soft); display: inline-flex; min-height: 44px; align-items: center; }
.article { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.article .hero-img { margin: 0 -16px 20px; }
.article .hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 760px) { .article .hero-img { margin: 0 0 24px; } .article .hero-img img { border-radius: var(--radius); } }
.article h2 { font-size: 24px; text-transform: none; letter-spacing: 0; margin: 26px 0 8px; }
.article p { font-size: 17px; line-height: 1.7; }
.article .meta { color: #5d5a52; font-size: 14px; }
.cta-box { background: var(--ink); color: var(--text); border-radius: var(--radius); padding: 20px; margin: 28px 0; display: grid; gap: 12px; }
.cta-box p { margin: 0; color: var(--muted); }
.ev-day { margin: 0 0 18px; }
.ev-day h2 { font-size: 15px; letter-spacing: .12em; color: var(--brown); margin: 0 0 8px; }
.ev { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.ev h3 { font-size: 19px; margin: 2px 0 4px; }
.ev .meta { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); }
.ev p { margin: 0; font-size: 15px; color: #3d3a33; }
.ev .src { font-size: 13px; color: #5d5a52; margin-top: 6px; }
.ev .src a { display: inline-flex; min-height: 44px; align-items: center; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.filters a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #c9bfae; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; }
.filters a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.notice { background: var(--cream-2); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }

/* Fixes after the first screenshots */
.info svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold); }
.info-row a { min-width: 44px; padding: 12px 0 12px 12px; text-align: right; }
.section-head a { min-width: 44px; padding: 10px 0 10px 8px; }
.jw-grid > div + div { margin-top: 32px; }
@media (min-width: 900px) { .jw-grid > div + div { margin-top: 0; } }
.site-footer .social a { display: inline-flex; align-items: center; }
@media (max-width: 899px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
  .site-footer ul li a { min-height: 44px; }
}
.page-head .kicker { color: var(--gold-soft); }
@media (min-width: 700px) { .photo-strip img { aspect-ratio: 4 / 3; } }

/* Floating WhatsApp button (all pages, phone and desktop). On phones it sits above the fixed bar with a 14px gap.
   The footer gets extra room at the bottom so, at the end of the page, nothing stays hidden behind it. */
:root { --wa: 58px; --wa-gap: 14px; }
.wa-float { position: fixed; z-index: 61; right: 16px; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + var(--wa-gap)); width: var(--wa); height: var(--wa); border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.22), 0 1px 3px rgba(0,0,0,.18); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-footer { padding-bottom: calc(20px + var(--wa) + var(--wa-gap) * 2); }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* Gift voucher band (home, after services). Secondary to Book: gold border, no fill. */
.voucher-band { background: var(--green); color: #fff; padding: 22px 0; }
.voucher-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.voucher-band h2 { font-size: 22px; line-height: 1.2; }
.voucher-band p { margin: 4px 0 0; color: #e6efe9; }
.voucher-band .btn { color: #fff; }
.voucher-band .btn:hover { color: var(--ink); }

/* ---- Live pages (PROTOCOLO §199, TEST) ---- */
[hidden] { display: none !important; }
.filters button { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #c9bfae; border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1 Inter, Arial, sans-serif; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.journal-list { display: grid; gap: 16px; }
.journal-list .journal-card { color: var(--text); }
.journal-list .journal-card h2 { font-size: 22px; margin: 4px 0 8px; text-transform: none; letter-spacing: 0; }
@media (min-width: 760px) { .journal-list { grid-template-columns: 1fr 1fr; } .journal-list .journal-card { grid-template-columns: 1fr; } .journal-list .journal-card img { height: auto; aspect-ratio: 16 / 10; } .journal-list .journal-card .body { padding: 18px; align-self: start; } }
.article-title { font-size: clamp(28px, 7vw, 42px); margin-bottom: 8px; }
.article .inline-img { margin: 22px 0; }
.article .inline-img img { width: 100%; border-radius: var(--radius); }
.article .inline-img figcaption { font-size: 13px; color: #5d5a52; margin-top: 6px; }
