/* =====================================================================
   HOME PAGE (v2). Shared tokens, buttons, nav, menu and footer now live
   in css/site.css, which loads before this file.
   Pre-redesign version: css/index-classic.css (classic/index.html)
   ===================================================================== */

/* ---------- HERO ---------- */
.h-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background: #000;
  isolation: isolate;
}
.h-hero-media { position: absolute; inset: 0; z-index: -2; }
.h-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.h-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 45%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%);
}

.h-hero-inner { padding-top: 140px; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }

.h-hero-title {
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
}
.h-hero-static {
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.35rem;
}

/* Rotating brand: all words share one grid cell so the box is as wide as
   the longest word, and the next word arrives as the previous one leaves. */
.h-rotator {
  display: grid;
  overflow: hidden;
  font-size: clamp(3.6rem, 12vw, 10rem);
  color: var(--h-accent);
  letter-spacing: -0.01em;
  padding-bottom: 0.04em;
}
.h-rotator-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(100%);
  animation: hRotate 15s infinite var(--h-ease);
}
.h-rotator-word:nth-child(2) { animation-delay: 3s; }
.h-rotator-word:nth-child(3) { animation-delay: 6s; }
.h-rotator-word:nth-child(4) { animation-delay: 9s; }
.h-rotator-word:nth-child(5) { animation-delay: 12s; }
@keyframes hRotate {
  0%   { opacity: 0; transform: translateY(100%); }
  4%   { opacity: 1; transform: translateY(0); }
  20%  { opacity: 1; transform: translateY(0); }   /* next word starts its 0% here, */
  24%  { opacity: 0; transform: translateY(-100%); } /* so the two roll together */
  100% { opacity: 0; transform: translateY(-100%); }
}

.h-hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2.2rem;
}
.h-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Hero entrance */
.h-hero-inner > * { animation: hRise 1s var(--h-ease) both; }
.h-hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
.h-hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.h-hero-inner > *:nth-child(4) { animation-delay: 0.4s; }

/* Hero info bar */
.h-hero-bar {
  border-top: 1px solid var(--h-line-dark);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.h-hero-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 64px;
  font-size: 0.9rem;
}
.h-hero-bar-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.h-hero-bar-item:hover { color: var(--h-accent); }

