/* =====================================================================
   ESCAPE — Aman-style navigation (v2)
   Closed bar at top + slide-in menu panel from left.
   This file is loaded AFTER style.css so its rules win.
   Only touches the nav. Site-wide typography, colors, layout unchanged.
===================================================================== */

/* ---------- Inter for nav only ---------- */
:root {
  --nav-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-bg: #f1f0ea;
  --nav-ink: #1a1b1f;
  --nav-ink-muted: #5a5b5f;
  --nav-ink-faint: #8c8d8f;
  --nav-hover: #82847f;
  --nav-charcoal: #1a1b1f;
}

/* ---------- CLOSED TOP BAR ---------- */
.site-header,
.site-header.site-header--solid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(26, 27, 31, 0.08);
  box-shadow: none;
  transition: background 240ms ease;
}

/* Suppress the old caret arrow next to "Menu" */
.site-header__caret { display: none !important; }

/* ---------- MENU BUTTON (left) ---------- */
.site-header__menu {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--nav-ink);
  text-transform: none;
  position: relative;
}
.site-header__menu::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 14px;
  background-image:
    linear-gradient(var(--nav-ink), var(--nav-ink)),
    linear-gradient(var(--nav-ink), var(--nav-ink)),
    linear-gradient(var(--nav-ink), var(--nav-ink));
  background-size: 22px 1.5px;
  background-position: 0 0, 0 6px, 0 12px;
  background-repeat: no-repeat;
}
.site-header__menu,
.site-header__menu:link,
.site-header__menu:visited {
  text-decoration: none;
}
.site-header__menu:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-header__menu::before {
  /* slightly thicker bars for better visibility */
  height: 13px;
  background-size: 22px 1.75px;
  background-position: 0 0, 0 5.5px, 0 11px;
}

/* ---------- WORDMARK (center) ---------- */
.site-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.site-header__lockup {
  display: block;
  height: 22px;
  width: auto;
}
.site-header__lockup--white { display: none !important; }
.site-header__lockup--ink { display: block !important; }

/* ---------- RIGHT SIDE ---------- */
.site-header__right {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.weather-widget { display: none !important; }

.site-header__lang-slot {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--nav-ink);
}
.site-header__lang-slot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--nav-ink);
  padding-bottom: 1px;
}

/* Enquire CTA pinned in top bar */
.site-header__enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-charcoal);
  color: var(--nav-bg);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 3px;
  border: 1px solid var(--nav-charcoal);
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.site-header__enquire:hover {
  background: #404040;
  color: var(--nav-bg);
}

/* ---------- SLIDE-IN MENU PANEL ---------- */
.site-nav,
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 50vw;
  max-width: 720px;
  background: var(--nav-bg);
  padding: 90px 80px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(0,0,0,0.18);
}
.site-nav.is-open,
nav.site-nav.is-open {
  transform: translateX(0);
}

/* Overlay covering the rest of the screen when menu is open.
   Uses body::after rather than a JS-injected div so it just works with
   the existing inline open/close handler. */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}
body.no-scroll::after,
body.menu-open::after {
  opacity: 1;
  pointer-events: auto;
}

.site-nav__close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nav-ink);
  padding: 8px 4px;
}
.site-nav__close::before { content: "Close"; }
/* Hide the original times character; we use the Close text label */
.site-nav__close { font-size: 0; }
.site-nav__close::before { font-size: 12px; }

/* ---------- PRIMARY NAV LIST ---------- */
.primary-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  align-items: flex-start;
}

.primary-nav__item {
  margin: 0;
  padding: 0;
}
.primary-nav__item > a,
.primary-nav__item > span,
.primary-nav__label {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--nav-font);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  color: var(--nav-ink);
  text-decoration: none;
  padding: 9px 0 6px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, color 240ms ease;
  cursor: pointer;
}
.primary-nav__item > a:hover,
.primary-nav__label:hover {
  border-bottom-color: var(--nav-hover);
}

/* Current page — a subtle underline rather than a bold weight change */
.primary-nav__item > a[aria-current="page"] {
  font-weight: 400;
  border-bottom-color: var(--nav-hover);
}

/* "Artists ›" chevron */
.primary-nav__item--has-submenu .primary-nav__label::after {
  content: "›";
  font-size: 16px;
  color: var(--nav-ink-muted);
  margin-left: 6px;
  font-weight: 400;
  line-height: 1;
}

/* Hint qualifiers — "Spa", "Bar" */
.primary-nav__hint {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--nav-ink-faint);
  margin-left: 8px;
  text-transform: none;
}

/* SUB-BRAND items — same treatment, no special caps.
   Use text-transform: capitalize to force "ESCAPE Records" -> "Escape Records"
   without changing the underlying HTML text. */
.primary-nav__item--subbrand > a {
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
/* Force the sub-brand link text to be displayed in title-case visually */
.primary-nav__item--subbrand > a {
  text-transform: capitalize;
}
/* But keep "ESCAPE" looking right: actually best to leave as-is so it reads "ESCAPE Records" */
.primary-nav__item--subbrand > a {
  text-transform: none;
}

/* Apply a slim subtle scale-down on the all-caps ESCAPE word so it doesn't dominate */
.primary-nav__item--subbrand > a {
  font-variant: normal;
  font-feature-settings: "smcp" 0;
}

/* CTA in menu (hide — the Enquire button now lives in the top bar) */
.primary-nav__item--cta-feature {
  display: none;
}

/* Dividers between groups — visual whitespace */
.primary-nav__divider {
  list-style: none;
  border: none;
  height: 28px;
  background: transparent;
  margin: 0;
  padding: 0;
}

/* SUBMENU (Artists ▸ children) — reveal on hover within open panel */
.primary-nav__submenu {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0 0 0 18px;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(26,27,31,0.12);
}
.primary-nav__item--has-submenu:hover .primary-nav__submenu,
.primary-nav__item--has-submenu.is-open .primary-nav__submenu {
  display: flex;
}
.primary-nav__submenu a {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--nav-ink-muted);
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
  width: fit-content;
}
.primary-nav__submenu a:hover {
  color: var(--nav-ink);
  border-bottom-color: var(--nav-hover);
}

/* Utility group — Origins, Merch, About — smaller and quieter */
.primary-nav__item--utility > a {
  font-size: 16px;
  color: var(--nav-ink-muted);
  font-weight: 400;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .site-header { padding: 0 18px; }
  .site-header__lockup { height: 18px; }
  .site-header__enquire { padding: 8px 16px; font-size: 12px; }
  .site-header__lang-slot { display: none; }
  .site-nav,
  nav.site-nav {
    width: 88vw;
    padding: 80px 40px 40px;
    gap: 36px;
  }
  .primary-nav__item > a,
  .primary-nav__item > span,
  .primary-nav__label,
  .primary-nav__item--subbrand > a {
    font-size: 20px;
  }
  .primary-nav__item--utility > a {
    font-size: 15px;
  }
}

/* ---------- BODY LOCK WHEN OPEN ---------- */
body.menu-open {
  overflow: hidden;
}

/* Body content sits below the fixed header */
body {
  padding-top: 64px;
}

/* Hero sections that were full-bleed and assumed no header offset still work
   because the header is fixed and the body padding pushes content down */
