/* ==========================================================================
   La Barberia Barbershop & Salon — pitch demo
   Ultra-modern dark chrome. Plain CSS, no build step, no framework.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* grounds */
  --ink: #0a0b0d;
  --ink-2: #121417;
  --ink-3: #1a1d21;

  /* chrome / metal */
  --chrome-hi: #e9edf2;
  --chrome: #b9c0c9;
  --gunmetal: #6b7178;
  --steel-line: #2a2f36;

  /* accents (restrained — barber pole) */
  --pole-red: #d21f2c;
  --pole-blue: #1f47c8;
  /* brighter red for text-on-dark use (stars, labels) — #d21f2c only hits ~3.5:1
     on card backgrounds, which fails WCAG AA for small text; this hits 6:1+ */
  --pole-red-text: #ff5c68;

  /* text */
  --text: #eef1f5;
  --muted: #9aa2ab;

  /* type */
  --font-display: "Arial Black", "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* spacing (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-12: 96px;

  --section-pad: clamp(36px, 4.5vw, 56px); /* was clamp(64px,9vw,120px) — Jason 2026-09-04: too much negative space */
  --content-max: 1120px;
  --gutter: clamp(20px, 5vw, 40px);

  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* The `hidden` attribute's UA-stylesheet display:none loses to any author
   rule that sets `display` on the same element (e.g. .hiring-form{display:
   flex}), so it silently stops hiding things. Force it back to authoritative. */
[hidden] {
  display: none !important;
}

* {
  touch-action: manipulation;
}

input, select, textarea {
  font-size: max(16px, 1rem);
}

:focus-visible {
  outline: 2px solid var(--chrome-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: -60px;
  background: var(--chrome-hi);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--sp-2);
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* 2026-09-13: the first section after the mast starts closer to the logotype
   (Jason: "the next section higher and closer to the top"). Only the TOP
   offset of #visit changes; its bottom padding and every other section keep
   --section-pad. */
#visit {
  --visit-overlap: clamp(120px, 11vw, 160px);
  padding-top: 0;
  margin-top: calc(-1 * var(--visit-overlap));
  position: relative;
  z-index: 3; /* above .hero-video (0), .hero::before (1) and .hero > .wrap (2) */
}

.divider {
  height: 1px;
  background: var(--steel-line);
  border: none;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--chrome-hi), var(--chrome) 55%, var(--gunmetal));
  color: #0c0d0f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 16px 30px -12px rgba(0, 0, 0, 0.7);
}

/* ---------- Dot (small accent indicator) ---------- */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pole-red);
  box-shadow: 0 0 8px var(--pole-red);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Cards (reusable) ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: var(--sp-3);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chrome-hi), transparent);
  opacity: 0.55;
}

/* ---------- Sheen (metallic sweep, reduced-motion safe) ---------- */
.sheen {
  position: relative;
  isolation: isolate;
  /* Clips the sweep pseudo-element (below) to the element's own box. Most
     .sheen buttons sit inside a .card that already clips via its own
     overflow:hidden, but bare .btn.sheen elements (no card ancestor) need
     this themselves or the sweep's off-screen resting position shows as a
     visible ghost box beside the button. Safe for box-shadow: overflow only
     clips this element's own content/pseudo-elements, not its box-shadow. */
  overflow: hidden;
}

.sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.02) 56%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.sheen:hover::after,
.sheen:focus-within::after {
  transform: translateX(120%);
}

/* ---------- Reveal on scroll ----------
   No-JS fallback: the hiding rule only applies once html has the "js" class
   (set synchronously in <head>, see index.html). If JS is disabled or fails
   to load, html stays "no-js" and .reveal content is visible by default. */
