/* Original Walker's Barbershop: traditional barbershop, modern build.
   Black and warm cream, barber-pole red with a navy accent, brass details.
   Condensed signage headlines, a classic serif italic, real photography.
   Readable first; motion is minimal and respects prefers-reduced-motion. */

:root {
  --black: #0e0d0c;
  --black-2: #171513;
  --cream: #f4ede1;
  --cream-2: #ebe2d2;
  --paper: #fbf8f2;
  --red: #b5121b;
  --red-2: #d42a2f;
  --navy: #1d2f57;
  --brass: #b08d57;
  --brass-2: #c9a978;
  /* context colours (dark by default, flipped on light sections) */
  --bg: var(--black);
  --surface: #1c1a17;
  --fg: #f4efe6;
  --muted: #b9b0a2;
  --line: rgba(244, 237, 225, 0.14);
  --line-2: rgba(244, 237, 225, 0.26);
  --heading: "Oswald", "Arial Narrow", Impact, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 32px);
  --header-h: 74px;
  --radius: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--black); color: var(--fg); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--red) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--red-2); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.45em; line-height: 1.02; color: var(--fg); }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(46px, 7.6vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.02em; line-height: 1.1; }
h4 { font-size: 17px; }
strong { font-weight: 700; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: #fff; color: #000; padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.9vw, 20px); color: var(--muted); max-width: 60ch; }
.serif, .script { font-family: var(--serif); font-style: italic; font-weight: 700; text-transform: none; letter-spacing: 0; }
.red { color: var(--red-2); }
.accent { color: var(--red-2); }

/* eyebrow: small caps label with a short pole-stripe rule */
.eyebrow { display: flex; width: fit-content; align-items: center; gap: 12px; margin: 0 0 14px; font: 600 13px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.eyebrow::before { content: ""; width: 34px; height: 6px; background: repeating-linear-gradient(-45deg, var(--red) 0 5px, #fff 5px 8px, var(--navy) 8px 13px, #fff 13px 16px); border-radius: 1px; }

/* barber-pole stripe band used as a divider */
.stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 18px, var(--navy) 18px 30px, #fff 30px 36px); }

/* ---------- logo (vector trace, recoloured through a mask) ---------- */
.logo-mark { --logo: url("../brand/logo.svg"); display: inline-block; aspect-ratio: 1142 / 647; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid var(--red); border-radius: var(--radius); background: var(--red); color: #fff; font: 600 15px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.btn:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { background: transparent; border-color: var(--fg); color: var(--fg); }
.btn--blue { background: var(--navy); border-color: var(--navy); }
.btn--blue:hover { background: #26407a; border-color: #26407a; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn--xl { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- top strip + header ---------- */
.strip { background: #000; color: var(--muted); font: 500 13px/1 var(--body); letter-spacing: 0.04em; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 36px; }
.strip a { text-decoration: none; }
.strip a:hover { color: #fff; }
.strip__info { display: flex; gap: 18px; align-items: center; overflow: hidden; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #f4efe6; font-weight: 600; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #777; flex: none; }
.status[data-open="true"] .status__dot { background: #3ccf6e; box-shadow: 0 0 0 3px rgba(60, 207, 110, 0.2); }
.status[data-open="false"] .status__dot { background: var(--red-2); }
.hide-sm { display: inline; }

.announce { background: var(--red); color: #fff; font-weight: 600; font-size: 15px; text-align: center; padding: 10px var(--pad); }
.announce a { color: #fff; font-weight: 700; margin-left: 8px; }
.announce[hidden] { display: none; }

.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(14, 13, 12, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; color: #fff; text-decoration: none; flex: none; }
.brand .logo-mark { width: 112px; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 13px; font: 500 14px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: #d8d0c3; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--red-2); transform: scaleX(0); transition: transform 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius); color: #fff; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 70; background: var(--black); display: none; flex-direction: column; padding: 96px var(--pad) 120px; overflow-y: auto; }
.menu-open .drawer { display: flex; }
.drawer a { font: 700 34px/1.2 var(--heading); text-transform: uppercase; text-decoration: none; padding: 8px 0; color: #fff; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--red-2); }
.drawer .drawer__meta { margin-top: 24px; color: var(--muted); font-size: 15px; }

.dock { display: none; position: fixed; z-index: 65; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(14, 13, 12, 0.97); border-top: 1px solid var(--line-2); gap: 8px; }
.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: var(--radius); text-decoration: none; font: 600 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: #f4efe6; border: 1px solid var(--line); }
.dock a svg { width: 20px; height: 20px; }
.dock a.dock__book { background: var(--red); border-color: var(--red); color: #fff; flex: 1.5; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: center; overflow: hidden; padding: 56px 0 72px; background: var(--black); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.85) contrast(1.05) brightness(0.62); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, 0.94) 0%, rgba(14, 13, 12, 0.78) 45%, rgba(14, 13, 12, 0.35) 100%), linear-gradient(180deg, transparent 60%, var(--black) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; }
.hero__logo { display: block; width: min(250px, 58vw); color: #fff; margin-bottom: 22px; }
.hero h1 { margin-bottom: 10px; }
.hero h1 .line { display: block; }
.hero__since { display: block; font: italic 700 clamp(26px, 3.4vw, 40px)/1.1 var(--serif); color: var(--brass-2); margin: 0 0 20px; text-transform: none; }
.hero .lead { color: #ddd5c8; margin-bottom: 28px; }
.hero__proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #cfc6b8; font-size: 15px; }
.hero__proof b { color: #fff; }
.hero__proof .stars { color: var(--brass-2); letter-spacing: 2px; }

/* classic chrome barber pole */
.pole-wrap { justify-self: center; height: min(520px, 60vh); display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); }
.pole-cap { width: 96px; height: 40px; border-radius: 48px 48px 8px 8px; background: linear-gradient(90deg, #4a4339, #efe6d6 35%, #a8987c 60%, #3a342c); }
.pole-cap--bottom { border-radius: 8px 8px 48px 48px; }
.pole-ring { width: 84px; height: 10px; background: linear-gradient(90deg, #3a342c, #d9ccb4 40%, #8a7b62 70%, #2a251f); }
.pole { position: relative; flex: 1; width: 72px; overflow: hidden; background: repeating-linear-gradient(-55deg, var(--red) 0 20px, #fbf8f2 20px 32px, var(--navy) 32px 52px, #fbf8f2 52px 64px); background-size: 100% 200%; animation: pole 4s linear infinite; }
.pole::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.5) 36%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.55)); }
@keyframes pole { to { background-position: 0 -128px; } }
.pole-label { display: none; }

/* proof ribbon under the hero */
.ribbon { background: var(--cream); color: var(--black); }
.ribbon .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.ribbon__item { padding: 22px 18px; display: flex; gap: 14px; align-items: center; border-right: 1px solid rgba(14, 13, 12, 0.12); }
.ribbon__item:last-child { border-right: 0; }
.ribbon__item b { display: block; font: 700 22px/1.1 var(--heading); text-transform: uppercase; }
.ribbon__item span { font-size: 14px; color: #5b5348; }
.ribbon__item svg { width: 30px; height: 30px; color: var(--red); flex: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(68px, 9vw, 116px) 0; background: var(--bg); }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--panel { --bg: var(--black-2); }
.section--light, .page-hero--light {
  --bg: var(--cream);
  --surface: var(--paper);
  --fg: #16130f;
  --muted: #5d554a;
  --line: rgba(22, 19, 15, 0.13);
  --line-2: rgba(22, 19, 15, 0.26);
  color: var(--fg);
  color-scheme: light;
}
.section--light .eyebrow { color: var(--red); }
.section--light .btn--ghost { color: var(--fg); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.section__head h2 { margin: 0; }
.section__head p { max-width: 46ch; margin: 0; color: var(--muted); }
.bignum { display: none; }

/* inner page hero */
.page-hero { position: relative; padding: clamp(46px, 6.5vw, 88px) 0 clamp(36px, 5vw, 60px); background: var(--black); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 84px); max-width: 18ch; }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* the short answer under every H1 (kept plain: it's the page intro) */
.answer { font-size: clamp(18px, 1.9vw, 20px); line-height: 1.6; color: #e2dacd; max-width: 68ch; margin: 14px 0 0; padding-left: 18px; border-left: 3px solid var(--red); }

/* card */
.hud { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.hud--blue { border-top: 3px solid var(--navy); }
.hud:not(.hud--blue) { border-top: 3px solid var(--red); }
.hud__label { display: block; font: 600 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* chips (review filter) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--fg); font: 500 14px/1 var(--body); padding: 11px 16px; cursor: pointer; transition: 0.15s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* ---------- menu board (prices) ---------- */
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.menu__item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.menu__item::after { content: ""; grid-column: 2; grid-row: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-6px); }
.menu__item:hover .menu__name { color: var(--red); }
.menu__name { grid-column: 1; grid-row: 1; font: 600 21px/1.15 var(--heading); text-transform: uppercase; letter-spacing: 0.02em; transition: color 0.15s; }
.menu__price { grid-column: 3; grid-row: 1; font: 700 24px/1 var(--heading); }
.menu__price sup { font-size: 0.6em; margin-right: 1px; }
.menu__meta { grid-column: 1 / -1; display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 15px; }
.menu__meta .mono { flex: none; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; color: var(--red); }
.menu__item--hot .menu__name::after { content: "Popular"; font: 600 10px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 4px 7px; border-radius: 2px; margin-left: 10px; vertical-align: 3px; }

.presidente { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 40px); margin-top: 40px; background: var(--black); color: #f4efe6; border-radius: var(--radius); border: 1px solid var(--brass); box-shadow: inset 0 0 0 6px var(--black), inset 0 0 0 7px rgba(176, 141, 87, 0.5); }
.presidente h3 { font-size: clamp(36px, 4.6vw, 56px); color: var(--brass-2); margin: 0 0 8px; }
.presidente .lead { color: #cfc6b8; }
.presidente .eyebrow { color: var(--brass-2) !important; }
.presidente .price { font: 700 clamp(56px, 7vw, 88px)/0.9 var(--heading); color: #fff; }
.presidente .muted { color: #b9b0a2; }
.presidente .btn--ghost { color: #f4efe6; border-color: rgba(244, 237, 225, 0.3); }

/* ---------- barber cards ---------- */
.crew { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.holo { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.holo:hover { transform: translateY(-4px); border-color: var(--brass); color: inherit; }
.holo__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.holo__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.04); transition: transform 0.5s; }
.holo:hover .holo__img img { transform: scale(1.04); }
.holo__id { position: absolute; top: 10px; left: 10px; font: 600 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(14, 13, 12, 0.82); color: var(--brass-2); padding: 6px 8px; border-radius: 2px; }
.holo__vet { position: absolute; bottom: 10px; left: 10px; font: 700 10px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 6px 8px; border-radius: 2px; }
.holo__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.holo__name { font: 700 22px/1.05 var(--heading); text-transform: uppercase; }
.holo__role { font: 600 11px/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-2); }
.holo__line { font-size: 14px; color: var(--muted); line-height: 1.45; }
.holo__go { margin-top: auto; padding-top: 10px; font: 600 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.holo__go::after { content: " →"; color: var(--red-2); }

/* ---------- story / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 20px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(40px, 5vw, 60px)/1 var(--heading); color: var(--fg); }
.stat span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.frame { position: relative; padding: 12px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.5); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.section:not(.section--light) .frame { background: #23201c; }

.award { display: flex; gap: 20px; align-items: flex-start; }
.award__seal { flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 2px solid var(--brass); color: var(--brass); font: 600 11px/1.1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px var(--brass); padding: 12px; }
.award__seal b { display: block; font: 700 28px/1 var(--heading); }
blockquote { margin: 0; }
.quote { font: italic 500 clamp(19px, 2vw, 23px)/1.5 var(--serif); }
.quote cite { display: block; margin-top: 12px; font: 600 12px/1.4 var(--body); letter-spacing: 0.12em; text-transform: uppercase; font-style: normal; color: var(--muted); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font: 600 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.badge:nth-child(even) i { background: var(--navy); }

/* ---------- reviews ---------- */
.rev-filter { margin-bottom: 22px; }
.rev-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 370px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.rev[hidden] { display: none; }
.rev__stars { color: var(--brass); letter-spacing: 3px; font-size: 15px; }
.rev__text { font: italic 400 18px/1.55 var(--serif); margin: 0; }
.rev__by { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.rev__by a { color: var(--red-2); text-decoration: none; font-weight: 600; }
.ratings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.rating { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.rating b { font: 700 46px/1 var(--heading); }
.rating .rev__stars { font-size: 13px; }
.rating span { font-size: 13px; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; transition: transform 0.5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure::after { content: attr(data-tag); position: absolute; left: 10px; top: 10px; font: 600 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(14, 13, 12, 0.8); color: #fff; padding: 6px 8px; border-radius: 2px; }
.gallery button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 2px solid var(--brass); }
.strip-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip-gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.strip-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.strip-gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; }
.lightbox p { color: #ccc; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: #2a2622; }
.map__static { position: absolute; inset: 0; }
.map__static img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) saturate(0.8); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__radar { position: absolute; inset: 0; display: grid; place-items: center; }
.map__pin { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; padding: 20px; }
.map__pin svg { width: 40px; height: 40px; color: var(--red-2); }
.map__pin strong { font: 700 24px/1.1 var(--heading); text-transform: uppercase; }
.map__roads { display: none; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; font: 700 10px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 6px; border-radius: 2px; vertical-align: 2px; }
.hours .closed { color: var(--muted); }
.nap { font-style: normal; font-size: 18px; line-height: 1.5; }
.nap a { font-weight: 600; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { position: relative; padding-left: 26px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 13px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 14px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); color: #16130f; font: 400 16px/1.4 var(--body); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29, 47, 87, 0.2); }
.hp { position: absolute; left: -5000px; }

/* ---------- on-site booking ---------- */
.book-app { max-width: 820px; }
.bookflow { display: grid; gap: 18px; }
.bookflow h2 { margin: 0; }
.bookflow__steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font: 600 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bookflow__steps li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; }
.bookflow__steps .is-on { color: #fff; background: var(--red); border-color: var(--red); }
.bookflow__steps .is-done { color: var(--fg); border-color: var(--brass); }
.bookflow__grid, .bookflow__days, .bookflow__times { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.book-choice, .book-day, .book-time {
  display: grid; gap: 6px; text-align: left; padding: 16px; min-height: 72px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: #16130f;
  cursor: pointer; font: 600 16px/1.3 var(--body);
}
.book-choice span, .book-day small { font-weight: 500; color: #5c564c; font-size: 14px; }
.book-choice.is-on, .book-day.is-on, .book-time.is-on { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.book-day.is-closed { opacity: 0.45; cursor: not-allowed; }
.bookflow__sum { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.bookflow__sum li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bookflow__sum li:last-child { border-bottom: 0; }
.bookflow__fallback { font-size: 14px; }
.section--light .book-choice, .section--light .book-day, .section--light .book-time { background: #fff; }
.form__msg { font-size: 15px; padding: 12px 14px; border-left: 3px solid var(--navy); background: rgba(29, 47, 87, 0.12); }
.form__msg[data-kind="error"] { border-color: var(--red); background: rgba(181, 18, 27, 0.1); }
.form__msg[hidden] { display: none; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font: 600 19px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 20px; color: var(--red-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 20px; color: var(--muted); max-width: 78ch; }

/* ---------- prose / detail layouts ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { font-size: 18px; line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 1.5em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--red); }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside .price-big { font: 700 64px/1 var(--heading); }
.related { display: grid; gap: 8px; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.related a:hover { border-color: var(--red); color: inherit; }
.related a span { color: var(--muted); font-weight: 500; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: transform 0.2s; }
.card-link:hover { transform: translateY(-3px); color: inherit; }
.card-link:hover h3 { color: var(--red-2); }
.card-link p { color: var(--muted); margin: 0; font-size: 16px; }
.card-link .go { margin-top: auto; font: 600 13px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.card-link .go::after { content: " →"; color: var(--red-2); }

.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile__photo { position: sticky; top: calc(var(--header-h) + 20px); }
.profile__photo .holo { pointer-events: none; }
.facts { display: grid; border: 1px solid var(--line); border-radius: var(--radius); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; text-align: right; }

.cta-band { position: relative; text-align: center; padding: clamp(76px, 11vw, 132px) 0; background: var(--black); border-top: 8px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 18px, var(--navy) 18px 30px, #fff 30px 36px) 8; }
.cta-band .eyebrow { margin-inline: auto; }
.cta-band h2 { font-size: clamp(40px, 6.6vw, 84px); }
.cta-band h2 .neon-red { display: block; font: italic 700 0.62em/1.2 var(--serif); color: var(--brass-2); text-transform: none; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* legacy hooks kept neutral */
.neon-red, .neon-blue { color: inherit; }
.outline { color: inherit; }

/* ---------- footer ---------- */
.footer { background: #080807; padding: 64px 0 110px; font-size: 15px; color: #a79e90; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font: 600 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo-mark { width: 150px; color: #fff; margin-bottom: 16px; }
.footer .hours th, .footer .hours td { border-color: rgba(244, 237, 225, 0.1); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 237, 225, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8a8174; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(244, 237, 225, 0.2); border-radius: 50%; color: #e8e1d5; }
.socials a:hover { border-color: var(--red-2); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* gentle reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { padding: 10px 9px; font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__cta .btn--ghost { display: none; }
  .menu-btn { display: grid; }
  .dock { display: flex; }
  .hero { min-height: auto; padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(14, 13, 12, 0.7), rgba(14, 13, 12, 0.92) 70%, var(--black)); }
  .pole-wrap { display: none; }
  .ribbon .wrap { grid-template-columns: 1fr; }
  .ribbon__item { border-right: 0; border-bottom: 1px solid rgba(14, 13, 12, 0.12); }
  .ribbon__item:last-child { border-bottom: 0; }
  .visit, .split, .layout, .profile, .page-hero__grid { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cards, .rev-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside, .profile__photo { position: static; }
  .profile__photo { max-width: 340px; }
  .presidente { grid-template-columns: 1fr; }
  .presidente > div:last-child { text-align: left !important; }
  .presidente .btn-row { justify-content: flex-start !important; }
  .hide-sm { display: none; }
  .footer { padding-bottom: 130px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .holo__name { font-size: 19px; }
  .holo__line { display: none; }
  .cards, .rev-grid, .grid-2, .grid-3, .form .row { grid-template-columns: 1fr; }
  .header__cta .btn { display: none; }
  .brand .logo-mark { width: 96px; }
  .hud { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { min-height: 300px; }
  .strip-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__meta { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .strip, .header, .dock, .cta-band, .footer { display: none !important; }
  body { background: #fff; color: #000; }
}

/* on a barber's own profile the photo is shown as is */
.profile__photo .holo__img img { filter: none; }
.rev__tag { font: 600 12px/1.6 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-2); }
.section--light .rev__tag { color: var(--red); }
