/* WebXtent v0.8.23 — Developments quick search + full gallery docking refinement.
 * - subtle project search in the upper-left hero field;
 * - project ↑/↓ controls sit to the left of the PHOTOS tray label;
 * - after 4 seconds the entire photo tray moves fully below the hero edge;
 * - a dedicated bottom reveal zone restores the tray on hover/focus.
 */

/* --- Quick project search ------------------------------------------------ */
.wxt-development-quick-search{
  position:absolute;
  z-index:5;
  left:var(--wxt-dev-gutter);
  top:clamp(112px,17vh,176px);
  width:min(286px,calc(100vw - (var(--wxt-dev-gutter) * 2)));
  color:#f7f3ec;
}
.wxt-development-quick-search__field{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:43px;
  padding:0 12px 0 13px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.13),transparent 44%),
    linear-gradient(135deg,rgba(12,16,20,.36),rgba(12,16,20,.19));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 30px rgba(0,0,0,.11);
  backdrop-filter:blur(18px) saturate(118%);
  -webkit-backdrop-filter:blur(18px) saturate(118%);
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,width .2s ease;
}
.wxt-development-quick-search__field:focus-within{
  border-color:rgba(220,184,118,.62);
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.16),transparent 44%),
    linear-gradient(135deg,rgba(12,16,20,.48),rgba(12,16,20,.26));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 14px 34px rgba(0,0,0,.16),0 0 0 3px rgba(220,184,118,.07);
}
.wxt-development-quick-search__field svg{
  flex:0 0 16px;
  width:16px;
  height:16px;
  fill:none;
  stroke:rgba(248,244,237,.76);
  stroke-width:1.7;
  stroke-linecap:round;
}
.wxt-development-quick-search__field input{
  min-width:0;
  width:100%;
  height:39px;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#fff!important;
  font:600 .78rem/1 var(--wxt-font-ui)!important;
  letter-spacing:.025em;
  -webkit-appearance:none;
  appearance:none;
}
.wxt-development-quick-search__field input::placeholder{color:rgba(247,243,236,.56);opacity:1}
.wxt-development-quick-search__field input::-webkit-search-cancel-button{display:none}
.wxt-development-quick-search__clear,
.wxt-development-quick-search__clear:hover,
.wxt-development-quick-search__clear:focus,
.wxt-development-quick-search__clear:active{
  -webkit-appearance:none!important;
  appearance:none!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  color:rgba(255,255,255,.72)!important;
  box-shadow:none!important;
  outline:0!important;
  font:500 18px/22px var(--wxt-font-ui)!important;
  cursor:pointer!important;
}
.wxt-development-quick-search__clear:focus-visible{box-shadow:0 0 0 2px rgba(220,184,118,.45)!important}
.wxt-development-quick-search__results{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  overflow:hidden;
  padding:6px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(17,22,27,.82),rgba(10,14,18,.72));
  box-shadow:0 20px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(24px) saturate(118%);
  -webkit-backdrop-filter:blur(24px) saturate(118%);
}
.wxt-development-quick-search__results[hidden]{display:none!important}
.wxt-development-quick-search__result,
.wxt-development-quick-search__result:hover,
.wxt-development-quick-search__result:active,
.wxt-development-quick-search__result:focus{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:grid!important;
  width:100%!important;
  gap:3px!important;
  min-height:48px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#f8f4ed!important;
  box-shadow:none!important;
  outline:0!important;
  text-align:left!important;
  cursor:pointer!important;
}
.wxt-development-quick-search__result + .wxt-development-quick-search__result{margin-top:2px!important}
.wxt-development-quick-search__result:hover,
.wxt-development-quick-search__result.is-keyboard-active,
.wxt-development-quick-search__result:focus-visible{background:rgba(255,255,255,.08)!important}
.wxt-development-quick-search__result strong{font:650 .82rem/1.15 var(--wxt-font-ui);letter-spacing:.01em}
.wxt-development-quick-search__result small{color:rgba(248,244,237,.54);font:550 .66rem/1.25 var(--wxt-font-ui);letter-spacing:.055em;text-transform:uppercase}
.wxt-development-quick-search__empty{padding:13px 12px;color:rgba(248,244,237,.58);font:550 .72rem/1.35 var(--wxt-font-ui)}

