/* Shared shell for the three scroll-header versions: fixed header with a centered logo slot,
   a sticky hero stage and the big wordmark that docks into the slot at the end of the hero. */
:root { --hh: 78px; --wine: #801b30; --hx-ink: #111 }
html { scroll-padding-top: calc(var(--hh) + 20px) }
body.hx { background: #fff; overflow-x: clip }

.hx header {
  position: fixed; inset: 0 0 auto; height: var(--hh); z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 4.5%; background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; color: var(--hx-ink);
  transition: background-color .35s, border-color .35s, color .35s;
}
.hx-docked header { background: #fffffff2; border-bottom-color: var(--line); backdrop-filter: blur(12px); color: #111 }
.hx header nav { justify-self: start; gap: 30px }
.hx header .bag { justify-self: end; color: inherit }
.hx header .bag span { background: #8882; color: inherit }
.logo-slot { display: block; width: 112px; height: 52px; position: relative }
.logo-slot .logo {
  position: absolute; inset: 0; font-size: 30px; line-height: .86; letter-spacing: -.045em;
  opacity: 0; pointer-events: none; transition: opacity .15s; display: block; white-space: nowrap
}
.hx-docked .logo-slot .logo { opacity: 1; pointer-events: auto }

.hx-track { position: relative; height: var(--track, 520svh) }
.hx-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--stage-bg, #fff) }
.hx-logo {
  position: absolute; left: 0; top: 0; z-index: 25; margin: 0;
  font-size: 200px; line-height: .86; letter-spacing: -.045em; white-space: nowrap;
  transform-origin: 0 0; pointer-events: none; color: var(--hx-ink);
  font-family: ArchivoBlack, Club, sans-serif;
}
.hx-logo span { color: var(--wine) }
.hx-docked .hx-logo { visibility: hidden }

/* Presentation helper: jump between the versions without leaving the page. */
.hx-switch {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: #111111e6; backdrop-filter: blur(10px); box-shadow: 0 10px 40px #0003;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.hx-switch a { color: #fff; padding: 9px 14px; border-radius: 999px; opacity: .7 }
.hx-switch a:hover { opacity: 1 }
.hx-switch a[aria-current] { background: #fff; color: #111; opacity: 1 }
.hx-hint {
  position: absolute; z-index: 24; left: 50%; bottom: 76px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--hx-ink);
}
.hx-hint i { width: 1px; height: 34px; background: currentColor; animation: hxHint 1.6s ease-in-out infinite; transform-origin: top }
@keyframes hxHint { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

@media (max-width: 650px) {
  :root { --hh: 64px }
  .hx header { padding: 0 16px; gap: 10px; flex-wrap: nowrap }
  .hx header nav { order: 0; width: auto; border: 0; padding: 0; gap: 16px; justify-content: flex-start }
  .hx header nav span { display: none }
  .hx header nav svg { width: 21px; height: 21px }
  .hx header .bag { margin: 0; font-size: 0; gap: 6px }
  .hx header .bag span { font-size: 11px }
  .logo-slot { width: 92px; height: 43px }
  .logo-slot .logo { font-size: 24.6px }
  .hx-switch { font-size: 10px; bottom: 12px }
  .hx-switch a { padding: 8px 10px }
  .hx-hint { bottom: 70px }
}
.hx header nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; vertical-align: -4px; margin-right: 6px }
@media (prefers-reduced-motion: reduce) { .hx-hint i { animation: none } }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap }

/* Client wordmark (SVG). Letters follow the ink color, the full stop stays brand red. */
.cc-logo { display: block; width: 100%; height: 100%; overflow: visible }
.cc-dot { fill: #860433 }
.hx-logo { width: 431px; height: 285px; font-size: 0; line-height: 0 }
.logo-slot { width: 79px; height: 52px }
.logo-slot .logo { font-size: 0 }
.cc-foot { display: block; width: 120px; height: 79px; color: #111 }
@media (max-width: 650px) {
  .logo-slot { width: 65px; height: 43px }
}
