/* ==========================================================================
   Alnabelsi Barbershop
   Van-wrap navy, razor brass and a barber-pole stripe.
   Mobile-first, breakpoints at 480 / 768 / 1024.
   ========================================================================== */

:root {
  /* Colors */
  --ink: #0e1724;
  --ink-deep: #09101a;
  --navy: #1a2a44;
  --brass-light: #e4c27f;
  --brass: #c99d4c;
  --brass-dark: #a07a32;
  --brass-ink: #7a5a1e;
  --brass-glint: #f7dfa8;
  --pole-red: #b8262f;
  --pole-blue: #24427a;
  --cream: #f5f0e6;
  --paper: #fbf8f2;
  --stone: #ebe3d5;
  --white: #ffffff;
  --text: #18202c;
  --text-muted: #525a67;
  --text-on-dark: #f2ede4;
  --text-on-dark-muted: #b9b6ae;
  --text-on-photo: #e0dcd3;
  --line: #d8cfbf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --input-border: #c6bba8;
  --success-bg: #e6f0e8;
  --success: #2c6e41;
  --error: #b3261e;
  --error-bg: #fbeceb;

  /* RGB channels for overlays and glows */
  --ink-rgb: 14, 23, 36;
  --ink-deep-rgb: 9, 16, 26;
  --brass-rgb: 201, 157, 76;

  /* Typography */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.92rem;
  --fs-h1: clamp(2.6rem, 1.4rem + 4.8vw, 5rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --section-pad: clamp(4rem, 3rem + 4vw, 6.5rem);
  --container-max: 1180px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --nav-height: 72px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-photo: 0 18px 40px rgba(var(--ink-rgb), 0.22);
  --shadow-nav: 0 2px 18px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 4px 16px rgba(var(--ink-rgb), 0.06), 0 1px 3px rgba(var(--ink-rgb), 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-card-hover: 0 28px 56px rgba(var(--ink-rgb), 0.14), 0 10px 20px rgba(var(--ink-rgb), 0.08);
  --shadow-btn: 0 4px 15px rgba(var(--brass-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --shadow-btn-hover: 0 12px 30px rgba(var(--brass-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --shadow-btn-pressed: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  --focus-ring: 0 0 0 3px rgba(var(--brass-rgb), 0.4);

  /* Barber-pole stripe */
  --pole: repeating-linear-gradient(-45deg, var(--pole-red) 0 9px, var(--white) 9px 18px, var(--pole-blue) 18px 27px, var(--white) 27px 36px);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--fs-h3);
}

p,
li,
dd,
blockquote,
figcaption {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

dd {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container-max));
  margin-inline: auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-sm) var(--space-lg);
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.6rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* 3D brass button: 3-stop gradient + glossy top edge, navy text */
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--brass-light) 0%, var(--brass) 50%, var(--brass-dark) 100%);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
  box-shadow: var(--shadow-btn-pressed);
}

/* Nav CTA pill */
.btn-nav {
  border-radius: var(--radius-full);
  padding-inline: 1.4rem;
}

/* Inline-block (not flex) so the underline runs unbroken under the arrow;
   the padding keeps the tap target at least 44px tall */
.text-link {
  display: inline-block;
  padding-block: 0.6rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--brass-ink);
  text-decoration-color: var(--brass-ink);
}

.text-link--light {
  color: var(--white);
  text-decoration-color: var(--brass);
}

.text-link--light:hover {
  color: var(--brass-light);
  text-decoration-color: var(--brass-light);
}

/* Facebook "recommends" marker (Facebook reviews have no star rating) */
.recommend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.recommend svg {
  width: 18px;
  height: 18px;
  color: var(--brass-dark);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}

.site-header.scrolled,
.site-header.menu-open {
  background: var(--ink);
  box-shadow: var(--shadow-nav);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(var(--brass-rgb), 0.55);
}

.logo-img--footer {
  width: 64px;
  height: 64px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.logo-text span {
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu: solid opaque panel */
.nav-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  padding: var(--space-sm) var(--gutter) var(--space-xl);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.nav-links a:hover {
  color: var(--brass-light);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brass-light);
  text-decoration: none;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
}

.nav-menu .btn-nav {
  width: 100%;
  margin-top: var(--space-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 92vh;
  min-height: 92svh;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-3xl);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
}

/* Keeps the client's face in frame as the hero narrows */
.hero-bg img {
  object-fit: cover;
  object-position: 62% 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.72) 0%, rgba(var(--ink-rgb), 0.82) 55%, rgba(var(--ink-rgb), 0.92) 100%);
}

