/* ==========================================================================
   BRBR. Club — Barber & Grooming
   One stylesheet for every page. Black and white only.
   Phone first; larger screens at 640px, 1024px and 1280px.
   ========================================================================== */

:root {
  --black: #000000;
  --ink-800: #0d0d0d;
  --ink-700: #171717;
  --ink-600: #222222;
  --white: #ffffff;
  --grey-300: #e5e5e5;
  --grey-400: #a3a3a3;
  --grey-500: #737373;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.3);

  --font-display: "Archivo", "Arial Black", Arial, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.12, 1);
  --header-h: 72px;
  --gutter: 16px;
  --max: 1360px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
svg.icon { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.brand { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--ink-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--light { background: var(--white); color: var(--black); }
.grid { display: grid; gap: 12px; }
.stack > * + * { margin-top: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow--line::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.display-xl {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.045em;
  font-size: clamp(44px, 9vw, 132px);
}
.display-lg {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 0.94; letter-spacing: -0.035em;
  font-size: 36px;
}
.lede { color: var(--grey-400); font-size: 16px; line-height: 1.65; max-width: 640px; }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section--light .outline { -webkit-text-stroke-color: var(--black); }
.outline { -webkit-text-stroke-color: var(--white); }
.muted { color: var(--grey-400); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--white); background: var(--white); color: var(--black);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:hover { background: var(--grey-300); border-color: var(--grey-300); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; letter-spacing: 0.16em; }
.btn--block { width: 100%; }
.btn .icon, .btn .brand { font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(0, 0, 0, 0.82); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.main-nav { display: none; }
.main-nav a {
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); white-space: nowrap; transition: color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { display: none; }
.chat-btn .label { display: inline; }
.menu-toggle { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.menu-toggle span { position: absolute; width: 24px; height: 1px; background: var(--white); transition: transform 0.3s var(--ease); }
.menu-toggle span:first-child { transform: translateY(-5px); }
.menu-toggle span:last-child { transform: translateY(5px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

/* Menu (all screen sizes) */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: var(--black);
  overflow-y: auto; padding: 16px var(--gutter) 120px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-nav a, .mobile-nav button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; text-align: left;
}
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mobile-nav .num { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--grey-500); }

/* Phone booking bar */
.book-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: flex; gap: 8px;
  padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(0,0,0,0.88); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.book-bar .btn { min-height: 48px; }
.book-bar .btn:first-child { flex: 1; }
body.has-bar { padding-bottom: 76px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 140px 0 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -160px; left: 33%; width: 620px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.08); filter: blur(140px); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .lede { margin-top: 28px; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; opacity: 0.8; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.3) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 50%, transparent); }
.hero .container { padding-top: 112px; padding-bottom: 40px; }
.hero__logo { width: clamp(240px, 46vw, 620px); }
.hero__bottom { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); display: grid; gap: 28px; }
.hero__tagline { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__line { margin-top: 12px; color: rgba(255,255,255,0.75); max-width: 640px; }

/* ---------- Cards and boxes ---------- */
.card { border: 1px solid var(--line); background: var(--ink-800); padding: 24px; }
.card--glass { background: rgba(13,13,13,0.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.card h3 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }

/* About pillars (white section) */
.about-lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.about-body { margin-top: 28px; font-size: 18px; line-height: 1.65; color: #555; max-width: 760px; }
.pillars { margin-top: 56px; display: grid; border-top: 1px solid rgba(0,0,0,0.15); }
.pillar { padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,0.15); }
.pillar .mono { color: #777; }
.pillar h3 { margin-top: 20px; font-size: 24px; text-transform: uppercase; }
.pillar p { margin-top: 10px; color: #555; font-size: 15px; }

/* Photo tiles */
.photo-tile { position: relative; overflow: hidden; background: var(--ink-800); aspect-ratio: 4 / 5; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,0.2) 45%, transparent); }
.photo-tile figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 24px; }
.photo-tile .title { font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.photo-tile .caption { margin-top: 4px; color: rgba(255,255,255,0.8); font-size: 15px; }

/* ---------- Services ---------- */
.cat-tabs { position: sticky; top: var(--header-h); z-index: 20; background: rgba(0,0,0,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cat-tabs__scroll { display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.cat-tabs__scroll::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex-shrink: 0; padding: 10px 14px; border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.cat-tabs a.is-active, .cat-tabs a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.menu-cat { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.menu-cat__head h2 { font-size: 26px; text-transform: uppercase; letter-spacing: -0.02em; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: 18px; text-transform: uppercase; letter-spacing: -0.01em; }
.svc p { color: var(--grey-400); font-size: 14px; margin-top: 4px; }
.svc .price { font-family: var(--font-display); font-weight: 800; font-size: 18px; white-space: nowrap; }
.svc .btn { grid-column: 1 / -1; justify-self: start; min-height: 40px; padding: 0 14px; font-size: 11px; }
.extras { display: grid; gap: 12px; margin-top: 56px; }
.rates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: 20px; }
.rates div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rates div:nth-child(2n) { border-right: 0; }
.rates div:nth-last-child(-n+2) { border-bottom: 0; }
.rates .mono { display: block; }
.rates strong { font-family: var(--font-display); font-size: 18px; }

/* ---------- Membership ---------- */
.perks { display: grid; gap: 12px; }
.perk .icon-box { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 18px; }
.perk h3 { margin-top: 20px; }
.perk p { margin-top: 10px; color: var(--grey-400); font-size: 15px; }
.tiers { display: grid; gap: 12px; }
.tier { display: flex; flex-direction: column; position: relative; }
.tier--top { border-color: var(--white); background: var(--ink-700); }
.tier .badge { position: absolute; top: -1px; right: -1px; background: var(--white); color: var(--black); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 10px; }
.tier .tagline { margin-top: 8px; color: var(--grey-400); }
.tier .price { margin: 24px 0; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.tier .price small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--grey-500); }
.ticks { border-top: 1px solid var(--line); padding-top: 16px; flex: 1; }
.ticks li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: rgba(255,255,255,0.88); }
.ticks .icon { margin-top: 4px; font-size: 14px; }
.tier .btn { margin-top: 24px; }
.feature-tier { display: grid; gap: 24px; margin-top: 12px; }
.feature-tier h3 { font-size: 36px; line-height: 0.95; }
.note { margin-top: 24px; color: var(--grey-500); font-size: 14px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink-800); }
.compare tbody th { font-weight: 500; color: var(--grey-400); }
.compare td.none { color: rgba(115,115,115,0.6); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
.field-label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-400); }
.field {
  width: 100%; border: 1px solid rgba(255,255,255,0.15); border-radius: 0; background: var(--ink-800); color: var(--white);
  padding: 14px 16px; font: inherit; font-size: 16px; transition: border-color 0.2s;
}
.field:focus { outline: none; border-color: var(--white); }
textarea.field { resize: vertical; min-height: 130px; }
select.field { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--grey-400); line-height: 1.5; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--white); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.error { color: #fca5a5; font-size: 13px; margin-top: 6px; }
.field.is-invalid { border-color: #fca5a5; }
.form-done { border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); padding: 40px 24px; text-align: center; }
.form-done .icon { font-size: 40px; margin: 0 auto; }
.form-done h3 { margin-top: 16px; font-size: 24px; }
.form-done p { margin-top: 8px; color: var(--grey-400); }
.tier-pick { display: grid; gap: 8px; }
.tier-pick label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; }
.tier-pick label:has(input:checked) { border-color: var(--white); background: var(--ink-700); }
.tier-pick input { accent-color: var(--white); }

/* ---------- The week ---------- */
.week { display: grid; gap: 12px; }
.day { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--ink-800); }
.day__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.day__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.day:hover .day__photo img { transform: scale(1.05); }
.day__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,0.1) 40%, transparent); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 12px; }
.tag--solid { background: var(--white); color: var(--black); font-weight: 700; }
.tag--line { border: 1px solid rgba(255,255,255,0.7); background: rgba(0,0,0,0.6); }
.day .tag--solid { position: absolute; left: 16px; top: 16px; z-index: 1; }
.day .tag--line { position: absolute; left: 16px; bottom: 16px; z-index: 1; }
.day__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 20px; }
.day__body h2 { font-size: 22px; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.015em; }