/* --- Project chevrons: exact left-side tray ownership ------------------- */
.wxt-development-showcase__project-carousel-label{
  position:relative!important;
}
.wxt-development-showcase__project-carousel-label-core{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
}
.wxt-development-project-wheel__dock{
  position:absolute!important;
  left:-54px!important;
  top:50%!important;
  z-index:12!important;
  width:32px!important;
  height:108px!important;
  transform:translateY(-50%)!important;
  pointer-events:none!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:active,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
  left:0!important;
  transform:none!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
  transform:scale(1.035)!important;
}

/* --- Whole tray: fully off-screen after 4 seconds ----------------------- */
.wxt-development-showcase__project-carousel{
  transform:translate3d(0,0,0)!important;
  opacity:1!important;
  will-change:transform,opacity!important;
  transition:transform .62s cubic-bezier(.2,.76,.2,1),opacity .28s ease!important;
}
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel{
  transform:translate3d(0,calc(100% + 160px),0)!important;
  opacity:.96!important;
  pointer-events:none!important;
}
.wxt-development-showcase.is-gallery-active .wxt-development-showcase__project-carousel{
  transform:translate3d(0,0,0)!important;
  opacity:1!important;
  pointer-events:auto!important;
}
/* Explicitly undo the older thumbnail-only hide states. The complete tray now moves. */
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-track,
.wxt-development-showcase.is-gallery-active .wxt-development-showcase__project-track{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}

/* Dedicated hover target remains at the lower edge after the tray leaves. */
.wxt-development-gallery-reveal-zone{
  position:absolute;
  z-index:11;
  left:clamp(30px,35vw,540px);
  right:var(--wxt-dev-gutter);
  bottom:0;
  height:74px;
  opacity:0;
  pointer-events:none;
  cursor:ns-resize;
  transition:opacity .24s ease;
}
.wxt-development-gallery-reveal-zone span{
  position:absolute;
  left:50%;
  bottom:12px;
  width:74px;
  height:3px;
  border-radius:999px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.30),transparent);
  box-shadow:0 0 18px rgba(255,255,255,.05);
}
.wxt-development-showcase.is-gallery-idle .wxt-development-gallery-reveal-zone{
  opacity:1;
  pointer-events:auto;
}
.wxt-development-showcase.is-gallery-active .wxt-development-gallery-reveal-zone{
  opacity:0;
  pointer-events:none;
}

@media(max-width:1180px){
  .wxt-development-quick-search{top:112px}
  .wxt-development-gallery-reveal-zone{left:var(--wxt-dev-gutter)}
}
@media(max-width:900px){
  .wxt-development-quick-search{top:94px;width:min(270px,calc(100vw - (var(--wxt-dev-gutter) * 2)))}
  .wxt-development-project-wheel__dock{left:-46px!important;height:100px!important}
  .wxt-development-gallery-reveal-zone{height:68px}
}
@media(max-width:640px){
  .wxt-development-quick-search{left:22px;right:22px;top:88px;width:auto}
  .wxt-development-quick-search__field{min-height:40px}
  .wxt-development-quick-search__field input{height:36px}
  .wxt-development-project-wheel__dock{left:-38px!important;height:92px!important}
  .wxt-development-gallery-reveal-zone{left:0;right:0;height:64px}
}
@media(prefers-reduced-motion:reduce){
  .wxt-development-showcase__project-carousel,
  .wxt-development-gallery-reveal-zone,
  .wxt-development-quick-search__field{transition:none!important}
}