.h-video-toggle {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.h-video-toggle:hover { background: #fff; color: #000; }
.h-video-toggle .icon-play { display: none; }
.h-video-toggle[aria-pressed="true"] .icon-play { display: block; }
.h-video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- BRAND MARQUEE ---------- */
.h-brands {
  background: #000; /* matches the logo images' black backgrounds exactly */
  border-bottom: 1px solid var(--h-line-dark);
  padding: 1.6rem 0;
  overflow: hidden;
}
.h-marquee {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.h-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0 clamp(1.25rem, 2.5vw, 2.25rem);
  margin: 0;
  list-style: none;
  animation: hMarquee 45s linear infinite;
}
.h-brands:hover .h-marquee-track { animation-play-state: paused; }
.h-marquee-track img {
  display: block;
  height: clamp(64px, 7vw, 92px);
  width: auto;
  /* logos are colour marks on black: screen-blend drops the black square,
     greyscale at rest keeps the strip calm, full colour on hover */
  filter: grayscale(1) brightness(1.15);
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.h-marquee-track img:hover { opacity: 1; filter: none; }
@keyframes hMarquee { to { transform: translateX(-100%); } }

/* ---------- ABOUT ---------- */
.h-about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.h-about-media { position: relative; }
.h-about-media::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 2px solid var(--h-accent);
  border-radius: var(--h-radius);
  z-index: 0;
}
.h-about-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: var(--h-radius);
}
.h-about-tag {
  position: absolute;
  z-index: 2;
  left: -1.25rem;
  bottom: 2rem;
  background: #000;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  max-width: 220px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.h-about-tag strong {
  display: block;
  font-family: var(--h-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--h-accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.h-about-tag span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.h-about-copy > p:not(.h-eyebrow) { line-height: 1.75; color: var(--h-text-muted); margin: 0 0 1.25rem; }
.h-about-copy > .h-lead { color: var(--h-text); }

.h-pillars {
  list-style: none;
  padding: 2rem 0 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--h-line-light);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.h-pillars li { display: flex; flex-direction: column; gap: 0.85rem; }
.h-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: var(--h-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h-pillars h3 { font-family: var(--h-display); text-transform: uppercase; font-size: 1.25rem; margin: 0 0 0.2rem; letter-spacing: 0.01em; }
.h-pillars p { margin: 0; font-size: 0.9rem; color: var(--h-text-muted); line-height: 1.5; }

/* ---------- SERVICES ---------- */
.h-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.h-service {
  position: relative;
  display: flex;
  min-height: 520px;
  border-radius: var(--h-radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--h-ink-2);
  isolation: isolate;
}
.h-service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--h-ease), filter 0.6s ease;
  filter: saturate(0.85);
}
.h-service::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.92) 100%);
}
.h-service:hover img,
.h-service:focus-visible img { transform: scale(1.06); filter: saturate(1); }
.h-service-body {
  margin-top: auto;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.h-service-num {
  font-family: var(--h-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--h-accent);
  margin-bottom: 0.6rem;
}
.h-service h3 {
  font-family: var(--h-display);
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.h-service p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--h-ease), opacity 0.4s ease, margin 0.4s ease;
}
.h-service:hover p,
.h-service:focus-visible p { max-height: 8em; opacity: 1; margin-bottom: 1rem; }
.h-service-more {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.h-service-more span { transition: transform 0.25s var(--h-ease); color: var(--h-accent); }
.h-service:hover .h-service-more span { transform: translateX(5px); }

/* touch devices have no hover: always show the description */
@media (hover: none) {
  .h-service p { max-height: none; opacity: 1; margin-bottom: 1rem; }
}

/* ---------- PROCESS ---------- */
.h-process-section { background: var(--h-paper-2); }
.h-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.h-process li {
  position: relative;
  padding: 2.25rem 2rem 0 0;
  border-top: 2px solid var(--h-line-light);
}
.h-process li::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 1.2s var(--h-ease);
  transition-delay: var(--reveal-delay, 0s);
}
.h-process li.is-visible::before { width: 100%; }
.h-process li::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--h-accent);
  border: 2px solid #000;
  box-sizing: border-box;
}
.h-step {
  font-family: var(--h-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
  display: block;
  margin-bottom: 1rem;
}
.h-process h3 { font-family: var(--h-display); font-size: 1.55rem; text-transform: uppercase; margin: 0 0 0.6rem; }
.h-process p { margin: 0; color: var(--h-text-muted); line-height: 1.65; font-size: 0.97rem; }

/* ---------- STORAGE + SHOP ---------- */
.h-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.h-feature {
  position: relative;
  display: flex;
  min-height: 460px;
  border-radius: var(--h-radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.h-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--h-ease);
}
.h-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 75%);
}
.h-feature:hover img { transform: scale(1.05); }
.h-feature-body { margin-top: auto; padding: clamp(1.75rem, 3vw, 2.75rem); }
.h-feature h3 {
  font-family: var(--h-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.h-feature p:not(.h-eyebrow) { color: rgba(255, 255, 255, 0.8); line-height: 1.6; max-width: 40ch; margin: 0 0 1.25rem; }
.h-chips { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.h-chips li {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.h-feature-more {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--h-accent);
  padding-bottom: 3px;
}

/* ---------- TESTIMONIALS ---------- */
.h-slider-controls { display: flex; gap: 0.6rem; }
.h-round-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid #000;
  background: transparent;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.h-round-btn:hover { background: #000; color: var(--h-accent); }
.h-round-btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: #000; }

.h-quotes {
  --h-gutter: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px));
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* first card lines up with the page content; the rest bleed off the edge */
  padding: 0.5rem var(--h-gutter) 1.5rem;
  scroll-padding: 0 var(--h-gutter);
}
.h-quotes::-webkit-scrollbar { display: none; }
.h-quotes:focus-visible { outline: 2px solid #000; outline-offset: -4px; }
.h-quote {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  margin: 0;
  background: #fff;
  border-radius: var(--h-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 40px -24px rgba(0,0,0,0.25);
  box-sizing: border-box;
}
.h-quote-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--h-accent);
  color: #000;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.h-quote blockquote {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #2a2a2a;
  flex: 1;
}
.h-quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--h-line-light);
  font-size: 0.85rem;
  color: var(--h-text-muted);
}
.h-quote figcaption strong { display: block; color: var(--h-text); font-size: 0.98rem; }
.h-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: var(--h-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--h-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.h-quotes-more { margin: 0; }
.h-quotes-foot {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

/* 2x2 "view all reviews" button */
.h-grid-btn {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1.5px solid #000;
  background: transparent;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.h-grid-btn:hover { background: #000; color: var(--h-accent); }
.h-grid-btn:hover svg rect:nth-child(1) { transform: translate(-1px, -1px); }
.h-grid-btn:hover svg rect:nth-child(2) { transform: translate(1px, -1px); }
.h-grid-btn:hover svg rect:nth-child(3) { transform: translate(-1px, 1px); }
.h-grid-btn:hover svg rect:nth-child(4) { transform: translate(1px, 1px); }
.h-grid-btn svg rect { transition: transform 0.25s var(--h-ease); }
.h-grid-btn:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.h-grid-btn-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.h-grid-btn-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--h-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-sizing: border-box;
}
.h-grid-btn-count:empty { display: none; }

/* ---------- ALL REVIEWS OVERLAY ---------- */
.h-reviews {
  width: min(1240px, calc(100vw - 32px));
  max-width: none;
  height: calc(100dvh - 48px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--h-radius);
  background: var(--h-paper);
  color: var(--h-text);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.h-reviews[open] { display: flex; flex-direction: column; animation: hReviewsIn 0.45s var(--h-ease) both; }
.h-reviews.is-closing { animation: hReviewsOut 0.25s ease both; }
.h-reviews::backdrop { background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes hReviewsIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes hReviewsOut { to { opacity: 0; transform: translateY(16px) scale(0.98); } }

.h-reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--h-line-light);
  background: var(--h-paper);
}
.h-reviews-head .h-eyebrow { margin-bottom: 0.5rem; }
.h-reviews-head .h-heading { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.h-reviews-total { color: var(--h-text-muted); }
.h-reviews-tools { display: flex; align-items: center; gap: 0.75rem; }
.h-reviews-filter {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--h-paper-2);
}
.h-reviews-filter button {
  border: 0;
  background: transparent;
  color: var(--h-text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.h-reviews-filter button:hover { color: #000; }
.h-reviews-filter button[aria-pressed="true"] { background: #000; color: var(--h-accent); }
.h-reviews-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.h-reviews-close:hover { background: var(--h-accent); color: #000; }

.h-reviews-grid {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: min-content; /* "auto" rows get squashed inside this fixed-height scroller in Chrome */
  align-content: start;
  align-items: stretch;
  gap: 1rem;
}
.h-rv > * { flex-shrink: 0; }
.h-rv {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 30px -22px rgba(0,0,0,0.3);
  transition: transform 0.25s var(--h-ease), box-shadow 0.25s ease;
}
.h-rv:not(.is-open):hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 36px -20px rgba(0,0,0,0.35); }
.h-rv[hidden] { display: none; }
.h-rv-tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--h-accent);
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.h-rv-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2a2a2a;
  flex: 1 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h-rv-full { display: none; }
.h-rv-full p { margin: 0 0 0.9rem; font-size: 1rem; line-height: 1.75; color: #2a2a2a; }
.h-rv-full p:first-child::before { content: "\201C"; }
.h-rv-full p:last-child::after { content: "\201D"; }
.h-rv-foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--h-line-light);
  font-size: 0.8rem;
  color: var(--h-text-muted);
}
.h-rv-foot strong { display: block; color: var(--h-text); font-size: 0.92rem; }
.h-rv-foot .h-avatar { width: 36px; height: 36px; font-size: 0.9rem; }
.h-rv-more {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.h-rv-more svg { transition: transform 0.25s var(--h-ease); }
/* the toggle covers the whole block so any click expands it */
.h-rv-toggle {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: inherit;
  cursor: pointer;
}
.h-rv-toggle:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

.h-rv.is-open {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 0 0 2px #000, 0 20px 40px -24px rgba(0,0,0,0.4);
  animation: hRvOpen 0.35s var(--h-ease) both;
}
.h-rv.is-open .h-rv-text { display: none; }
.h-rv.is-open .h-rv-full { display: block; max-width: 72ch; margin-bottom: 0.5rem; }
.h-rv.is-open .h-rv-more svg { transform: rotate(180deg); }
.h-rv.is-open .h-rv-toggle { inset: auto 0 0 auto; width: 9rem; height: 4rem; }
.h-rv.is-open .h-rv-tag { font-size: 0.72rem; }
@keyframes hRvOpen { from { opacity: 0.4; transform: scale(0.985); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .h-reviews { width: 100vw; height: 100dvh; border-radius: 0; }
  .h-reviews-head { align-items: flex-start; }
  .h-reviews-tools { width: 100%; justify-content: space-between; }
  .h-reviews-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .h-reviews[open], .h-reviews.is-closing, .h-rv.is-open { animation: none; }
  .h-rv, .h-grid-btn svg rect { transition: none; }
}
.h-quotes-sep { margin: 0 0.75rem; color: var(--h-text-muted); }

/* Wider rail on big screens so the cards don't sit behind a large empty left margin */
.h-quotes-section .h-wrap { max-width: 1840px; }
.h-quotes-section .h-quotes {
  --h-gutter: max(clamp(16px, 4vw, 40px), calc((100vw - 1840px) / 2 + 40px));
}

/* ---------- GALLERY ---------- */
.h-gallery-section { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.h-ticker {
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  white-space: nowrap;
}
.h-ticker-track {
  display: inline-flex;
  animation: hMarquee 40s linear infinite;
}
.h-ticker-track span {
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  padding-right: 0.6em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}
.h-ticker-track span:nth-child(odd) { color: var(--h-accent); -webkit-text-stroke: 0; }

.h-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 260px);
  gap: 0.75rem;
}
.h-g-large { grid-column: span 2; grid-row: span 2; }
.h-g-wide  { grid-column: span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  background: var(--h-ink-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--h-ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--h-ease);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; transform: none; }
.gallery-overlay h3 {
  margin: 0;
  font-family: var(--h-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: #fff;
}
@media (hover: none) {
  .gallery-overlay { opacity: 1; transform: none; padding: 1.75rem 0.9rem 0.75rem; }
  .gallery-overlay h3 { font-size: 1.05rem; }
}
.h-gallery-more { margin: 2rem 0 0; text-align: center; }

/* ---------- CTA BAND ---------- */
.h-cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: clamp(6rem, 14vw, 11rem) 0;
  text-align: center;
  background: #000;
}
.h-cta-media { position: absolute; inset: 0; z-index: -2; }
.h-cta-media video { width: 100%; height: 100%; object-fit: cover; }
.h-cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 75%);
}
.h-cta-inner p:not(.h-eyebrow) { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2.25rem; line-height: 1.6; }
.h-cta-inner .h-hero-ctas { justify-content: center; }

/* ---------- VISIT ---------- */
.h-visit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.h-visit-card {
  background: #fff;
  border-radius: var(--h-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.25);
}
.h-visit-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--h-line-light);
}
.h-visit-row:first-child { padding-top: 0; }
.h-visit-row a { color: var(--h-text); text-decoration: none; font-size: 1.05rem; line-height: 1.5; overflow-wrap: anywhere; }
.h-visit-row a:hover { text-decoration: underline; text-decoration-color: var(--h-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.h-visit-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--h-text-muted);
  margin-bottom: 0.25rem;
}
.h-hours { border-collapse: collapse; width: 100%; font-size: 1rem; }
.h-hours th, .h-hours td { text-align: left; padding: 0.3rem 0; font-weight: 400; white-space: nowrap; }
.h-hours td { text-align: right; color: var(--h-text-muted); }
.h-hours tr.is-today th, .h-hours tr.is-today td { font-weight: 700; color: var(--h-text); }
.h-hours tr.is-today th::after {
  content: 'Today';
  margin-left: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--h-accent);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: 2px;
}
.h-visit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 1.5rem; }
.h-visit-actions .h-btn { flex: 1 1 180px; min-height: 50px; font-size: 0.85rem; }