/* ---------- Reviews ---------- */
.rating-bar { display: grid; gap: 24px; align-items: center; }
.rating-bar .score { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stars { display: flex; gap: 4px; }
.stars .icon { fill: var(--white); stroke: var(--white); font-size: 16px; }
.stars--lg .icon { font-size: 20px; }
.reviews { display: grid; gap: 12px; margin-top: 12px; }
.review { display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
.review h3 { margin-top: 24px; font-size: 18px; }
.review .with { color: var(--grey-400); font-size: 14px; }
.review .mono { margin-top: 28px; }
.review-cta { display: grid; gap: 24px; align-items: center; margin-top: 40px; }
.qr { background: var(--white); padding: 12px; width: 140px; }
.qr img { width: 100%; image-rendering: pixelated; }

/* ---------- 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; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 28px; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--grey-400); max-width: 760px; }

/* ---------- Contact & find us ---------- */
.contact-grid { display: grid; gap: 56px; }
.contact-list > div { display: flex; gap: 16px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.contact-list .icon { margin-top: 4px; }
.contact-list a, .contact-list p.value { display: inline-block; padding: 4px 0; font-size: 18px; }
.socials { display: flex; gap: 8px; margin-top: 28px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.15); font-size: 18px; transition: border-color 0.2s; }
.socials a:hover { border-color: var(--white); }
.find-grid { display: grid; gap: 12px; margin-top: 48px; }
.qr-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding: 32px; }
.qr-panel .qr { width: 248px; padding: 16px; }
.qr-panel h3 { font-size: 26px; text-transform: uppercase; }
.qr-panel p { margin: 8px auto 0; max-width: 360px; color: var(--grey-400); }
.find-info { display: flex; flex-direction: column; gap: 28px; padding: 32px; }
.find-info .eyebrow { margin-bottom: 10px; gap: 8px; }
.find-info .address { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; }
.find-info .actions { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Book ---------- */
.book-options { display: grid; gap: 12px; }
.book-option { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px; border: 1px solid rgba(255,255,255,0.15); background: var(--ink-800); }
.book-option .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.book-option .big-icon { font-size: 32px; }
.book-option h2 { margin-top: 28px; font-size: 30px; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.book-option ul { margin-top: 20px; color: var(--grey-400); }
.book-option li { padding: 4px 0; }
.book-option .qr { display: none; width: 132px; }
.book-option .help { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-400); text-decoration: underline; text-underline-offset: 4px; }
.book-option .help:hover { color: var(--white); }

/* ---------- Policies / 404 ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--grey-400); margin-top: 18px; font-size: 17px; }
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer-top { display: grid; gap: 48px; }
.footer-brand img { width: 200px; }
.footer-brand .slogan { margin-top: 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2em; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 10px; }
.footer-cols a, .footer-cols p { display: block; padding: 7px 0; color: var(--grey-400); font-size: 14px; line-height: 1.45; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- The Borough Guy chat ---------- */
.chat {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--black);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); padding-top: max(14px, env(safe-area-inset-top)); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: var(--ink-800); overflow: hidden; }
.chat__avatar img { width: 28px; }
.chat__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: -0.01em; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grey-400); }
.chat__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.chat__close { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 18px; }
.chat__log { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.msg { max-width: 88%; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.msg--bot { align-self: flex-start; border: 1px solid var(--line); background: var(--ink-800); }
.msg--user { align-self: flex-end; background: var(--white); color: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.chip { padding: 9px 13px; border: 1px solid var(--line-strong); font-size: 13px; line-height: 1.2; transition: background 0.2s, color 0.2s; text-align: left; }
.chip:hover { background: var(--white); color: var(--black); }
.chip--link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-color: var(--white); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-400); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat__form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.chat__form .field { flex: 1; padding: 12px 14px; }
.chat__send { width: 50px; display: grid; place-items: center; background: var(--white); color: var(--black); font-size: 18px; }

/* ---------- Scroll reveal (only when JavaScript runs: content is never hidden without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   640px and up: large phones in landscape, tablets
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .section { padding: 112px 0; }
  .display-lg { font-size: 48px; }
  .lede { font-size: 18px; }
  .header-actions .btn { display: inline-flex; }
  .book-bar { display: none; }
  body.has-bar { padding-bottom: 0; }
  .page-hero { padding: 176px 0 80px; }
  .hero .container { padding-top: 144px; padding-bottom: 56px; }
  .hero__tagline { font-size: 24px; }
  .hero__line { font-size: 18px; }
  .grid--2, .week, .reviews, .book-options, .perks { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 28px 24px 28px 0; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .rating-bar { grid-template-columns: auto 1fr auto; }
  .rating-bar .score { font-size: 76px; }
  .review-cta { grid-template-columns: auto 1fr auto; }
  .book-option .qr { display: block; }
  .chat { inset: auto 24px 24px auto; width: 400px; height: min(640px, calc(100vh - 48px)); border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .rates { grid-template-columns: repeat(4, 1fr); }
  .rates div { border-bottom: 0; }
  .rates div:nth-child(2n) { border-right: 1px solid var(--line); }
  .rates div:last-child { border-right: 0; }
}

/* ==========================================================================
   1024px and up: laptops and desktops
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --gutter: 48px; }
  .section { padding: 144px 0; }
  .display-lg { font-size: 72px; }
  .outline { -webkit-text-stroke-width: 2px; }
  /* The menu button is used on every screen size; the row of nav links stays hidden. */
  .mobile-nav { padding-top: 32px; padding-bottom: 80px; }
  .mobile-nav > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
  .mobile-nav a, .mobile-nav button { font-size: 44px; padding: 20px 0; transition: color 0.2s, padding-left 0.3s var(--ease); }
  .mobile-nav a:hover, .mobile-nav button:hover { padding-left: 12px; color: var(--grey-300); }
  .mobile-nav .num { font-size: 13px; }
  .chat-btn { padding: 0 12px; }
  .chat-btn .label { display: none; }
  .split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; }
  .split > :first-child { grid-column: span 7; }
  .split > :last-child { grid-column: 9 / span 4; }
  .hero .container { padding-bottom: 72px; }
  .grid--3, .week { grid-template-columns: repeat(3, 1fr); }
  .week--5 { grid-template-columns: repeat(5, 1fr); }
  .week--5 .day__photo { aspect-ratio: 3 / 5; }
  .week--5 .day__body h2 { font-size: 19px; }
  .reviews { grid-template-columns: repeat(4, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(4, 1fr); }
  .feature-tier { grid-template-columns: 5fr 7fr; align-items: center; padding: 40px; }
  .feature-tier h3 { font-size: 48px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillar { padding: 32px 24px 32px 0; border-bottom: 0; border-right: 1px solid rgba(0,0,0,0.15); }
  .pillar + .pillar { padding-left: 24px; }
  .pillar:last-child { border-right: 0; }
  .contact-grid { grid-template-columns: 5fr 6fr; gap: 96px; }
  .find-grid { grid-template-columns: 7fr 5fr; }
  .qr-panel { min-height: 520px; }
  .find-info { padding: 40px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 2fr; }
  .menu-cat__head h2 { font-size: 32px; }
  .svc { grid-template-columns: 1fr auto auto; align-items: center; }
  .svc .btn { grid-column: auto; }
  .faq summary { font-size: 22px; }
}

/* ==========================================================================
   1280px and up: wide screens
   ========================================================================== */
@media (min-width: 1280px) {
  .chat-btn { padding: 0 18px; }
  .chat-btn .label { display: inline; }
  .hero__bottom { grid-template-columns: 7fr 5fr; align-items: end; }
  .hero__bottom .btn-row { justify-content: flex-end; }
}

/* Chat open on a phone: stop the page behind it from scrolling */
@media (max-width: 639px) { .chat-open, .chat-open body { overflow: hidden; } }

/* Grid and card contents may shrink to the screen; full-width buttons wrap their words */
.grid > *, .tiers > *, .feature-tier > *, .week > *, .reviews > *, .book-options > *, .find-grid > *, .contact-grid > *, .perks > *, .split > *, .footer-cols > * { min-width: 0; }
.btn--block { white-space: normal; line-height: 1.3; padding-top: 12px; padding-bottom: 12px; }

/* Phones: keep the opening screen's buttons clear of the booking bar */
@media (max-width: 639px) { .hero .container { padding-bottom: 104px; } }
@media (max-width: 639px) {
  .hero .container { padding-top: 96px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero__logo { width: min(58vw, 230px); }
  .hero__bottom { margin-top: 24px; padding-top: 20px; gap: 20px; }
  .hero__tagline { font-size: 17px; }
  .hero__line { font-size: 15px; margin-top: 8px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 639px) {
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 11px; letter-spacing: 0.1em; min-height: 48px; white-space: normal; line-height: 1.25; }
  .hero .btn-row .btn .icon { display: none; }
}

/* ---------- Homepage welcome statement (white) ---------- */
.welcome__grid { display: grid; gap: 24px; }
.welcome__eyebrow { color: #6b6b6b; }
.statement {
  font-family: var(--font-display); font-weight: 700; color: var(--black);
  font-size: clamp(28px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.statement .soft { color: #8a8a8a; }
@media (min-width: 1024px) {
  .welcome__grid { grid-template-columns: repeat(12, 1fr); gap: 32px; }
  .welcome__eyebrow { grid-column: span 3; padding-top: 14px; }
  .statement { grid-column: 4 / span 9; }
}
.welcome__eyebrow { align-self: start; }

/* Homepage points (01–04) */
.pillar p.mono { margin-top: 0; font-size: 12px; color: #6b6b6b; }
.pillar p:not(.mono) { line-height: 1.6; }
@media (min-width: 640px) and (max-width: 1023px) {
  .pillar:nth-child(2n) { border-left: 1px solid rgba(0,0,0,0.15); padding-left: 24px; }
}

/* Bold line above a page introduction (Membership) */
.intro-strong { margin-top: 28px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
@media (min-width: 640px) { .intro-strong { font-size: 26px; } }

/* ---------- Homepage: the founder's story ---------- */
.story__grid { display: grid; gap: 48px; margin-top: 48px; }
.story__part { border-top: 1px solid var(--line); padding-top: 24px; }
.story__part > p + p { margin-top: 16px; }
.story__part p { color: var(--grey-400); font-size: 17px; line-height: 1.7; }
.story__part p.mono { color: var(--grey-500); font-size: 11px; line-height: 1.4; }
.story__part p.story__lead { margin-top: 18px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.story__part p.story__sign { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.founder { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder__name { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: -0.01em; }
.founder .mono { margin-top: 6px; }
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 72px; }
  .story__part p.story__lead { font-size: 32px; }
}

/* Homepage: link to Our Story */
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: #333; border-color: #333; }
@media (min-width: 1024px) { .welcome__more { grid-column: 4 / span 9; } }

/* Our Story: the story opens the page */
.story--top { padding-top: 150px; }
@media (min-width: 640px) { .story--top { padding-top: 176px; } }


/* ---------- Backend connection: login link + online booking request ---------- */
/* Login: a button the same size as Book now, in outline so Book now stays the main one */
.login-link {
  display: none; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; white-space: nowrap;
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); border: 1px solid var(--line-strong); background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.login-link:hover { background: var(--white); color: var(--black); border-color: var(--white); }
@media (min-width: 640px) { .login-link { display: inline-flex; } }
.svc-group { margin-bottom: 18px; }
.svc-group h4 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-500); font-weight: 500; }
.svc-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc-grid label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; font-size: 15px; }
.svc-grid label:has(input:checked) { border-color: var(--white); background: var(--ink-700); }
.svc-grid input { accent-color: var(--white); width: 18px; height: 18px; flex-shrink: 0; margin: 0 10px 0 0; }
.svc-grid .nm { display: flex; align-items: center; flex: 1; }
.svc-grid .pr { color: var(--grey-400); font-size: 13px; white-space: nowrap; }