.reveal {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sheen::after {
    display: none;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Hero / Masthead
   No header, no nav — the page opens straight into the logotype.
   ========================================================================== */
.hero {
  /* 2026-09-13 (Jason: "title/logo higher and the next section higher and
     closer to the top. Too much wasted space." then, from an iPad markup of
     the tagline→hours-card gap: "Cut this space in half. Make the card
     transparent some a bit of the video comes through if its close."):
     - The logotype sits at a fixed 32px from the top (flex-start, no more
       viewport-fraction centring).
     - Below the logotype the hero keeps a fixed --hero-tail of video canvas.
       #visit then pulls UP into that tail by --visit-overlap (see #visit), so
       the top of the hours card sits over the still-visible video. The
       measured tagline→card gap = --hero-tail − --visit-overlap (+ the PNG's
       ~2% transparent bottom padding): 84px @1440, 101px @1280, 118px @390 —
       about half of the live page's 177 / 208 / 227.
     Was: min-height clamp(380px,58vh,560px), padding 24–56px both sides,
     align-items:center. */
  --hero-tail: 236px;
  min-height: 0;
  padding-top: 32px;
  padding-bottom: var(--hero-tail);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* EXPERIMENT 2026-08-16 (Jason: "let the video fill the page"): full-bleed
   background treatment. Previous iterations (see git history) fought to keep
   the 1:1 talking-head source small, centered, and masked into an oval so it
   never read as "a video." This version does the opposite on purpose: the
   video is a true 100% x 100% layer behind the whole first screen,
   object-fit:cover, edge to edge. Because the source is square, `cover`
   crops the SIDES on wide desktop viewports and the TOP/BOTTOM on tall
   phones — that's inherent to covering a non-matching aspect ratio and is
   fine here (experiment, not a bug).
   - No side/top mask: the video already meets the viewport edges exactly on
     those three sides, so there's nothing to hide.
   - Bottom-only mask: a generous linear fade dissolves the video into solid
     `--ink` (the page's own background — #visit has no separate background
     color, so this reads as a seamless dissolve to black, not a hard cut)
     before the next section.
   - Opacity raised from the old 0.16 (tuned to be almost invisible) — but
     capped at 0.24, well short of a "normal" background-video opacity.
     REASON (verified by scrubbing the raw, unfiltered clip at 0/2/8/14/22/30s
     across its ~31s loop): this reel is a tight selfie-style close-up in
     EVERY sampled frame — mouth/nostrils/ear fill nearly the whole square at
     all times, there is no wider "b-roll" shot anywhere in the loop. At
     full-bleed scale (the video is now the full viewport height, much larger
     on screen than the old ~450px contained square) any opacity that reads
     as a normal legible background (tested up to 0.42) makes a stranger's
     face clearly recognizable behind the logo — reads as unsettling, not
     cinematic. 0.24 is a judgment-call ceiling: motion/warmth is visible at
     a glance, but individual features stay a soft impression rather than a
     portrait. This is a content-suitability limit, not a CSS bug — flagged
     to Webmaster/Jason; the real fix if a bolder full-bleed look is wanted
     is different, wider-framed source footage (shop interior/hands-on-hair
     b-roll), since this reel wasn't shot for a full-page treatment.
   - `.hero::before` is a dark radial scrim sitting between the video (z:0)
     and the logotype (z:2, via `.hero > .wrap`), widened beyond the old
     tight text-zone ellipse (the full-bleed video now extends well above/
     below where the logotype sits, unlike the old small contained square)
     so it also softens the face impression, not just the text backdrop. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 2026-09-13 (Jason: the video "seems to focus on the client's chin, the top
     of the video needs to be at the top edge of page"): the square source is
     cover-cropped into a wide box, and the default 50% 50% anchor kept the
     middle band (ear/jaw/chin). Anchoring to the TOP puts the source's top
     edge on the page's top edge, so the crop falls off the bottom instead. */
  object-position: 50% 0%;
  /* 2026-09-13 03:30 Jason: "Did you make the card transparent?" — it was, but
     at 24% the video behind the card was near-black, so nothing showed. The
     face cap (24%) is kept by the MASK: 0.55 × 0.44 = 0.24 over the top 40%
     where the face is; full 0.44 lower down where the card sits (shoulders,
     wall), then the fade to nothing at the bottom edge. */
  opacity: 0.44;
  filter: saturate(0.8) brightness(0.72) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.55) 40%, black 62%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.55) 40%, black 62%, black 88%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 62% at 50% 46%, rgba(10, 11, 13, 0.6) 0%, rgba(10, 11, 13, 0.28) 55%, rgba(10, 11, 13, 0) 82%);
}