.h-map {
  border-radius: var(--h-radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--h-paper-2);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.3);
}
.h-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.4s ease;
}
.h-map:hover iframe { filter: none; }

/* ---------- Gallery lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; animation: lightboxIn 0.2s ease-out; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: calc(100vw - 9rem);
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
}
.lightbox-caption { display: flex; gap: 1rem; align-items: baseline; }
.lightbox-title { font-family: var(--h-display); font-size: 1.3rem; text-transform: uppercase; font-weight: 700; }
.lightbox-count { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; letter-spacing: 1px; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--h-accent); color: #000; }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .h-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-service { min-height: 420px; }
  .h-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}

@media (max-width: 900px) {
  .h-about, .h-visit { grid-template-columns: 1fr; }
  .h-about-media { max-width: 520px; margin-right: 1.5rem; }
  .h-about-media img { aspect-ratio: 4 / 3; }
  .h-pillars { grid-template-columns: 1fr; gap: 1.25rem; }
  .h-pillars li { flex-direction: row; align-items: center; gap: 1rem; }
  .h-more { grid-template-columns: 1fr; }
  .h-feature { min-height: 400px; }
  .h-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-g-large { grid-row: span 1; }
}

@media (max-width: 768px) {
  .h-hero-inner { padding-top: 110px; }
  .h-hero-bar-inner { gap: 1rem; font-size: 0.82rem; min-height: 56px; }
  .h-hide-sm { display: none; }
  .h-hero-bar-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .h-hero-ctas .h-btn { flex: 1 1 100%; }
  .h-services { grid-template-columns: 1fr; }
  .h-service { min-height: 360px; }
  .h-process { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .h-process li { padding-right: 0; }
  .h-step { font-size: 2.8rem; }
  .h-slider-controls { display: none; }
  .h-map, .h-map iframe { min-height: 320px; }

  .lightbox-figure { max-width: 100vw; padding: 0 0.5rem; box-sizing: border-box; }
  .lightbox-img { max-height: calc(100vh - 10rem); }
  .lightbox-nav { top: auto; bottom: 1.5rem; transform: none; width: 46px; height: 46px; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }

}

@media (max-width: 480px) {
  .h-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .h-g-large, .h-g-wide { grid-column: auto; }
  .h-about-tag { left: 0.75rem; bottom: 0.75rem; }
  .h-quote { padding: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .h-rotator-word { animation: none !important; opacity: 0; transform: none; }
  .h-rotator-word:first-child { opacity: 1; }
  .h-marquee { flex-wrap: wrap; width: auto; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .h-marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; row-gap: 1.5rem; }
  .h-marquee-track[aria-hidden="true"] { display: none; }
  .h-ticker-track { animation: none !important; }
  .h-process li::before { width: 100%; }
  .h-hero-inner > * { animation: none !important; }
}