.hero-content {
  max-width: 660px;
}

.hero-kicker {
  display: block;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brass-light);
}

.hero-title {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-line {
  display: block;
}

.hero-text {
  max-width: 33em;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-lead);
  color: var(--text-on-photo);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}

.highlight {
  color: var(--brass-light);
  font-style: italic;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .highlight {
    background: linear-gradient(90deg, var(--brass) 0%, var(--brass-glint) 25%, var(--brass-light) 50%, var(--brass) 75%, var(--brass-glint) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Room for the italic overhang so the clip doesn't cut the last letter */
    padding-right: 0.08em;
  }
}

/* Glass panel for the review quote */
.hero-quote {
  max-width: 440px;
  margin-top: var(--space-2xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-quote .recommend {
  color: var(--text-on-dark-muted);
}

.hero-quote .recommend svg {
  color: var(--brass);
}

.hero-quote blockquote {
  margin: var(--space-xs) 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.hero-quote figcaption {
  font-size: var(--fs-small);
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Services marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: 1rem 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line-dark);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-on-dark);
}

.marquee-item::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-inline: 1.75rem;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 10px rgba(var(--brass-rgb), 0.6);
}

/* ==========================================================================
   Where / when strip (brass, with a barber-pole edge)
   ========================================================================== */

.area-strip {
  position: relative;
  padding: calc(var(--space-md) + 6px) 0 var(--space-md);
  color: var(--ink);
  background: var(--brass);
}

.area-strip::before,
.proof::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--pole);
  background-size: 51px 51px;
}

.area-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-xl);
  text-wrap: balance;
}

.area-hours {
  font-weight: 700;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding-block: var(--section-pad);
}

/* ==========================================================================
   Prices
   ========================================================================== */

.prices-layout {
  display: grid;
  gap: var(--space-2xl);
}

.prices-intro p {
  max-width: 30em;
  margin-bottom: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.prices-intro .prices-mobile {
  padding-left: var(--space-md);
  font-size: 1rem;
  color: var(--text);
  border-left: 3px solid var(--brass);
}

.prices-intro .btn {
  margin-top: var(--space-xs);
}

.menu {
  display: grid;
  gap: var(--space-2xl);
}

.menu-group h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: var(--space-sm);
  font-size: 1.45rem;
  border-bottom: 2px solid var(--ink);
}

.menu-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--brass-dark);
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-xs) var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.menu-name h4 {
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.25;
}

.menu-name p {
  margin-top: 0.25rem;
  font-size: 0.97rem;
  color: var(--text-muted);
}

.menu-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 0.15em;
  color: var(--ink);
  background: var(--brass-light);
  border-radius: var(--radius-full);
}

.menu-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}

.price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-item--feature {
  margin-top: var(--space-xs);
  padding: var(--space-md);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.menu-list--compact .menu-item {
  align-items: center;
  padding: var(--space-sm) 0;
}

.menu-list--compact .price {
  font-size: 1.2rem;
}

.menu-list--compact .menu-price {
  flex-direction: row;
  align-items: baseline;
  gap: 0.6rem;
}

/* ==========================================================================
   Shared photo tiles + zoom
   ========================================================================== */

.photo-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

.photo-zoom picture,
.photo-zoom img {
  width: 100%;
  height: 100%;
}

.photo-zoom img {
  object-fit: cover;
}

.photo-zoom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--ink-rgb), 0);
}

.photo-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  color: var(--ink);
  background: rgba(var(--brass-rgb), 0.95);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
}

.photo-zoom-icon svg {
  width: 26px;
  height: 26px;
}

.photo-zoom:hover::after,
.photo-zoom:focus-visible::after {
  background: rgba(var(--ink-rgb), 0.35);
}

.photo-zoom:hover .photo-zoom-icon,
.photo-zoom:focus-visible .photo-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.photo-zoom:hover {
  box-shadow: var(--shadow-card-hover);
}

