/* Shared site chrome, also loaded by the public piece wrapper. */
.custom-line, .site-header, .menu-panel {
  --light: #FAF6ED;
  --espresso: #482D23;
  --sand: #CFB497;
  --gold: #CE9D43;
  box-sizing: border-box;
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
.custom-line { height: 52px; padding: 6px 16px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 0 16px; background: #CFB497; color: #2C211A; font-size: 11px; line-height: 20px; letter-spacing: .045em; text-align: center; }
.custom-line a { color: inherit; text-underline-offset: 3px; }
.site-header { position: absolute; top: 52px; left: 0; width: 100%; z-index: 5; color: var(--light); padding: 25px 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-header a { color: inherit; text-decoration: none; }
.site-header .place { padding: 9px 0; font-size: 10px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.site-header .desktop-nav { display: none; }
.site-header.has-mark { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 14px 24px 0; }
.site-header .place { justify-self: start; }
.site-header .desktop-nav, .site-header .mobile-nav { justify-self: end; }
.site-header .header-mark { display: block; position: relative; z-index: 0; width: 76px; height: 76px; }
.site-header .header-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-header:not(.is-travelling) .header-mark::before { content: ''; position: absolute; z-index: -1; inset: -30px -46px; background: radial-gradient(ellipse closest-side, rgb(20 12 8 / .58), transparent); pointer-events: none; }
.plaster-page .site-header .header-mark::before { content: none; }
.site-header .menu-toggle { display: inline-flex; align-items: center; justify-content: end; gap: 9px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.site-header .menu-toggle svg { flex: none; }
.site-header.is-travelling { position: fixed; top: 0; z-index: 30; height: 56px; padding: 0 24px; background: #482D23; box-shadow: 0 1px 0 rgb(206 157 67 / .18); }
.site-header.is-travelling .place { padding: 0; }
.site-header.is-travelling .header-mark { width: 40px; height: 40px; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-header summary:focus-visible, .menu-panel a:focus-visible, .menu-panel button:focus-visible, .custom-line a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.menu-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 24px; border: 0; background: #482D23; color: var(--light); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel::backdrop { background: #482D23; }
.menu-panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgb(250 246 237 / .3); padding-bottom: 18px; margin-bottom: 20px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.menu-panel-head button { min-height: 44px; padding: 0 0 0 20px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.menu-panel-head button span { font-size: 22px; margin-left: 8px; }
.menu-panel nav > a { display: block; padding: 12px 0; min-height: 48px; font-size: 20px; text-decoration: none; color: inherit; }
.menu-panel .nav-categories, .rooms-panel .nav-categories { list-style: none; margin: 0; padding: 0 0 10px 20px; }
.nav-categories:empty { display: none; }
.menu-panel .nav-categories a { display: block; padding: 10px 0; min-height: 44px; font-size: 16px; color: inherit; text-decoration: none; }
.enso-menu-open { overflow: hidden; }
.enso-menu-open body { position: fixed; width: 100%; overflow: hidden; }
.enso-public-piece .piece-stage > .viewing .float-nav { display: none; }
.home-page .arrival { height: calc(100svh - 52px); min-height: 0; max-height: 908px; }
.home-page .arrival-custom { margin-top: 12px; }
.collection-custom { margin-top: 24px; }
.visit-form.custom-form { max-width: 760px; }
.custom-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.custom-jewelry { text-align: center; margin-top: 40px; }
@media (min-width: 760px) {
  .custom-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .site-header { padding: 35px 50px; }
  /* Below 1280 px the longer row needs the room, so the mark sits beside the place. */
  .site-header.has-mark { grid-template-columns: auto auto minmax(0, 1fr); padding: 22px 50px 0; }
  .site-header .place { font-size: 11px; }
  .site-header .desktop-nav { display: flex; align-items: center; justify-content: end; gap: 24px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  .site-header .desktop-nav > a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .desktop-nav a.nav-cta { border-bottom: 1px solid var(--light); }
  .site-header .mobile-nav { display: none; }
  .site-header.is-travelling { padding: 0 50px; }
  .rooms-dropdown { position: relative; }
  .rooms-dropdown summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
  .rooms-dropdown summary::-webkit-details-marker { display: none; }
  .rooms-dropdown summary::after { content: '+'; margin-left: 8px; }
  .rooms-dropdown[open] summary::after { content: '\2212'; }
  .rooms-panel { position: absolute; top: 100%; left: 0; width: 270px; max-height: min(65vh, 620px); overflow-y: auto; padding: 16px 24px; background: var(--espresso); color: var(--light); border: 1px solid var(--gold); }
  .rooms-panel > a, .rooms-panel .nav-categories a { display: block; min-height: 40px; padding: 10px 0; font-size: 12px; letter-spacing: .03em; text-transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header.is-travelling { animation: header-arrives .35s ease both; }
}
@keyframes header-arrives { from { transform: translateY(-100%); } to { transform: none; } }
/* From 1280 px the row fits beside a centred mark, as the header was designed. */
@media (min-width: 1280px) {
  .site-header.has-mark { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
/* The public piece page: the header rides the piece's first screen inside the stage,
   and a banner above it gives up its height there, as on line sheets. */
.piece-stage { position: relative; }
.piece-stage > .site-header:not(.is-travelling) { top: 0; }
@media screen {
  .banner ~ .piece-stage > .viewing { height: calc(var(--screen) - 9rem); min-height: 520px; }
}
@media (max-width: 899px) {
  .banner ~ .piece-stage > .viewing--setting { --rb: 200px; }
}
@media print { .custom-line, .site-header, .menu-panel { display: none; } }
