/* =====================================================================
   YOST: SITE-WIDE STYLES (v2 redesign, Nov 2026)
   Loaded first on every public page. Page files (css/<page>.css) add
   page-specific layout on top. Replaces css/global.css for v2 pages
   (global.css is kept for the classic/ backups and the admin area).
   ===================================================================== */

/* --- Base reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Lato', system-ui, sans-serif;
  color: #161616;
  background: #0b0b0b;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
h1, h2, h3, h4 { margin-top: 0; }
button { font: inherit; }
[id] { scroll-margin-top: 110px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ffe600;
  outline-offset: 3px;
}

/* legacy container still used inside some kept page markup */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* --- Tokens, base and shared building blocks --- */
:root {
  --h-ink: #0b0b0b;
  --h-ink-2: #141414;
  --h-ink-3: #1d1d1d;
  --h-paper: #f5f3ef;
  --h-paper-2: #ebe8e2;
  --h-text: #161616;
  --h-text-muted: #5f5f5f;
  --h-on-dark: #f3f3f3;
  --h-on-dark-muted: #a3a3a3;
  --h-line-dark: rgba(255, 255, 255, 0.12);
  --h-line-light: rgba(0, 0, 0, 0.1);
  --h-accent: var(--accent-color, #ffe600);
  --h-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --h-body: 'Lato', system-ui, sans-serif;
  --h-radius: 14px;
  --h-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body { background: var(--h-ink); }

/* ---------- Shared building blocks ---------- */
.h-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

.h-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.h-light { background: var(--h-paper); color: var(--h-text); }
.h-dark  { background: var(--h-ink); color: var(--h-on-dark); }

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--h-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.75;
}
.h-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--h-accent);
  flex-shrink: 0;
}
.h-eyebrow--light { color: #fff; opacity: 0.9; }

.h-heading {
  font-family: var(--h-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.h-heading em {
  font-style: normal;
  color: var(--h-text-muted);
}
.h-dark .h-heading em,
.h-cta-band .h-heading em { color: var(--h-accent); }
.h-heading--xl { font-size: clamp(2.8rem, 7vw, 5.6rem); }

.h-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--h-text); }

.h-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.h-section-head .h-heading { margin-bottom: 0; }
.h-section-head--center { flex-direction: column; align-items: center; text-align: center; }

.h-textlink {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--h-text);
  text-decoration: none;
  border-bottom: 2px solid var(--h-accent);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.h-textlink:hover { border-bottom-color: currentColor; }
.h-textlink--light { color: #fff; }

/* Buttons */
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0 1.8rem;
  border-radius: 999px;
  font-family: var(--h-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.25s var(--h-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.h-btn svg { transition: transform 0.25s var(--h-ease); }
.h-btn:hover { transform: translateY(-2px); }
.h-btn:hover svg { transform: translateX(3px); }
.h-btn--accent { background: var(--h-accent); color: #000; box-shadow: 0 10px 30px rgba(255, 230, 0, 0.18); }
.h-btn--accent:hover { box-shadow: 0 14px 34px rgba(255, 230, 0, 0.3); }
.h-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.h-btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.h-btn--dark { background: #000; color: #fff; }
.h-btn--dark:hover { background: var(--h-accent); color: #000; }
.h-btn--outline { border: 1.5px solid #000; color: #000; }
.h-btn--outline:hover { background: #000; color: #fff; }

.h-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--h-accent);
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.h-skip:focus { top: 1rem; }

/* Scroll reveal (only when JS is running, so content never stays hidden) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--h-ease), transform 0.9s var(--h-ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Rise keyframes --- */
@keyframes hRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* --- Open / closed status --- */
.h-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.h-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a8a8a;
  flex-shrink: 0;
}
.h-status.is-open .h-status-dot {
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: hPulse 2s infinite;
}
@keyframes hPulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.h-status--dark { color: var(--h-text); font-size: 0.8rem; letter-spacing: 0; text-transform: none; }

/* =====================================================================
   NAVIGATION v2 (home page only for now; other pages use .navbar in global.css)
   ===================================================================== */
.h-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  color: #fff;
  transition: transform 0.45s var(--h-ease), background 0.35s ease, box-shadow 0.35s ease;
}
/* soft top fade so the white nav reads over bright video frames */
.h-nav::before {
  content: '';
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.h-nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--h-line-dark);
}
.h-nav.is-scrolled::before { opacity: 0; }
.h-nav.is-hidden { transform: translateY(-100%); }

.h-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 84px;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
  transition: height 0.35s var(--h-ease);
}
.h-nav.is-scrolled .h-nav-inner { height: 68px; }

.h-nav-logo { display: inline-flex; flex-shrink: 0; }
.h-nav-logo img { height: 34px; width: auto; display: block; transition: height 0.35s var(--h-ease); }
.h-nav.is-scrolled .h-nav-logo img { height: 28px; }

.h-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  margin: 0 auto;
}
.h-nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.h-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: var(--h-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--h-ease);
}
.h-nav-links a:hover { color: #fff; }
.h-nav-links a:hover::after,
.h-nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.h-nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.h-nav-links + .h-nav-actions { margin-left: 0; }

.h-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 0.75rem;
  height: 42px;
  border-radius: 999px;
  transition: color 0.2s ease;
}
.h-nav-phone svg { color: var(--h-accent); }
.h-nav-phone:hover { color: var(--h-accent); }

.h-nav-book {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 1.3rem;
  border-radius: 999px;
  background: var(--h-accent);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s var(--h-ease), box-shadow 0.25s ease;
}
.h-nav-book:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 230, 0, 0.3); }