.photo figcaption {
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.photo figcaption strong {
  color: var(--text);
}

/* ==========================================================================
   The van
   ========================================================================== */

.van {
  background: var(--stone);
}

.van-layout {
  display: grid;
  gap: var(--space-xl);
}

.van-head h2 {
  margin-bottom: var(--space-md);
}

.van-head h2 span {
  display: block;
}

.van-accent {
  color: var(--brass-ink);
  font-style: italic;
}

.van-intro p {
  max-width: 34em;
  margin-bottom: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.van-intro p:last-child {
  margin-bottom: 0;
}

.van-grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
}

.van-photo {
  display: flex;
  flex-direction: column;
}

.van-photo--tall .photo-zoom {
  aspect-ratio: 4 / 5;
}

.van-photo--wide .photo-zoom {
  aspect-ratio: 960 / 484;
}

/* ==========================================================================
   Proof band
   ========================================================================== */

.proof {
  position: relative;
  color: var(--text-on-dark);
  background: var(--ink);
}

.proof-top {
  display: grid;
  gap: var(--space-lg);
  align-items: end;
}

.proof-title {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.proof-title > span {
  display: block;
}

.proof-title .proof-accent {
  color: var(--brass-light);
  font-style: italic;
}

.counter {
  display: inline-block;
  min-width: 0.6em;
  font-variant-numeric: tabular-nums;
}

.proof-side p {
  max-width: 28em;
  margin-bottom: var(--space-xs);
  font-size: var(--fs-lead);
  color: var(--text-on-dark-muted);
}

.proof-side .counter {
  min-width: 1.1em;
  font-weight: 700;
  color: var(--white);
}

.facts {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line-dark);
}

.fact dt {
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.fact dd {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Cuts gallery
   ========================================================================== */

.cuts-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-xl);
  margin-bottom: var(--space-lg);
}

.cuts-head h2 {
  margin-bottom: 0;
}

.cuts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
}

.cut .photo-zoom {
  aspect-ratio: 3 / 4;
}

.cut figcaption {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--stone);
}

.about-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.about-photos {
  position: relative;
  max-width: 560px;
  padding-bottom: var(--space-2xl);
}

.about-photo-main {
  width: 80%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--line);
  box-shadow: var(--shadow-photo);
}

.about-photo-main picture,
.about-photo-main img,
.about-photo-accent picture,
.about-photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 6px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--line);
  box-shadow: var(--shadow-photo);
}

.about-text h2 span {
  display: block;
}

.about-text p {
  max-width: 34em;
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.about-text p:first-of-type {
  font-size: var(--fs-lead);
  color: var(--text);
}

.about-text .btn {
  margin-top: var(--space-sm);
}

/* In the news: an editorial list with rules */
.press {
  margin-top: var(--space-3xl);
}

.press-title {
  margin-bottom: var(--space-sm);
  font-size: 1.45rem;
}

.press-list {
  border-top: 2px solid var(--ink);
}

.press-list li {
  display: grid;
  gap: 0.15rem var(--space-xl);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
}

.press-outlet {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brass-ink);
}

/* Block link (not flex) so the arrow follows the last word when it wraps;
   the padding keeps the tap target at least 44px tall */
.press-list a {
  display: block;
  padding-block: 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.press-list a:hover {
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
}

/* Marks the headlines as links out to the articles */
.press-list a::after {
  content: '\2197';
  margin-left: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.9em;
  color: var(--brass-dark);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-xl);
  margin-bottom: var(--space-lg);
}

.reviews-head h2 {
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  border-top: 2px solid var(--ink);
}

.review {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--line);
}

.review blockquote {
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 1.08rem;
}

.review figcaption {
  font-size: var(--fs-small);
}

.review-name {
  font-weight: 600;
}

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

.review-source::before {
  content: '\00b7';
  margin: 0 0.4rem;
}

.review--featured blockquote {
  max-width: 30em;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-pad);
  color: var(--white);
  background: var(--ink-deep);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-bg picture,
.cta-bg img {
  width: 100%;
  height: 100%;
}

/* The van sits on the right of this photo, clear of the text */
.cta-bg img {
  object-fit: cover;
  object-position: 75% 55%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--ink-deep-rgb), 0.84);
}

.cta-inner {
  max-width: 620px;
}

.cta-inner h2 span {
  display: block;
}

.cta-inner p {
  margin-bottom: var(--space-xl);
  font-size: var(--fs-lead);
  color: var(--text-on-photo);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info > p {
  max-width: 30em;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.contact-details {
  border-top: 2px solid var(--ink);
}

.contact-details > div {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-details dd {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--brass-ink);
}

.contact-details .contact-sub {
  display: flex;
  width: fit-content;
  font-size: 0.97rem;
}

.hours-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--space-md);
  max-width: 24rem;
}