.hero > .wrap {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* Masthead logotype: a black-chrome PNG on a near-black ground — needs a lift
   without screen blend, and screen blend prevents a hard box around the
   transparent PNG's anti-aliased edges.
   2026-08-16 v2 SWAP: the v1 file's "BARBERSHOP & SALON" line was dark-on-dark
   (illegible), so it needed a heavy brightness(1.9) lift to read at all. The v2
   file (logotype-3d-v2.png) redraws that line in bright silver chrome — it no
   longer needs correcting, and the same 1.9 lift blows its highlights out to
   flat white and clips the razor/pole chrome specular highlights too. Sampled
   luminance confirms it: v1's bottom line averaged ~60% of the top wordmark's
   brightness (needed the big lift to catch up); v2's bottom line now averages
   ~14% BRIGHTER than the top wordmark on its own. Filter dropped to a modest
   1.3 lift with a touch more contrast for chrome punch — both the blackletter
   top and the silver bottom line read clearly at both 1440 and 390 without
   blowing out (verified rendered, not just computed). */
.hero-logotype {
  width: min(460px, 86vw);
  height: auto;
  margin: 0 auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.3) contrast(1.1) drop-shadow(0 0 18px rgba(233, 237, 242, 0.25));
}

@media (min-width: 640px) {
  .hero-logotype {
    width: min(640px, 82vw);
  }
}

@media (min-width: 1024px) {
  .hero-logotype {
    width: min(880px, 62vw);
  }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.rating-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
  margin-bottom: var(--sp-3);
}

.rating-stars {
  color: var(--pole-red-text);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  letter-spacing: 0.08em;
}

.rating-line {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  line-height: 1.2;
  color: var(--chrome-hi);
  max-width: 44ch;
}

/* Reviews wall — real, hand-pulled Google reviews (see the code comment above
   this grid in index.html for the snapshot/refresh policy). Cards reuse the
   same .card family as the service cards so the "populated" wall reads as
   part of the same dark-chrome system, not a bolted-on widget. */
.reviews-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
  margin-top: var(--sp-3);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  text-align: left;
}

.review-stars {
  color: var(--pole-red-text);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.review-quote {
  margin: 0;
}

.review-quote p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-meta {
  margin-top: auto;
  padding-top: var(--sp-1);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
}

.review-name {
  color: var(--chrome-hi);
  font-weight: 700;
}

.review-date {
  color: var(--muted);
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-3);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex-grow: 1;
}

.service-price {
  display: inline-block;
  margin-top: var(--sp-1);
  font-weight: 700;
  color: var(--chrome-hi);
  font-size: 1.05rem;
}

.service-price small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.75rem;
  margin-left: 4px;
}

/* Service-card footer: price on the left, "Photos" link bottom-right (2026-08-18,
   Jason). The <p> above has flex-grow:1, so this row stays pinned to the bottom of
   the card regardless of description length — the buttons line up across the row. */
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
}

.service-foot .service-price {
  margin-top: 0;
}

/* Small outlined chrome pill, same family as .follow-btn (not the page's one
   .btn-primary CTA). 44px touch target. */
.service-photos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--steel-line);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  color: var(--chrome-hi);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), color 0.18s var(--ease);
}