.h-nav-menu-btn,
.h-menu-close {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 42px;
  padding: 0 0.4rem 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.h-nav-menu-btn:hover,
.h-menu-close:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.h-nav-menu-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.h-burger {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--h-accent);
  display: inline-block;
}
.h-burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.35s var(--h-ease), top 0.35s var(--h-ease);
}
.h-burger span:nth-child(1) { top: 12px; }
.h-burger span:nth-child(2) { top: 18px; }
.h-nav-menu-btn:hover .h-burger span:nth-child(1) { transform: translateX(-2px); }
.h-nav-menu-btn:hover .h-burger span:nth-child(2) { transform: translateX(2px); }
.h-burger.is-x span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.h-burger.is-x span:nth-child(2) { top: 15px; transform: rotate(-45deg); }

/* reading-progress line along the bottom edge of the nav */
.h-nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.h-nav.is-scrolled .h-nav-progress { opacity: 1; }
.h-nav-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--h-accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Full-screen menu ---------- */
.h-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--h-ink);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.h-menu[open] { display: flex; flex-direction: column; animation: hMenuIn 0.5s var(--h-ease) both; }
.h-menu.is-closing { animation: hMenuOut 0.3s ease both; }
.h-menu::backdrop { background: transparent; }
@keyframes hMenuIn  { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hMenuOut { from { opacity: 1; } to { opacity: 0; } }

/* giant outlined wordmark watermark */
.h-menu::after {
  content: 'YOST';
  position: absolute;
  right: -0.05em;
  bottom: -0.18em;
  font-family: var(--h-display);
  font-weight: 700;
  font-size: clamp(10rem, 32vw, 30rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 0;
}

.h-menu-top {
  height: 84px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.h-menu-close { margin-left: auto; }

.h-menu-body {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1rem, 4vh, 3rem) clamp(16px, 3vw, 40px) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  box-sizing: border-box;
}

.h-menu-links ol { list-style: none; margin: 0; padding: 0; }
.h-menu-links li {
  overflow: hidden;
  overflow: clip;            /* clip can't be scrolled by focus (iOS Safari bug) */
  border-bottom: 1px solid var(--h-line-dark);
}
.h-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: clamp(0.35rem, 1.1vh, 0.7rem) 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6.2vh, 4.2rem);
  line-height: 1;
  transition: color 0.25s ease, padding-left 0.35s var(--h-ease);
}
.h-menu-links a:hover,
.h-menu-links a:focus-visible { color: var(--h-accent); padding-left: 0.75rem; }
.h-menu-links a[aria-current="page"] { color: var(--h-accent); }
.h-menu-num {
  font-family: var(--h-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--h-on-dark-muted);
  min-width: 1.6rem;
}
/* staggered entrance */
.h-menu[open] .h-menu-links a { animation: hMenuLink 0.7s var(--h-ease) both; }
.h-menu[open] .h-menu-links li:nth-child(1) a { animation-delay: 0.12s; }
.h-menu[open] .h-menu-links li:nth-child(2) a { animation-delay: 0.16s; }
.h-menu[open] .h-menu-links li:nth-child(3) a { animation-delay: 0.20s; }
.h-menu[open] .h-menu-links li:nth-child(4) a { animation-delay: 0.24s; }
.h-menu[open] .h-menu-links li:nth-child(5) a { animation-delay: 0.28s; }
.h-menu[open] .h-menu-links li:nth-child(6) a { animation-delay: 0.32s; }
.h-menu[open] .h-menu-links li:nth-child(7) a { animation-delay: 0.36s; }
.h-menu[open] .h-menu-links li:nth-child(8) a { animation-delay: 0.40s; }
@keyframes hMenuLink { from { transform: translateY(105%); } to { transform: none; } }

