/* The Explore menu "Morph panel". NOT live until Alik approves: only on builds made with BUILDERS_EXPLORE_MENU=morph.
   One stylesheet for both kinds of page; published by scripts/explore-morph-publish.mjs to
   public/media/explore-morph/<hash>/explore.css. Markup and behaviour: components/navigation/explore-morph-core.mjs.
   The Explore button keeps the header's own look: the first rule only removes what a browser adds to a <button>. */
:where(.ebx-trigger) { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; text-transform: inherit; cursor: pointer; }
.ebx-trigger { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Every rule below starts with :is(.ebx-layer, #ebx). The id never matches anything; it only lends its weight, so no
   rule of the page around the menu (the header's own, or Webflow's) can restyle the panel. */
/* The layer: a native modal dialog that fills the screen and never scrolls itself. */
:is(.ebx-layer, #ebx) {
  --ebx-ivory: #f4efe7; --ebx-graphite: #23221f; --ebx-bronze-light: #dcc49c;
  --ebx-display: 'Marcellus', 'Iowan Old Style', Georgia, serif; --ebx-text: 'Alegreya Sans', 'Helvetica Neue', Arial, sans-serif;
  /* Springs written as CSS curves. Older browsers get a plain ease-out. */
  --ebx-spring: cubic-bezier(.2, .9, .25, 1); --ebx-spring-soft: cubic-bezier(.2, .8, .2, 1);
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; color: #fff; overflow: hidden;
  font: 400 16px/1.5 var(--ebx-text); letter-spacing: 0; text-align: left; text-transform: none; white-space: normal;
}
@supports (transition-timing-function: linear(0, 1)) {
  :is(.ebx-layer, #ebx) {
    --ebx-spring: linear(0, 0.055, 0.182, 0.34, 0.5, 0.646, 0.768, 0.864, 0.934, 0.983, 1.014, 1.031, 1.038, 1.038, 1.034, 1.029, 1.023, 1.017, 1.011, 1.007, 1.004, 1.002, 1, 0.999, 0.999, 0.999, 0.999, 0.999, 1);
    --ebx-spring-soft: linear(0, 0.044, 0.142, 0.261, 0.38, 0.491, 0.589, 0.671, 0.74, 0.796, 0.841, 0.877, 0.905, 0.928, 0.945, 0.958, 0.968, 0.976, 0.982, 0.986, 0.99, 0.992, 0.994, 0.996, 0.997, 0.998, 0.998, 0.999, 1);
  }
}
:is(.ebx-layer, #ebx)::backdrop { background: none; }
:is(.ebx-layer, #ebx):not([open]) { display: none; }
:is(.ebx-layer, #ebx) *, :is(.ebx-layer, #ebx) *::before, :is(.ebx-layer, #ebx) *::after { box-sizing: border-box; }
:is(.ebx-layer, #ebx) :is(h2, p, ul, ol, li) { margin: 0; padding: 0; list-style: none; }
/* Text takes the panel's own type, whatever the page around it says about spans, links or headings. */
:is(.ebx-layer, #ebx) :is(h2, p, li, a, span, strong, button) { font: inherit; text-transform: none; letter-spacing: 0; }
:is(.ebx-layer, #ebx) a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:is(.ebx-layer, #ebx) button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:is(.ebx-layer, #ebx) svg { flex: none; display: block; }
:is(.ebx-layer, #ebx) .ebx-scrim { position: absolute; inset: 0; opacity: 1; background: rgba(10, 16, 13, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .36s ease; }
:is(.ebx-layer, #ebx)[data-phase='opening'] .ebx-scrim, :is(.ebx-layer, #ebx)[data-phase='closing'] .ebx-scrim { opacity: 0; }
:is(.ebx-layer, #ebx)[data-phase='closing'] .ebx-scrim { transition-duration: .22s; }

/* The panel sits exactly over the Explore button and is unclipped from the button's own outline on a spring. */
:is(.ebx-layer, #ebx) .ebx-panel {
  position: absolute; outline: none;
  top: var(--oy, 28px); left: var(--ox, 142px); width: min(1080px, calc(100vw - var(--ox, 142px) - 36px)); max-height: calc(100vh - var(--oy, 28px) - 16px); max-height: calc(100dvh - var(--oy, 28px) - 16px);
  display: flex; flex-direction: column; border-radius: 28px; color: #fff;
  background: #1c3027; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  clip-path: inset(0 round 28px);
  transition: clip-path .62s var(--ebx-spring), opacity .2s ease;
}
@supports ((backdrop-filter: blur(30px)) or (-webkit-backdrop-filter: blur(30px))) {
  :is(.ebx-layer, #ebx) .ebx-panel { background: rgba(21, 39, 31, .86); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); }
}
/* The start of the opening: only the part of the panel under the Explore button shows, in the button's shape. */
:is(.ebx-layer, #ebx)[data-phase='opening'] .ebx-panel { clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px) round 23px); transition: none; }
:is(.ebx-layer, #ebx)[data-phase='closing'] .ebx-panel { clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px) round 23px); opacity: 0; transition: clip-path .25s cubic-bezier(.4, 0, .7, .2), opacity .12s ease .13s; }

/* Parts that settle one after another. Each carries --i, its place in the order. */
:is(.ebx-layer, #ebx) .ebx-rise { transition: opacity .4s ease, translate .62s var(--ebx-spring); transition-delay: calc(90ms + var(--i, 0) * 34ms); }
:is(.ebx-layer, #ebx)[data-phase='opening'] .ebx-rise { opacity: 0; translate: 0 16px; transition: none; }
:is(.ebx-layer, #ebx)[data-phase='closing'] .ebx-rise { transition-delay: 0s; }

/* The first row repeats the button (same icon, same place), so the button seems to stay put. */
:is(.ebx-layer, #ebx) .ebx-head { flex: none; display: flex; align-items: center; justify-content: space-between; min-height: var(--oh, 46px); padding: 0 8px 0 var(--ix, 20px); }
:is(.ebx-layer, #ebx) .ebx-title { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--ebx-text); letter-spacing: .01em; white-space: nowrap; color: #fff; }
:is(.ebx-layer, #ebx) .ebx-close { -webkit-appearance: none; appearance: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; margin: 8px 0; padding: 0 16px 0 18px; border: 0; border-radius: 22px; font: 500 16px/1 var(--ebx-text); letter-spacing: 0; text-transform: none; color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; transition: transform .16s var(--ebx-spring-soft), background-color .16s ease; }
:is(.ebx-layer, #ebx) .ebx-close:hover { background: rgba(255, 255, 255, .18); }
:is(.ebx-layer, #ebx) .ebx-close:active { transform: scale(.94); transition-duration: .06s; }
:is(.ebx-layer, #ebx) .ebx-panel :is(a, button):focus-visible { outline: 2px solid var(--ebx-bronze-light); outline-offset: -2px; }

:is(.ebx-layer, #ebx) .ebx-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 0 32px; padding: 8px 32px 24px; }
:is(.ebx-layer, #ebx) .ebx-list { min-width: 0; }
:is(.ebx-layer, #ebx) .ebx-work { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 16px; padding: 16px 12px 20px; margin: 0 -12px; border-radius: 16px; }
:is(.ebx-layer, #ebx) .ebx-kicker { grid-column: 1 / -1; font: 500 13px/1.4 var(--ebx-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ebx-bronze-light); }
:is(.ebx-layer, #ebx) .ebx-work-label { font: 400 clamp(40px, 4vw, 56px)/1.05 var(--ebx-display); }
:is(.ebx-layer, #ebx) .ebx-go { opacity: 0; translate: -8px 0; transition: opacity .2s ease, translate .4s var(--ebx-spring); color: var(--ebx-bronze-light); }
:is(.ebx-layer, #ebx) .ebx-work .ebx-go { align-self: center; }
:is(.ebx-layer, #ebx) .ebx-rows { border-top: 1px solid rgba(255, 255, 255, .16); }
:is(.ebx-layer, #ebx) .ebx-rows li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
:is(.ebx-layer, #ebx) .ebx-row { display: grid; grid-template-columns: 24px auto minmax(0, 1fr) 18px; align-items: center; gap: 0 16px; min-height: 60px; padding: 8px 12px; margin: 0 -12px; border-radius: 14px; transition: background-color .18s ease; }
:is(.ebx-layer, #ebx) .ebx-icon { color: var(--ebx-bronze-light); }
:is(.ebx-layer, #ebx) .ebx-row-title { font: 400 clamp(21px, 1.75vw, 25px)/1.15 var(--ebx-display); white-space: nowrap; transition: translate .4s var(--ebx-spring); }
:is(.ebx-layer, #ebx) .ebx-row-detail { justify-self: end; text-align: right; font: 400 16px/1.3 var(--ebx-text); color: rgba(255, 255, 255, .78); }
@media (hover: hover) {
  :is(.ebx-layer, #ebx) .ebx-row:hover, :is(.ebx-layer, #ebx) .ebx-work:hover { background: rgba(255, 255, 255, .07); }
  :is(.ebx-layer, #ebx) .ebx-row:hover .ebx-row-title { translate: 4px 0; }
  :is(.ebx-layer, #ebx) :is(.ebx-row, .ebx-work):hover .ebx-go { opacity: 1; translate: 0 0; }
}
:is(.ebx-layer, #ebx) .ebx-row:focus-visible .ebx-go, :is(.ebx-layer, #ebx) .ebx-work:focus-visible .ebx-go, :is(.ebx-layer, #ebx) .ebx-row[data-active] .ebx-go { opacity: 1; translate: 0 0; }
:is(.ebx-layer, #ebx) .ebx-row:active, :is(.ebx-layer, #ebx) .ebx-work:active { background: rgba(255, 255, 255, .12); }

:is(.ebx-layer, #ebx) .ebx-preview { position: relative; align-self: stretch; min-height: 420px; margin-top: 16px; border-radius: 20px; overflow: hidden; background: #0f1c16; isolation: isolate; }
:is(.ebx-layer, #ebx) .ebx-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
:is(.ebx-layer, #ebx) .ebx-frame[data-on] { opacity: 1; z-index: 1; }
:is(.ebx-layer, #ebx) .ebx-frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; scale: 1.06; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
:is(.ebx-layer, #ebx) .ebx-frame[data-on] img { scale: 1; }
:is(.ebx-layer, #ebx) .ebx-frame::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(8, 14, 11, 0), rgba(8, 14, 11, .82)); }
:is(.ebx-layer, #ebx) .ebx-drawing { position: absolute; inset: 0; width: 100%; height: 100%; padding: 28px 28px 64px; color: var(--ebx-bronze-light); background: radial-gradient(120% 90% at 50% 100%, #24402f, #0f1c16); }
:is(.ebx-layer, #ebx) .ebx-caption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 400 16px/1.3 var(--ebx-text); color: rgba(255, 255, 255, .86); }
:is(.ebx-layer, #ebx) .ebx-caption span:first-child { font: 400 20px/1.2 var(--ebx-display); color: #fff; }

:is(.ebx-layer, #ebx) .ebx-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px 24px; margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
:is(.ebx-layer, #ebx) .ebx-company { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -12px !important; flex: 1; }
:is(.ebx-layer, #ebx) .ebx-small { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 22px; font: 400 17px/1.15 var(--ebx-text); color: rgba(255, 255, 255, .88); transition: background-color .18s ease, color .18s ease; }
:is(.ebx-layer, #ebx) .ebx-small:hover { background: rgba(255, 255, 255, .08); color: #fff; }
:is(.ebx-layer, #ebx) .ebx-contact { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 24px; background: var(--ebx-ivory); color: var(--ebx-graphite) !important; font: 500 17px/1 var(--ebx-text); transition: transform .16s var(--ebx-spring-soft), background-color .16s ease; }
:is(.ebx-layer, #ebx) .ebx-contact:hover { background: #fff; }
:is(.ebx-layer, #ebx) .ebx-contact:active { transform: scale(.96); transition-duration: .06s; }
/* Shown on phones only, as in today's menu: the two group labels, the search link, the phone number and its two lines. */
:is(.ebx-layer, #ebx) .ebx-label { font: 500 13px/1.4 var(--ebx-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ebx-bronze-light); }
:is(.ebx-layer, #ebx) .ebx-reach { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 18px; text-align: center; }
:is(.ebx-layer, #ebx) .ebx-reach > span { font: 400 15px/1.4 var(--ebx-text); color: rgba(255, 255, 255, .8); }
@media (min-width: 741px) { :is(.ebx-layer, #ebx) .ebx-phone { display: none !important; } }
@media (max-width: 740px) { :is(.ebx-layer, #ebx) .ebx-desk { display: none !important; } }

@media (max-width: 1100px) and (min-width: 741px) {
  :is(.ebx-layer, #ebx) .ebx-body { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: 0 24px; padding: 8px 24px 20px; }
  :is(.ebx-layer, #ebx) .ebx-row-detail, :is(.ebx-layer, #ebx) .ebx-caption span + span { display: none; }
  :is(.ebx-layer, #ebx) .ebx-row { grid-template-columns: 24px minmax(0, 1fr) 18px; }
  :is(.ebx-layer, #ebx) .ebx-row-title { white-space: normal; }
}
@media (min-width: 741px) and (max-height: 760px) {
  :is(.ebx-layer, #ebx) .ebx-work { padding: 8px 12px 12px; }
  :is(.ebx-layer, #ebx) .ebx-work-label { font-size: 40px; }
  :is(.ebx-layer, #ebx) .ebx-row { min-height: 50px; padding-block: 4px; }
  :is(.ebx-layer, #ebx) .ebx-preview { min-height: 300px; }
  :is(.ebx-layer, #ebx) .ebx-foot { margin-top: 12px; }
}
@media (max-width: 740px) {
  :is(.ebx-layer, #ebx) .ebx-panel { top: 8px; left: 8px; width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 26px; clip-path: inset(0 round 26px); }
  :is(.ebx-layer, #ebx) .ebx-head { min-height: 46px; padding: 3px 6px 0 14px; }
  :is(.ebx-layer, #ebx) .ebx-body { display: block; padding: 4px 16px calc(16px + env(safe-area-inset-bottom)); }
  :is(.ebx-layer, #ebx) .ebx-work { padding: 12px 12px 16px; }
  :is(.ebx-layer, #ebx) .ebx-work-label { font-size: 36px; }
  :is(.ebx-layer, #ebx) .ebx-label { padding: 6px 0 10px; }
  :is(.ebx-layer, #ebx) .ebx-row { grid-template-columns: 24px minmax(0, 1fr) 18px; grid-template-rows: auto auto; gap: 0 14px; min-height: 64px; padding: 10px 12px; }
  :is(.ebx-layer, #ebx) .ebx-row .ebx-icon { grid-row: 1 / 3; }
  :is(.ebx-layer, #ebx) .ebx-row-title { font-size: 22px; white-space: normal; }
  :is(.ebx-layer, #ebx) .ebx-row-detail { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; white-space: normal; font-size: 15px; }
  :is(.ebx-layer, #ebx) .ebx-row .ebx-go { grid-column: 3; grid-row: 1 / 3; opacity: .7; translate: 0 0; }
  :is(.ebx-layer, #ebx) .ebx-foot { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; padding-top: 16px; }
  :is(.ebx-layer, #ebx) .ebx-company { flex-direction: column; margin-left: 0 !important; }
  :is(.ebx-layer, #ebx) .ebx-small { display: flex; padding: 0 12px; margin: 0 -12px; }
  :is(.ebx-layer, #ebx) .ebx-contact { justify-content: center; margin-top: 12px; min-height: 52px; border-radius: 26px; }
  :is(.ebx-layer, #ebx) .ebx-reach .ebx-small { margin: 0; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ebx-layer, #ebx), :is(.ebx-layer, #ebx) *, :is(.ebx-layer, #ebx) *::before, :is(.ebx-layer, #ebx) *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  :is(.ebx-layer, #ebx) .ebx-panel { background: #1c3027; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :is(.ebx-layer, #ebx) .ebx-scrim { background: rgba(10, 16, 13, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  :is(.ebx-layer, #ebx) .ebx-panel { background: Canvas; color: CanvasText; border: 1px solid CanvasText; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :is(.ebx-layer, #ebx) :is(.ebx-title, .ebx-kicker, .ebx-label, .ebx-row-detail, .ebx-small, .ebx-reach > span, .ebx-icon, .ebx-go) { color: CanvasText; }
  :is(.ebx-layer, #ebx) .ebx-close, :is(.ebx-layer, #ebx) .ebx-contact { background: ButtonFace; color: ButtonText !important; border: 1px solid ButtonText; }
}