.service-photos-btn:hover,
.service-photos-btn:focus-visible {
  border-color: var(--pole-red);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Gallery — real photos, tight grid, no captions, no lightbox.
   ========================================================================== */
.gallery-grid {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(2, 1fr);
}

/* 2026-08-16: tiles are now wrapped in an <a> (.tile-link) to Facebook's
   photos tab ("when you touch on the pictures of the haircuts that it
   should take you to the Facebook repository of photos" — Jason). Sizing/
   aspect-ratio/border moved from .tile onto .tile-link (the new grid item
   and the thing that's actually clickable); .tile itself just fills its
   link box. Same height:auto-vs-aspect-ratio footgun as before applies to
   whichever element carries the HTML width/height-derived box — .tile-link
   has no HTML attributes so this is moot for it, but .tile below still
   needs an explicit height:100% (not aspect-ratio) since it must fill a
   parent-driven box, not size itself from its own attributes. */
.gallery-grid .tile-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.gallery-grid .tile-link:hover,
.gallery-grid .tile-link:focus-visible {
  border-color: var(--pole-red);
  transform: translateY(-2px);
}

.gallery-grid .tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.gallery-grid .tile-link:hover .tile,
.gallery-grid .tile-link:focus-visible .tile {
  transform: scale(1.05);
  filter: brightness(1.08);
}

/* Per-photo focal points, judged by eye against each source image so the
   4:5 crop keeps the subject instead of guillotining it. Keyed on
   [data-gallery-slot] (a stable identity attribute), NOT on the image's own
   src/filename — cms.js swaps src for a CMS-uploaded photo, and a
   filename-keyed selector would stop matching the instant that happened,
   silently losing the tuned crop on "Restore default" too. The slot
   attribute never changes, so these rules survive any src swap. */
.gallery-grid .tile[data-gallery-slot="1"] { object-position: 50% 42%; }  /* storefront: keep the sign+facade, trim a little sky/pavement */
.gallery-grid .tile[data-gallery-slot="2"] { object-position: 42% 58%; }  /* interior: wide interior shot, keep the wall sign + chairs, not the ceiling */
.gallery-grid .tile[data-gallery-slot="3"] { object-position: 50% 40%; }  /* jason-pick-1: near-4:5 source already, minimal crop either way; keeps hair top + face in frame */
.gallery-grid .tile[data-gallery-slot="4"] { object-position: 57% 42%; }  /* jason-pick-2: face/fringe sits right-of-center in a wider-than-4:5 source, trim blank wall on the left */
.gallery-grid .tile[data-gallery-slot="5"] { object-position: 50% 38%; }  /* jason-pick-3: near-4:5 source, keeps the sharp part/hairline from being trimmed at top */
.gallery-grid .tile[data-gallery-slot="6"] { object-position: 46% 46%; }  /* jason-pick-4: square source cropped on both sides; profile faces left, nudge left to keep the nose/beard line in frame */

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop stays 3 columns x 2 rows (not 6x1) — a single row of 6 narrow
   tiles reads worse than a normal photo grid at wide widths. */

/* Follow — Facebook + Instagram, placed right after the photo grid (Jason's
   request: "immediately after the pictures"). Deliberately NOT styled as the
   page's one .btn-primary CTA (that's reserved for "Read all 680 reviews") —
   these are outlined chrome pills, icon + label, matching the footer's
   .social-btn family but bigger and labeled for a prominent, tappable pair. */
.follow-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: 0;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--steel-line);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  color: var(--chrome-hi);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.follow-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--chrome-hi);
  flex-shrink: 0;
}

.follow-btn:hover,
.follow-btn:focus-visible {
  border-color: var(--pole-red);
  transform: translateY(-2px);
}

/* ==========================================================================
   Visit — where + when. One card, no separate header.
   ========================================================================== */
