/* Resting header (Paper: "Headers (resting) · round 2", F1).
   1. A slim ink strip above the header with hours, phone and email. Dismissible; the choice is
      remembered (see the inline script in each page's <head>). Hidden on phones, where the menu
      already carries the contact details.
   2. The page links are plain text; the current page is full ink with a 2px underline.
      Contact us is the one solid button. (Until 2026-11-25 the links sat in a grey segmented track.)
   Inner pages only: the homepage keeps its own header and has no strip.
   Loaded last; the #smooth-content prefix keeps it ahead of the older per-page header rules. */

:root {
  --header-track: #e7e3dc;
  --header-control-h: 48px;
  --header-control-r: 12px;
}

/* ---------- 1. Utility strip ---------- */
.site-strip { display: none; }
@media (min-width: 768px) {
  .boutique-page #smooth-content .site-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* The column: 1800px, or the page minus the column gutter, inside the page's own gutter. */
    width: min(1800px, calc(100% + 2 * var(--page-gutter, 10px) - 2 * clamp(12px, 4.7vw, 68px)));
    height: 40px;
    margin: calc(-1 * var(--page-gutter, 10px)) auto 0;
    padding: 0 7px 0 18px;
    border-radius: 0 0 12px 12px;
    background: #17161b;
    color: #d9d6cf;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
  }
  /* The homepage header rises into the page padding; with the strip above it, it sits below instead. */
  html:not(.strip-dismissed) .boutique-page #smooth-content .site-strip + .header-area { margin-top: 0; }
}
.site-strip p { margin: 0; color: inherit; font: inherit; }
.site-strip-contact { display: flex; align-items: center; gap: 24px; }
.site-strip a { color: inherit; text-decoration: none; transition: color .2s; }
.site-strip a:hover { color: #fff; }
.site-strip a[href^="tel:"] { color: #fff; font-weight: 600; }
.site-strip-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #d9d6cf;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.site-strip-close:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.site-strip-close:focus-visible, .site-strip a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-strip-close svg { width: 14px; height: 14px; }
html.strip-dismissed .site-strip { display: none !important; }

/* ---------- 2. Segmented navigation ---------- */
@media (min-width: 768px) {
  .boutique-page #smooth-content .site-header .main-menu {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .boutique-page #smooth-content .site-header .main-menu > ul { display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 2.2vw, 36px); }
  .boutique-page #smooth-content .site-header .main-menu li { display: flex; border: 0; }
  .boutique-page #smooth-content .site-header .main-menu li + li { border-left: 0; }

  /* Plain text links (2026-11-25; the grey segmented track read as a muddy block beside the
     cobalt button). The current page is full ink with a 2px ink underline; on hover a 1px underline grows out
     from the centre, the same animation as the homepage links. */
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) {
    height: var(--header-control-h);
    padding: 0;
    background: none;
  }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 0;
    height: 100%;
    padding: 0;
    border-radius: 0;
    color: #5b5953;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    background: none;
    box-shadow: none;
    transition: color .2s;
  }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a::after {
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    top: auto;
    bottom: calc(50% - 19px);
    display: block;
    width: 100%;
    max-width: none;
    height: 1px;
    margin: 0;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 50% 50%;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a:hover { color: #17161b; background: none; text-decoration: none; }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a:hover::after { transform: scaleX(1); }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a[aria-current="page"] { color: #17161b; background: none; box-shadow: none; }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a[aria-current="page"]::after { height: 2px; transform: scaleX(1); }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a:focus-visible { outline: 2px solid var(--cobalt, #0504aa); outline-offset: 4px; border-radius: 2px; }

  /* Contact us: the one solid shape in the header. */
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact { display: flex; margin-left: clamp(4px, .8vw, 12px); }
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--header-control-h);
    min-height: 0;
    padding: 0 20px;
    border: 0;
    border-radius: var(--header-control-r);
    background: var(--cobalt, #0504aa);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
  }
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a:hover { background: var(--cobalt-deep, #03027a); color: #fff; }
}
/* Tablets: a little tighter so logo, track and button fit. */
@media (min-width: 768px) and (max-width: 1023px) {
  .boutique-page #smooth-content .site-header .main-menu > ul { gap: 20px; }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a { font-size: 15px; }
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a { padding: 0 16px; font-size: 14px; }
}

/* ---------- 3. Header polish (2026-11-25) ----------
   a. On wide screens the header grows with the page. The page titles scale with the viewport,
      so a fixed 48px header looked like a toolbar on a poster at 1600px and up.
   b. (Removed 2026-11-25: extra space above the header when the strip is closed.)
   c. The intro's main button is ink, so the header's Contact us stays the only cobalt
      in view. (The :is(#btn, …) cobalt rule in buttons.css has id-level specificity,
      hence the #smooth-content prefix.) */
@media (min-width: 1600px) {
  :root { --header-control-h: clamp(48px, 1.6vw + 22px, 58px); }
  .boutique-page #smooth-content .site-header .header-area__inner { height: clamp(78px, 2vw + 46px, 90px); }
  .boutique-page #smooth-content .site-header.header-area .header__logo img { width: clamp(172px, 6vw + 76px, 204px); }
  .boutique-page #smooth-content .site-header .main-menu li:not(.menu-contact) a { font-size: clamp(16px, .25vw + 12px, 17px); }
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a { padding: 0 clamp(20px, .8vw + 7.2px, 26px); font-size: clamp(15px, .3vw + 10.2px, 17px); }
}
#smooth-content .site-page-header .site-page-actions .site-btn--primary {
  background-color: #17161b;
  background-image: var(--btn-grain), linear-gradient(180deg, #2b2a31 0%, #17161b 60%, #121116 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    0 1px 2px rgba(10, 9, 14, .2),
    0 4px 10px -6px rgba(10, 9, 14, .35);
}
#smooth-content .site-page-header .site-page-actions .site-btn--primary:is(:hover, :focus-visible) {
  background-color: #24232a;
  background-image: var(--btn-grain), linear-gradient(180deg, #37363e 0%, #24232a 60%, #1c1b21 100%);
}
#smooth-content .site-page-header .site-page-actions .site-btn--primary:active {
  background-color: #121116;
  background-image: var(--btn-grain), linear-gradient(180deg, #121116 0%, #19181e 100%);
}

/* e. Icon-only logo (2026-11-25). The inner-page header shows the swoosh mark only; the traced
      wordmark read thin beside the page titles. */
.boutique-page #smooth-content .site-header.header-area .header__logo img { width: auto; height: 50px; max-height: none; }
@media (min-width: 1600px) {
  .boutique-page #smooth-content .site-header.header-area .header__logo img { width: auto; height: clamp(50px, 1.4vw + 28px, 60px); }
}
@media (max-width: 767px) {
  .boutique-page #smooth-content .site-header.header-area .header__logo img { height: 40px; }
}

/* f. A lighter Contact us (2026-11-25): it was 48px tall with 12px corners, the heaviest thing
      at the top of the page. It now matches the scale of the page's own buttons. */
@media (min-width: 768px) {
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a {
    height: 40px;
    padding: 0 16px;
    gap: 7px;
    border-radius: 8px;
    font-size: 14px;
  }
}
@media (min-width: 1600px) {
  .boutique-page #smooth-content .site-header .main-menu li.menu-contact a {
    height: clamp(40px, .5vw + 32px, 44px);
    padding: 0 clamp(16px, .5vw + 8px, 20px);
    font-size: clamp(14px, .15vw + 11.6px, 15px);
  }
}