.hours-row span:first-child {
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form-wrap {
  padding: var(--space-xl) var(--space-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), 0 20px 50px rgba(var(--ink-rgb), 0.08);
}

.form-title {
  margin-bottom: 0.2rem;
  font-size: 1.6rem;
}

.form-hint {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.form-row {
  display: grid;
  gap: 0 var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
}

.form-group label {
  font-weight: 600;
  font-size: 0.97rem;
}

.req {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass-dark);
  box-shadow: var(--focus-ring);
}

.form-group [aria-invalid="true"] {
  border-color: var(--error);
}

.form-group [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--error);
}

.field-error::before {
  content: '!';
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--error);
  border-radius: 50%;
}

.field-error[hidden] {
  display: none;
}

.form-error {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--error);
  background: var(--error-bg);
  border-left: 4px solid var(--error);
  border-radius: var(--radius-sm);
}

.form-error[hidden] {
  display: none;
}

.form-error a {
  color: inherit;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn-block {
  margin-top: var(--space-xs);
}

.form-success {
  padding: var(--space-xl) var(--space-lg);
  background: var(--success-bg);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
}

.form-success[hidden] {
  display: none;
}

.form-success:focus {
  outline: none;
}

.form-success h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.4rem;
}

.form-success a {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-top: var(--space-3xl);
  /* Keep the chat button clear of the footer text on small screens */
  padding-bottom: 5rem;
  color: var(--text-on-dark-muted);
  background: var(--ink-deep);
}

.footer-top {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand p {
  max-width: 320px;
  margin: var(--space-md) 0;
}

.social {
  display: flex;
  gap: var(--space-sm);
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--brass-light);
  border: 1px solid rgba(var(--brass-rgb), 0.5);
  border-radius: 50%;
}

.social svg {
  width: 20px;
  height: 20px;
}

.social a:hover {
  color: var(--ink);
  background: var(--brass);
  border-color: var(--brass);
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--brass-light);
}

.footer-contact li {
  overflow-wrap: anywhere;
}

.footer-contact li:not(:has(a)) {
  padding-block: 0.6rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-block: var(--space-lg);
  font-size: var(--fs-small);
  border-top: 1px solid var(--line-dark);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Legal and 404 pages
   ========================================================================== */

.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--ink);
  box-shadow: var(--shadow-nav);
}

.legal {
  max-width: 760px;
  padding-block: var(--space-2xl) var(--space-3xl);
}

.legal h1 {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-h2);
}

.legal h2 {
  margin: var(--space-xl) 0 var(--space-sm);
  font-size: 1.4rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.legal p {
  margin-bottom: var(--space-md);
}

.legal ul {
  margin-bottom: var(--space-md);
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li {
  margin-bottom: var(--space-xs);
}

.legal strong {
  color: var(--text);
}

.legal a {
  color: var(--ink);
  text-decoration-color: var(--brass);
}

.legal-updated {
  font-size: var(--fs-small);
}

.legal .not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
  margin-top: var(--space-lg);
}

.legal-page .site-footer {
  padding-top: 0;
}

/* Short pages (404) keep the footer at the bottom of the screen */
.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.legal-page main {
  flex: 1 0 auto;
}

/* ==========================================================================
   Photo lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 4.5rem var(--gutter);
  background: rgba(var(--ink-deep-rgb), 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-figure {
  max-width: min(1200px, 100%);
}

.lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  max-width: 44em;
  margin: var(--space-md) auto 0;
  font-size: var(--fs-small);
  text-align: center;
  color: var(--text-on-dark-muted);
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-btn:hover {
  color: var(--ink);
  background: var(--brass);
  border-color: var(--brass);
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: var(--space-md);
  right: var(--space-md);
}

.lightbox-prev,
.lightbox-next {
  bottom: var(--space-md);
}

.lightbox-prev {
  left: calc(50% - 56px);
}

.lightbox-next {
  right: calc(50% - 56px);
}

/* Skip rendering work for below-fold sections until needed */
.reviews,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .contact-form-wrap {
    padding: var(--space-2xl) var(--space-xl);
  }

  .van-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .van-photo--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(var(--ink-rgb), 0.95) 0%, rgba(var(--ink-rgb), 0.82) 45%, rgba(var(--ink-rgb), 0.18) 100%);
  }

  .menu-list--compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-xl);
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .cuts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }

  .press-list li {
    grid-template-columns: 9rem 1fr;
    align-items: center;
  }

  .van-head {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: end;
    gap: var(--space-xl);
  }

  .van-head h2 {
    margin-bottom: 0;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-2xl);
  }

  .review--featured {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1.3fr;
  }

  .cta-overlay {
    background: linear-gradient(90deg, rgba(var(--ink-deep-rgb), 0.96) 0%, rgba(var(--ink-deep-rgb), 0.86) 48%, rgba(var(--ink-deep-rgb), 0.3) 100%);
  }

  .lightbox-prev,
  .lightbox-next {
    top: 50%;
    bottom: auto;
    margin-top: -24px;
  }

  .lightbox-prev {
    left: var(--space-lg);
  }

  .lightbox-next {
    right: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  :root {
    --nav-height: 80px;
  }

  .nav-toggle {
    display: none;
  }

  .logo-img {
    width: 54px;
    height: 54px;
  }


  .logo-img--footer {
    width: 64px;
    height: 64px;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: flex;
    gap: var(--space-lg);
  }

  .nav-links a {
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem;
    border-bottom: 0;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: var(--brass);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  /* The pill already books; the phone number shows on wider screens only */
  .nav-phone {
    display: none;
  }

  .nav-menu .btn-nav {
    width: auto;
    margin-top: 0;
  }

  .prices-layout {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
  }

  .prices-intro {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-xl));
    align-self: start;
  }

  /* Van photos in one row: tall, tall, wide. Subgrid lines up the photo
     row and the caption row across all three; the wide photo stretches to
     the tall ones' height and crops toward the van on the right */
  .van-grid {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto auto;
    row-gap: 0;
  }

  .van-photo {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }

  .van-photo--wide {
    grid-column: auto;
  }

  .van-photo--wide .photo-zoom {
    aspect-ratio: auto;
  }

  .van-photo--wide img {
    object-position: 80% 50%;
  }

  .proof-top {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-3xl);
  }
}