/* 2026-08-16, second pass: Jason wanted the chrome instruments emblem OUT
   ("remove the instrument pic") and address/phone/hours boxed up like the
   services/pricing cards instead. `.visit-card` is `.card` (same gradient,
   steel-line border, radius, top highlight) — no new card language invented,
   just reused. emblem-3d.png stays in the repo (still the favicon/OG image,
   see <head>), only its use inside this section is gone.
   2026-08-16, THIRD PASS (boss critique: "too vertical...sits lonely in the
   middle and too much negative space. Put address on left, hours on right,
   make it a wide window"): card widened from a 440px vertical stack to a
   960px two-column layout at desktop — matches the same content-width family
   as `.services-grid`/`.wrap` (1120px) without touching its edges, so the
   huge side margins around the old narrow card are gone. The two-column
   switch is gated at 900px (not the usual 768px tablet breakpoint) because
   at 768px the contact column only has ~250px to work with, which wraps the
   large display-font phone number mid-digit ("792-" / "2817") — rendered and
   caught during verification, not assumed. 900px gives the contact column
   ~300px+, enough for "(803) 792-2817" on one line at its largest size (the
   clamp() still shrinks it further down if a shorter/narrower number is ever
   swapped in via the CMS). Below 900px the card stacks single-column/
   centered exactly as before (unchanged tablet/mobile behavior). The
   `<hr class="visit-divider">` between `.visit-contact` and
   `.hours-block` is the same `<hr>` idiom already used for the section
   separators elsewhere on the page (see `.divider`), just reoriented
   vertically and scoped to this card — reused semantics, not a new pattern.
   Column heights are naturally close (address+phone+link vs a 4-row table +
   two footnote lines) but not identical; `align-items: center` on the grid
   row centers the shorter column within the taller one's height rather than
   top-pinning it, so any leftover imbalance reads as "composed" instead of
   "unequal." */
.visit-card {
  /* 2026-09-04 Jason: "100% transparent background" (was 50% for a few minutes) — border + top highlight still outline the box.
     2026-09-13 Jason: "Make the card transparent some a bit of the video comes
     through if its close" — dark glass: rgba black + backdrop blur, so the
     hero video (which now runs behind the top of the card, see #visit) reads
     through as a soft impression while the hours/phone text stays on a
     near-black ground. Raise the alpha, never lighten the text, if contrast
     ever fails. */
  background: rgba(0, 0, 0, 0.25);   /* 03:30: thinned from 0.55 so the video actually shows */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
}

@media (min-width: 900px) {
  .visit-card {
    display: grid;
    grid-template-columns: 1.1fr auto 1fr; /* 2026-09-04 Jason: hours+contact left, map right */
    align-items: center;
    gap: var(--sp-4);
    text-align: left;
    padding: var(--sp-4) var(--sp-6);
  }
}

.visit-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

@media (min-width: 900px) {
  .visit-contact {
    align-items: flex-start;
  }
}

.visit-divider {
  display: none;
}

@media (min-width: 900px) {
  .visit-divider {
    display: block;
    align-self: stretch;
    width: 1px;
    height: auto;
    border: none;
    margin: 0;
    background: linear-gradient(180deg, transparent, var(--steel-line) 12%, var(--steel-line) 88%, transparent);
  }
}

/* 2026-08-18: "La Barberia" label above the address and an owner credit
   line below it (Jason's annotated review). Modest by design — the phone
   number is the loud element in this column; these two are quiet text,
   not competing headings. */
.visit-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--chrome-hi);
}

.visit-address {
  display: inline-block;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
}

.visit-address:hover,
.visit-address:focus-visible {
  color: var(--chrome-hi);
  text-decoration: underline;
}

.visit-owner {
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.visit-phone {
  display: inline-block;
  padding: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--chrome-hi);
  text-decoration: none;
}

.visit-phone:hover,
.visit-phone:focus-visible {
  color: var(--pole-red-text);
}



.hours-block {
  width: 100%;
  margin-bottom: var(--sp-1);
  /* 2026-09-04 Jason: rule between "Hours may vary" and LA BARBERIA, same line as the table rows */
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--steel-line);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 5px 0;
  border-bottom: 1px solid var(--steel-line);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--chrome-hi);
}

.hours-note {
  margin-top: var(--sp-1);
  color: var(--chrome-hi);
  font-size: 0.92rem;
}

/* 2026-08-18: sits between the walk-ins line and the fine print, same
   visual tier as .hours-note (Jason's copy, added via annotated review). */
