/* Site header: the ONLY place header/nav styles live.
   One layout on every page, fixed to the top, and it never changes on scroll
   except for a soft shadow. Breakpoints: full nav at 1320px+, menu button below. */

:root {
  --header-h: 84px;
}
@media (max-width: 600px) {
  :root {
    --header-h: 68px;
  }
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 56px);
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid #d9ceb180;
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px #3435301a;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-flourish {
  display: block;
  width: 44px;
  height: 48px;
  flex-shrink: 0;
}
.brand-flourish svg {
  width: 100%;
  height: 100%;
}
.wordmark {
  font: 31px/1 var(--serif);
  letter-spacing: -0.5px;
  white-space: nowrap;
  color: var(--ink);
}
.wordmark span {
  display: block;
  font: 600 8.5px/1 var(--sans);
  letter-spacing: 0.24em;
  margin-top: 8px;
}

/* Desktop links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.3vw, 26px);
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink);
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 0;
  background: var(--rose);
  transition: width 0.3s;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current]::after {
  width: 100%;
}

/* Actions: Book is always visible */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-header .scroll-booking {
  display: inline-flex;
  padding: 12px 22px;
  font-size: 14.5px;
  letter-spacing: 0.03em;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 13.5px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-toggle .bars {
  display: grid;
  gap: 6px;
  width: 24px;
}
.menu-toggle .bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle[aria-expanded='true'] .bars span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .bars span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Slide-down menu (below 1180px) */
.mobile-menu {
  position: fixed;
  z-index: 49;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px clamp(20px, 6vw, 56px) 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px #34353026;
}
.mobile-menu > a {
  display: block;
  padding: 12px 0;
  font: 30px/1.2 var(--serif);
  border-bottom: 1px solid #e9e2d1;
}
.mobile-menu > a[aria-current] {
  color: var(--rose);
}
.mobile-menu .button {
  display: flex;
  margin: 22px 0 10px;
  padding: 16px;
  font: 600 16px var(--sans);
  border-bottom: 0;
}
.mobile-menu .menu-phone {
  font: 16px var(--sans);
  border-bottom: 0;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 1319px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 600px) {
  .site-header {
    gap: 10px;
  }
  .brand-flourish {
    display: none;
  }
  .wordmark {
    font-size: 22px;
  }
  .wordmark span {
    font-size: 6.5px;
    letter-spacing: 0.2em;
    margin-top: 6px;
  }
  .site-header .scroll-booking {
    padding: 10px 16px;
    font-size: 14.5px;
  }
  .menu-toggle .menu-label {
    display: none;
  }
}
@media (max-width: 360px) {
  .wordmark {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .menu-toggle .bars span {
    transition: none;
  }
}

.book-short {
  display: none;
}
@media (max-width: 600px) {
  .book-long {
    display: none;
  }
  .book-short {
    display: inline;
  }
}

/* Instagram icon beside the bag (full-width header only; the phone menu has a text link). */
.ig-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
}
.ig-button:hover {
  background: #ebe5d5;
}
@media (max-width: 1319px) {
  .ig-button {
    display: none;
  }
}