.h-menu-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.75rem;
}
.h-menu[open] .h-menu-side { animation: hRise 0.8s var(--h-ease) 0.35s both; }
.h-menu-block { display: flex; flex-direction: column; gap: 0.5rem; }
.h-menu-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h-on-dark-muted);
}
.h-menu-block > a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.h-menu-block > a:hover { color: var(--h-accent); }
.h-menu-cta { align-self: flex-start; }

.h-socials { display: flex; gap: 0.6rem; }
.h-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--h-line-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--h-ease);
}
.h-socials a:hover { background: var(--h-accent); color: #000; border-color: var(--h-accent); transform: translateY(-2px); }

/* =====================================================================
   FOOTER v2
   ===================================================================== */
.h-footer {
  position: relative;
  background: #050505;
  color: var(--h-on-dark);
  padding-top: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  border-top: 1px solid var(--h-line-dark);
}
.h-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--h-line-dark);
}
.h-footer-tagline {
  margin: 0;
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  color: #fff;
}
.h-footer-tagline span { color: var(--h-accent); }
.h-footer-cta p { margin: 0 0 1.25rem; color: var(--h-on-dark-muted); font-size: 1.05rem; line-height: 1.6; }
.h-footer-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.h-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.h-footer-col h2 {
  margin: 0 0 1.25rem;
  font-family: var(--h-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h-on-dark-muted);
}
.h-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.h-footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--h-accent), var(--h-accent)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.35s var(--h-ease), color 0.2s ease;
  padding-bottom: 2px;
}
.h-footer-col a:hover { background-size: 100% 2px; }
.h-footer-address { display: inline-block; line-height: 1.55; margin-bottom: 1rem; }
.h-footer-hours { margin: 0 0 1rem; color: var(--h-on-dark-muted); font-size: 0.92rem; line-height: 1.7; }
.h-footer-col .h-socials { margin-top: 1.5rem; }
.h-footer-col .h-socials a { background: none; padding: 0; }
.h-footer-col .h-socials a:hover { background: var(--h-accent); }