.hours-diversity {
  margin-top: var(--sp-1);
  color: var(--chrome-hi);
  font-size: 0.92rem;
}

.hours-fineprint {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--steel-line);
  padding: var(--sp-4) 0 var(--sp-3);
  text-align: center;
}

.footer-logotype {
  width: min(240px, 70%);
  height: auto;
  margin: 0 auto var(--sp-2);
  opacity: 0.92;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--steel-line);
  background: var(--ink-2);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.social-btn:hover {
  border-color: var(--pole-red);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--chrome-hi);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-credit {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-credit a {
  color: var(--muted);
  text-decoration: underline;
}

/* 2026-09-04 (Jason: "i prefer the Transparent MalayGlen logo at the bottom"):
   the credit link is the cyan wordmark image, not underlined text. */
.footer-mg-link {
  display: block;
  width: min(170px, 55%);
  margin: 8px auto 0;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.18s var(--ease);
}
.footer-mg-link:hover,
.footer-mg-link:focus-visible { opacity: 1; }
.footer-mg { display: block; width: 100%; height: auto; }

.footer-hiring {
  margin-top: var(--sp-2);
  font-size: 0.82rem;
}

.footer-hiring a {
  color: var(--chrome-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--steel-line);
  transition: border-color 0.18s var(--ease);
}

.footer-hiring a:hover,
.footer-hiring a:focus-visible {
  border-color: var(--chrome-hi);
}

/* Masthead: big centered logotype leads the page, alone. */
.hero-logo-wrap { position: relative; display: block; margin: 0; text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Hiring subpage
   ========================================================================== */
.back-link {
  display: inline-block;
  margin-bottom: var(--sp-4);
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--chrome-hi);
}

.hiring-hero {
  padding-bottom: var(--sp-4);
}

.hiring-kicker {
  color: var(--pole-red-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-1);
}

.hiring-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--chrome-hi);
  max-width: 18ch;
}

.hiring-sub {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 1.05rem;
}

.hiring-grid {
  display: grid;
  gap: var(--sp-4);
}

.hiring-label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  color: var(--chrome-hi);
  margin-bottom: var(--sp-2);
}

.hiring-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hiring-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.95rem;
}

.hiring-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pole-red);
}

.hiring-address {
  margin-top: var(--sp-4);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .hiring-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hiring-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 560px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--chrome-hi);
}

.field .req {
  color: var(--pole-red-text);
}

.field-hint {
  color: var(--muted);
  font-size: 0.8rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-line);
  background: var(--ink-2);
  color: var(--text);
  font-size: 1rem;
}

.field input[type="text"]:focus-visible,
.field input[type="tel"]:focus-visible,
.field input[type="email"]:focus-visible {
  outline: 2px solid var(--chrome-hi);
  outline-offset: 2px;
}

.field input[aria-invalid="true"] {
  border-color: var(--pole-red);
}

.field input[type="file"] {
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  color: var(--pole-red-text);
  font-size: 0.82rem;
}

.hiring-form .btn {
  margin-top: var(--sp-1);
  align-self: flex-start;
}

.hiring-success {
  max-width: 560px;
  padding: var(--sp-3);
  border-radius: var(--radius);
  border: 1px solid var(--steel-line);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  color: var(--chrome-hi);
  font-size: 1.05rem;
}

.hiring-success:focus-visible {
  outline: 2px solid var(--chrome-hi);
  outline-offset: 3px;
}

/* Scroll landings: no fixed/sticky chrome to dodge anymore, just a little
   breathing room from the viewport edge for anchor-nav targets. */
section[id] {
  scroll-margin-top: 20px;
}

/* Aerial location map above the address (Jason 2026-08-16) */
.visit-map-block { width: 100%; }
.visit-map-link { display: block; margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--steel-line); }
.visit-map-link img { display: block; width: 100%; height: auto; }
.visit-map-link:hover img, .visit-map-link:focus-visible img { filter: brightness(1.08); }
