@font-face {
  font-family: "Remorphis Menu";
  src: url("/assets/asset-c940764593d0fe5d59.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* The four audiences stay visible. Only the product links move into Explore. */
.brand-nav.nav-shell {
  --menu-logo-width: clamp(132px, 12vw, 166px);
  --menu-ink: #453c31;
  --menu-line: #c3b7a5;
  --menu-paper: #faf6ee;
  --pill-track: #eee8dd;
  --pill-line: #cfc3af;
  --pill-selected: #403b32;
  --pill-on: #fffaef;
  height: var(--brand-bar-height,68px);
  min-height: var(--brand-bar-height,68px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(12px,2vw,32px);
  padding-inline: max(4vw,env(safe-area-inset-left),16px) max(4vw,env(safe-area-inset-right),16px);
}
/* Fade the lettering inside its slot without resizing any part of the menu. */
.brand-nav.nav-shell .brand-header {
  display: inline-flex;
  align-items: center;
  flex: 0 0 var(--menu-logo-width);
  width: var(--menu-logo-width);
  min-height: 44px;
  margin: 0;
  padding: 0;
}
.brand-nav.nav-shell .brand-header img {
  display: block;
  flex: none;
  width: var(--menu-logo-width);
  height: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 var(--brand-solid, 100%), transparent var(--brand-clear, 104%));
  mask-image: linear-gradient(to right, #000 var(--brand-solid, 100%), transparent var(--brand-clear, 104%));
}
.brand-nav-ink.nav-shell {
  --menu-ink: #eee6d7;
  --menu-line: #746c5e;
  --menu-paper: #20231d;
  --pill-track: #191d17;
  --pill-line: #4e5247;
  --pill-selected: #e7dfcd;
  --pill-on: #302e25;
}
.brand-nav.nav-shell .site-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(188px, 15vw, 205px) 96px;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: clamp(13px,2vw,32px);
  color: var(--menu-ink);
  font: 450 13px/1.3 "Remorphis Menu", Arial, sans-serif;
}
.brand-nav.nav-shell .site-navigation a, .brand-nav.nav-shell .site-navigation summary {
  font: inherit;
  letter-spacing: normal;
  text-decoration: none;
  color: var(--menu-ink);
}
.brand-nav.nav-shell .site-navigation :is(a,summary):focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.brand-nav.nav-shell .site-navigation .nav-audiences {
  display: grid;
  grid-template-columns: 1fr .71fr 1.02fr 1.76fr;
  justify-self: center;
  align-items: stretch;
  width: clamp(410px, calc(336px + 7.5vw), 452px);
  margin: 0;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--pill-line);
  background: var(--pill-track);
  border-radius: 99px;
}
.brand-nav.nav-shell .nav-audiences a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  min-height: 36px;
  padding: 3px 6px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
}
.brand-nav.nav-shell .nav-audiences a[aria-current] { background: var(--pill-selected); color: var(--pill-on); }
.brand-nav.nav-shell .nav-destinations { display: flex; align-items: center; justify-content: space-between; gap: 0; padding: 0; border: 0; }
.brand-nav.nav-shell .nav-destinations a { display: inline-flex; align-items: center; min-height: 44px; }
.brand-nav.nav-shell .site-navigation .nav-invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  white-space: nowrap;
  border: 0;
  border-bottom: 1px solid var(--menu-line);
  text-transform: none;
}
.brand-nav.nav-shell .nav-invite .direction-ne { width: .65em; height: .65em; margin: 0; }
.brand-nav.nav-shell .site-navigation :is(.nav-destinations,.nav-sheet) a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.brand-nav.nav-shell .nav-disclosure { display: none; }
@media (hover:hover) {
  .brand-nav.nav-shell .site-navigation :is(.nav-audiences,.nav-destinations,.nav-sheet) a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width:1000px) {
  :root:has(.brand-nav.nav-shell) { --brand-bar-height:106px; scroll-padding-top:118px; }
  .brand-nav.nav-shell {
    --menu-logo-width: 124px;
    padding-inline: max(12px,3.5vw,env(safe-area-inset-left)) max(12px,3.5vw,env(safe-area-inset-right));
    align-items: flex-start;
    gap: 0;
    display: flex;
  }
  .brand-nav.nav-shell .brand-header {
    position: absolute; z-index: 1;
    top: 0; left: max(12px,3.5vw,env(safe-area-inset-left));
    display: inline-flex; align-items: center;
    min-height: 50px;
  }
  .brand-nav.nav-shell .site-navigation {
    display: grid;
    flex: 1;
    grid-template: "space explore access" 50px "roles roles roles" 50px / minmax(0,1fr) 68px 96px;
    align-items: center;
    gap: 0 clamp(13px,3vw,23px);
    font-size: 13px;
  }
  .brand-nav.nav-shell .site-navigation .nav-destinations { display: none; }
  .brand-nav.nav-shell .site-navigation .nav-audiences {
    grid-area: roles;
    justify-self: center;
    display: grid;
    grid-template-columns: .9fr .72fr 1fr 1.55fr;
    width: min(100%,460px);
    min-width: 0;
    box-sizing: border-box;
    padding: 2px;
    margin: 0;
  }
  .brand-nav.nav-shell .nav-audiences a {
    text-align: center;
    white-space: normal;
    min-width: 0;
    min-height: 44px;
    padding: 2px;
    line-height: 1.17;
  }
  .brand-nav.nav-shell .site-navigation .nav-invite { grid-area: access; justify-self: stretch; }
  .brand-nav.nav-shell .nav-disclosure {
    grid-area: explore; display: block; position: static; margin: 0; padding: 0; border: 0;
  }
  .brand-nav.nav-shell .nav-disclosure summary {
    display: flex; align-items: center; gap: 7px;
    min-height: 44px; padding: 0 2px; list-style: none; cursor: pointer;
  }
  .brand-nav.nav-shell .nav-disclosure summary::-webkit-details-marker { display: none; }
  .brand-nav.nav-shell .nav-disclosure summary span {
    width: 7px; height: 7px; border: solid currentColor; border-width: 0 1px 1px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .brand-nav.nav-shell .nav-disclosure[open] summary span { transform: translateY(2px) rotate(225deg); }
  .brand-nav.nav-shell .nav-sheet {
    position: absolute; z-index: 3; right: max(12px,3.5vw,env(safe-area-inset-right)); top: var(--brand-bar-height,106px);
    width: min(205px,calc(100vw - 24px)); max-height: calc(100dvh - var(--brand-bar-height,106px) - 10px); overflow-y: auto;
    padding: 5px 8px; border: 1px solid var(--pill-line); border-radius: 14px;
    color: var(--menu-ink); background: var(--menu-paper); box-shadow: 0 8px 26px #19191326;
  }
  .brand-nav.nav-shell .nav-sheet a {
    display: flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px;
  }
}
@media (max-width:420px) {
  .brand-nav.nav-shell .nav-audiences a { font-size: 12px; }
  .brand-nav.nav-shell .site-navigation { font-size: 12px; }
  .brand-nav.nav-shell { --menu-logo-width: 112px; }
  .brand-nav.nav-shell .site-navigation { grid-template-columns: minmax(0,1fr) 62px 88px; }
}
@media (max-width:355px) {
  .brand-nav.nav-shell .site-navigation .nav-audiences { grid-template-columns: .91fr .7fr 1fr 1.35fr; }
  .brand-nav.nav-shell { --menu-logo-width: 96px; }
  .brand-nav.nav-shell .site-navigation { column-gap: 7px; }
}
/* On open book-style displays each control stays within one physical panel. */
@media screen and (horizontal-viewport-segments: 2) {
  :root:has(.brand-nav.nav-shell) { --brand-bar-height: 104px; scroll-padding-top: 116px; }
  header.brand-nav.nav-shell {
    display: grid; align-items: center; padding: 0 0 4px;
    grid-template-columns: minmax(0, env(viewport-segment-width 0 0)) minmax(0, 1fr);
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
    grid-template-rows: 48px 52px; row-gap: 0;
  }
  .brand-nav.nav-shell .brand-header { position: static; grid-area: 1 / 1; margin: 0 16px; min-height: 44px; }
  .brand-nav.nav-shell .site-navigation { display: contents; }
  .brand-nav.nav-shell .site-navigation .nav-audiences {
    grid-area: 2 / 1; justify-self: stretch; width: auto; margin: 0 12px; padding: 2px;
    grid-template-columns: .9fr .72fr 1fr 1.5fr;
  }
  .brand-nav.nav-shell .nav-audiences a { min-width: 0; padding: 2px; font-size: 12px; line-height: 1.16; min-height: 40px; white-space: normal; text-align: center; }
  .brand-nav.nav-shell .site-navigation .nav-invite { grid-area: 1 / 2; justify-self: end; margin-right: 16px; }
  .brand-nav.nav-shell .site-navigation .nav-destinations { grid-area: 2 / 2; display: flex; justify-content: flex-end; gap: 18px; margin-right: 16px; }
  .brand-nav.nav-shell .nav-disclosure { display: none; }
}
@media print {
  .brand-nav.nav-shell { display: none; }
}

/* Keep the top edge uninterrupted when the page changes colour. */
@media screen {
  .brand-nav.nav-shell:is(header, .page-header, .mast) {
    border-block: 0;
    box-shadow: none;
  }
  .mast.brand-nav.nav-shell {
    background-color: var(--paper, #f5f1e8);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Keep the outgoing frame opaque while the incoming page dissolves over it. */
.nav-arrival-veil { display: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  :root {
    --nav-dissolve: 300ms cubic-bezier(.25, .1, .25, 1);
  }
  ::view-transition-group(root) { animation: none; }
  ::view-transition-image-pair(root) { isolation: isolate; }
  ::view-transition-old(root) {
    animation: none;
    opacity: 1;
    mix-blend-mode: normal;
  }
  ::view-transition-new(root) {
    mix-blend-mode: normal;
    animation: nav-page-arrive var(--nav-dissolve) both;
  }
  @keyframes nav-page-arrive { from { opacity: 0; } to { opacity: 1; } }
  .nav-arrival-veil {
    display: block; position: fixed; inset: 0; z-index: 2147483646; pointer-events: none;
    animation: nav-surface-dissolve var(--nav-dissolve) both;
  }
  @keyframes nav-surface-dissolve { from { opacity: 1; } to { opacity: 0; } }
}