.h-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--h-line-dark);
  font-size: 0.85rem;
  color: var(--h-on-dark-muted);
}
.h-footer-bottom p { margin: 0; }
.h-footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.h-footer-legal a { color: var(--h-on-dark-muted); text-decoration: none; transition: color 0.2s ease; }
.h-footer-legal a:hover { color: #fff; }
.h-footer-top-link { color: #fff !important; font-weight: 700; }

/* giant logo signature: sits behind the link columns, cropped by the
   bottom edge, and takes no space of its own */
.h-footer > .h-wrap { position: relative; z-index: 1; }
.h-footer-mark {
  position: absolute;
  left: 50%;
  bottom: -9%;
  width: min(1400px, 100%);
  padding: 0 clamp(16px, 3vw, 40px);
  transform: translateX(-50%);
  box-sizing: border-box;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}
.h-footer-mark img {
  width: 100%;
  height: auto;
  opacity: 0.025;
}

/* ---------- Nav / menu / footer responsive ---------- */
@media (max-width: 1100px) {
  .h-nav-links { display: none; }
  .h-nav-links + .h-nav-actions { margin-left: auto; }   /* push buttons right once links are hidden */
  .h-nav-phone-text { display: none; }
  .h-nav-phone { width: 42px; padding: 0; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.28); }
}

@media (max-width: 900px) {
  .h-menu-body { grid-template-columns: 1fr; }
  .h-footer-top { grid-template-columns: 1fr; }
  .h-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .h-nav-inner, .h-menu-top { height: 68px; gap: 0.5rem; }
  .h-nav.is-scrolled .h-nav-inner { height: 60px; }
  .h-nav-logo img { height: 26px; }
  .h-nav.is-scrolled .h-nav-logo img { height: 24px; }
  .h-nav-book { display: none; }       /* the mobile action bar covers booking */
  .h-nav-actions { gap: 0.5rem; }
  .h-menu-links a { font-size: clamp(2rem, 9.5vw, 2.8rem); padding: 0.45rem 0; }
  .h-menu-side { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .h-nav-menu-label { display: none; }
  .h-nav-menu-btn, .h-menu-close { padding: 0 4px; border-color: transparent; background: none; }
  .h-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
  .h-footer-grid > .h-footer-col:nth-child(n+3) { grid-column: 1 / -1; }  /* Visit + Contact full width */
  .h-footer-col a { font-size: 0.92rem; }
  .h-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .h-menu[open], .h-menu[open] .h-menu-links a, .h-menu[open] .h-menu-side { animation: none !important; }
  .h-nav { transition: background 0.2s ease; }
}

/* --- Mobile action bar (hidden on desktop) --- */
/* ---------- Mobile quick-action bar ---------- */
.mobile-action-bar { display: none; }

/* --- Mobile action bar (phones) --- */
@media (max-width: 768px) {
  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(110%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }
  .mobile-action-bar.visible { transform: translateY(0); }
  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
  }
  .mab-call { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }
  .mab-book { background: var(--h-accent); color: #000; text-transform: uppercase; letter-spacing: 0.04em; }
  body.has-action-bar .back-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 768px) {
  .h-eyebrow { letter-spacing: 0.16em; font-size: 0.72rem; }
  .h-section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .h-section-head--center { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   INNER-PAGE COMPONENTS
   ===================================================================== */

/* --- Page header (inner pages) --- */
.p-hero {
  position: relative;
  min-height: clamp(460px, 68vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
.p-hero-media { position: absolute; inset: 0; z-index: -2; }
.p-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pHeroZoom 14s ease-out both;
}
@keyframes pHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.p-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 50%),
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 30%);
}
.p-hero--plain { min-height: clamp(380px, 52vh, 520px); background: var(--h-ink); }
.p-hero--plain::after {
  background: radial-gradient(ellipse at 85% 0%, rgba(255, 230, 0, 0.12), transparent 55%);
}
.p-hero-inner { width: 100%; padding-top: 140px; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.p-hero-inner > * { animation: hRise 0.9s var(--h-ease) both; }
.p-hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.p-hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.p-hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
.p-hero-inner > *:nth-child(5) { animation-delay: 0.32s; }

.p-crumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.p-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.p-crumbs a:hover { color: var(--h-accent); }
.p-crumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }

.p-title {
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.p-title em { font-style: normal; color: var(--h-accent); }
.p-lead {
  max-width: 600px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2rem;
}
/* hero button row (shared: home, storage, brands). Was only defined in
   index.css, so on storage/brands the buttons had no gap and stacked flush. */
.h-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (max-width: 768px) {
  .h-hero-ctas .h-btn { flex: 1 1 100%; }
}
.p-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.p-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.p-chips a:hover { background: var(--h-accent); color: #000; border-color: var(--h-accent); }

/* --- Intro split (big heading left, copy right) --- */
.p-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.p-intro .h-heading { margin-bottom: 0; }
.p-intro-copy p { margin: 0 0 1.25rem; line-height: 1.75; color: var(--h-text-muted); font-size: 1.05rem; }
.p-intro-copy p:first-child { color: var(--h-text); font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.h-dark .p-intro-copy p { color: var(--h-on-dark-muted); }
.h-dark .p-intro-copy p:first-child { color: #fff; }

/* --- Check list --- */
.y-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.y-checks li { position: relative; padding-left: 1.9rem; line-height: 1.55; }
.y-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--h-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* --- CTA band with photo --- */
.p-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: clamp(5.5rem, 12vw, 9.5rem) 0;
  background: #000;
}
.p-cta-media { position: absolute; inset: 0; z-index: -2; }
.p-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.p-cta::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.88) 75%);
}
.p-cta p:not(.h-eyebrow) { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.25rem; line-height: 1.6; }
.p-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* --- FAQ accordion (works with the existing .faq-item / .faq-question / .faq-answer markup) --- */
.y-faq { display: grid; gap: 0; border-top: 1px solid var(--h-line-light); }
.y-faq .faq-item { border-bottom: 1px solid var(--h-line-light); }
.y-faq .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  font-family: var(--h-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.y-faq .faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: transform 0.35s var(--h-ease), background-color 0.2s ease;
}
.y-faq .faq-question .faq-icon { display: none; }
.y-faq .faq-question:hover::after { background-color: var(--h-accent); }
.y-faq .faq-item.open .faq-question::after,
.y-faq .faq-question[aria-expanded="true"]::after { transform: rotate(135deg); background-color: var(--h-accent); }
.y-faq .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--h-ease);
}
.y-faq .faq-answer > * { overflow: hidden; margin: 0; }
.y-faq .faq-item.open .faq-answer,
.y-faq .faq-answer.open { grid-template-rows: 1fr; }
.y-faq .faq-answer p { color: var(--h-text-muted); line-height: 1.75; max-width: 72ch; }
.y-faq .faq-item.open .faq-answer p,
.y-faq .faq-answer.open p { padding-bottom: 1.5rem; }
.h-dark .y-faq, .h-dark .y-faq .faq-item { border-color: var(--h-line-dark); }
.h-dark .y-faq .faq-answer p { color: var(--h-on-dark-muted); }