@media (min-width: 1200px) {
  .nav-phone {
    display: flex;
    min-height: 44px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Motion (only when the user has not asked for reduced motion)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

  /* --- Transitions --- */
  .btn {
    transition: all 0.4s var(--ease-out);
  }

  .btn-primary:hover {
    transform: translateY(-3px);
  }

  .btn-primary:active {
    transform: translateY(0);
  }

  .text-link,
  .nav-phone {
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
  }

  .site-header {
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
  }

  .nav-menu {
    transform: translateY(-6px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-toggle-bar {
    transition: transform var(--transition-base), opacity var(--transition-fast);
  }

  .nav-links a {
    transition: color var(--transition-fast);
  }

  .nav-links a::after {
    transition: width var(--transition-base);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }

  .contact-details > div {
    transition: transform 0.3s ease;
  }

  .contact-details > div:has(a):hover {
    transform: translateX(8px);
  }

  .footer-nav a,
  .footer-contact a {
    transition: transform 0.3s ease, color var(--transition-fast);
  }

  .footer-nav a:hover {
    transform: translateX(4px);
  }

  .social a {
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  }

  .press-list a {
    transition: text-decoration-color var(--transition-fast);
  }

  .lightbox-btn {
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  }

  /* --- Scroll reveals (JS adds .visible) --- */
  .js .fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  }

  .js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .js .menu-group.fade-in:nth-child(2) { transition-delay: 0.08s; }
  .js .menu-group.fade-in:nth-child(3) { transition-delay: 0.16s; }
  .js .cut.fade-in:nth-child(3n + 2) { transition-delay: 0.1s; }
  .js .cut.fade-in:nth-child(3n + 3) { transition-delay: 0.2s; }
  .js .van-photo.fade-in:nth-child(2) { transition-delay: 0.12s; }
  .js .review.fade-in:nth-child(3) { transition-delay: 0.1s; }
  .js .review.fade-in:nth-child(5) { transition-delay: 0.1s; }

  /* --- Photos: lift, zoom, overlay --- */
  .photo-zoom {
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  }

  .photo-zoom img {
    transition: transform var(--transition-slow);
  }

  .photo-zoom::after {
    transition: background-color var(--transition-base);
  }

  .photo-zoom-icon {
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .photo-zoom:hover {
    transform: translateY(-6px);
  }

  .photo-zoom:hover img {
    transform: scale(1.05);
  }

  /* --- Premium package card lifts like a card --- */
  .menu-item--feature {
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color var(--transition-base);
  }

  .menu-item--feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brass);
  }

  /* --- Form panel depth on hover --- */
  .contact-form-wrap {
    transition: box-shadow 0.5s var(--ease-out), border-color var(--transition-base);
  }

  .contact-form-wrap:hover {
    border-color: rgba(var(--brass-rgb), 0.6);
    box-shadow: var(--shadow-card-hover);
  }

  /* --- Reviews: light lift + accent rule --- */
  .review:hover {
    border-bottom-color: var(--brass);
  }

  .js .review.fade-in.visible:hover {
    transform: translateY(-6px);
    transition: transform 0.4s var(--ease-out), border-color var(--transition-base);
  }

  .review.visible .recommend svg,
  .hero-quote .recommend svg {
    animation: star-pop 0.4s var(--ease-out) 0.3s both;
  }

  .hero-quote .recommend svg {
    animation-delay: 1.3s;
  }

  /* --- Menu group icons pop in --- */
  .menu-group.visible .menu-icon {
    animation: icon-pop 0.6s var(--ease-out) 0.3s both;
  }

  /* --- Hero --- */
  .hero-bg img {
    animation: hero-zoom-out 20s ease-out forwards;
  }

  .hero-kicker {
    animation: slide-down 0.8s var(--ease-out) 0.2s both;
  }

  .hero-text {
    animation: slide-up 1s var(--ease-out) 0.45s both;
  }

  .hero-actions {
    animation: slide-up 1s var(--ease-out) 0.6s both;
  }

  .hero-quote {
    animation: slide-up 1s var(--ease-out) 0.8s both;
  }

  .highlight {
    animation: gold-shimmer 4s ease 1s infinite;
  }

  .btn-pulse {
    animation: pulse-glow 2.5s ease-in-out 2s infinite;
  }

  .btn-nav {
    animation: nav-cta-pulse 2s ease-in-out infinite;
  }

  .btn-pulse:hover,
  .btn-nav:hover {
    animation-play-state: paused;
  }

  /* --- Barber-pole edges turn slowly, like a real pole --- */
  .area-strip::before,
  .proof::before {
    animation: pole-spin 3s linear infinite;
  }

  /* --- Proof counters --- */
  .proof-title.visible .counter,
  .proof-side.visible .counter {
    animation: pop-in 0.6s var(--ease-out) both;
  }

  .proof-side.visible .counter {
    animation-delay: 0.2s;
  }

  .counter.stat-bounce {
    animation: stat-bounce 0.9s ease;
  }

  /* --- Marquee --- */
  .marquee-track {
    animation: scroll-marquee 8s linear infinite;
  }

  @media (min-width: 768px) {
    .marquee-track {
      animation-duration: 12s;
    }
  }

  /* --- About photo slow zoom --- */
  .js .about-photo-main img {
    transform: scale(1.15);
  }

  .js .about-photos.visible .about-photo-main img {
    transform: scale(1);
    transition: transform 12s linear;
  }

  /* --- Lightbox --- */
  /* Visibility flips instantly on open (so focus can move in) and only after the fade on close */
  .lightbox {
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
  }

  .lightbox.open {
    transition: opacity 0.4s ease, visibility 0s;
  }

  .lightbox.open .lightbox-img.zoom {
    animation: lightbox-zoom 0.4s var(--ease-out);
  }

  /* --- Keyframes --- */
  @keyframes hero-zoom-out {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
  }

  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes gold-shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
  }

  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.5) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  @keyframes stat-bounce {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-10px); }
    30% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    60% { transform: translateY(0); }
    75% { transform: translateY(-2px); }
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(var(--brass-rgb), 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
    50% { box-shadow: 0 8px 40px rgba(var(--brass-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  }

  @keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(var(--brass-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
    50% { box-shadow: 0 4px 24px rgba(var(--brass-rgb), 0.55), 0 0 0 4px rgba(var(--brass-rgb), 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  }

  @keyframes pole-spin {
    from { background-position: 0 0; }
    to { background-position: 51px 0; }
  }

  @keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @keyframes icon-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  @keyframes star-pop {
    0% { transform: scale(0) rotate(-30deg); }
    70% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
  }

  @keyframes lightbox-zoom {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  /* Static marquee: wrap the list and hide the duplicate half */
  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    row-gap: 0.4rem;
  }

  .marquee-item:nth-child(n + 9) {
    display: none;
  }

  .photo-zoom img {
    transform: none;
  }
}