/* --- Forms (contact + storage; keeps the existing field markup/IDs) --- */
.y-form { display: grid; gap: 1.25rem; }
.y-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.y-form .form-group { display: flex; flex-direction: column; gap: 0.45rem; margin: 0; }
.y-form label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h-text-muted);
}
.y-form input[type="text"],
.y-form input[type="email"],
.y-form input[type="tel"],
.y-form select,
.y-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--h-text);
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.y-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}
.y-form textarea { resize: vertical; min-height: 140px; }
.y-form input:focus,
.y-form select:focus,
.y-form textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.45);
}
.y-form .form-help { font-size: 0.78rem; color: var(--h-text-muted); }
.y-form .checkbox-group { flex-direction: row; }
.y-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--h-text-muted);
  cursor: pointer;
}
.y-form .checkbox-label input { width: 20px; height: 20px; margin: 0; accent-color: #000; flex-shrink: 0; }
.y-form .checkmark { display: none; }
.y-form .submit-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--h-ease);
}
.y-form .submit-btn:hover:not(:disabled) { background: var(--h-accent); color: #000; transform: translateY(-2px); }
.y-form .submit-btn:disabled { opacity: 0.6; cursor: wait; }
.y-form .service-type-locked {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--h-paper-2);
  font-weight: 700;
}
.y-form .locked-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--h-accent);
  color: #000;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* --- Detail panel (service / team / brand "learn more") --- */
.y-detail {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(640px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--h-text);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
}
.y-detail[open] { animation: yDetailIn 0.5s var(--h-ease) both; }
.y-detail.is-closing { animation: yDetailOut 0.3s ease both; }
.y-detail::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes yDetailIn  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes yDetailOut { from { transform: none; } to { transform: translateX(100%); } }
.y-detail-media { position: relative; aspect-ratio: 16 / 10; background: #111; }
.y-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.y-detail-media--portrait { aspect-ratio: 4 / 3; }
.y-detail-media--portrait img { object-position: center 25%; }
.y-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.y-detail-close:hover { background: var(--h-accent); color: #000; }
.y-detail--nomedia .y-detail-close { position: sticky; float: right; margin: 1rem 1rem 0 0; background: #000; }
.y-detail-body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.y-detail-title {
  font-family: var(--h-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}
.y-detail-desc { color: var(--h-text-muted); line-height: 1.75; margin: 0 0 2rem; }
.y-detail-section { padding: 1.5rem 0; border-top: 1px solid var(--h-line-light); }
.y-detail-section h3 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--h-text-muted);
}
.y-detail-section .y-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.25rem; font-size: 0.95rem; }
.y-detail-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.y-detail-tags span {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--h-paper-2);
}
.y-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--h-line-light);
}
.y-detail-meta div { background: var(--h-paper); border-radius: 10px; padding: 1rem; }
.y-detail-meta dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--h-text-muted); margin-bottom: 0.3rem; }
.y-detail-meta dd { margin: 0; font-weight: 700; }
.y-detail-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-wrap: nowrap;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  margin-top: 1rem;
  background: linear-gradient(rgba(255,255,255,0), #fff 22%);
}
.y-detail-actions .h-btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0.6rem 1rem; font-size: 0.8rem; white-space: normal; text-align: center; line-height: 1.25; }

/* --- Back-to-top button (was in global.css) --- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 997;
  width: 50px;
  height: 50px;
  border: 1px solid var(--h-line-dark);
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease, bottom 0.3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--h-accent); color: #000; }
.back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .p-intro { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .p-hero-inner { padding-top: 110px; }
  .y-form .form-row { grid-template-columns: 1fr; }
  .y-form .submit-btn { justify-self: stretch; }
  .y-detail { width: 100vw; }
  .y-detail-section .y-checks { grid-template-columns: 1fr; }
  .back-to-top { width: 44px; height: 44px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* accent emphasis inside dark page headers / CTA bands */
.p-hero .h-heading em,
.p-cta .h-heading em { color: var(--h-accent); }
