/* Cholent Check — maison-3.css
   MAISON III: calmer hero, navigation, command palette, More menu
   Load order: 6 of 7. Later files intentionally override earlier ones. */

/* =====================================================================
   MAISON III — quieter, faster, smarter
   ===================================================================== */
/* Calmer hero, search visible on arrival */
html.lux .cine {
  min-height: min(86svh, 800px)
}

html.lux .cine-in {
  padding-bottom: 120px
}

html.lux #stats {
  display: none !important
}

html.lux .section-head {
  margin-top: 96px
}

html.lux .spot {
  margin-top: 72px
}

/* Navigation: four destinations, search, more */
html.lux nav .nl.nl-hide {
  display: none
}

html.lux nav .nl-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 99px !important;
  color: var(--muted) !important;
  font-size: 12.5px !important;
  margin-left: 4px
}

html.lux nav .nl-icon svg {
  width: 14px;
  height: 14px
}

html.lux nav .nl-icon kbd {
  font: inherit;
  font-size: 11px;
  color: var(--faint);
  border: 0;
  padding: 0
}

html.lux nav .nl-icon:hover {
  color: var(--ink) !important;
  border-color: rgba(154, 106, 44, .4) !important
}

html.lux header.top.dark nav .nl-icon {
  border-color: rgba(255, 255, 255, .2) !important;
  color: rgba(246, 240, 230, .75) !important
}

html.lux header.top.dark nav .nl-icon kbd {
  color: rgba(246, 240, 230, .45)
}

.hdr-search {
  display: none
}

@media(max-width:760px) {
  .hdr-search {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    margin-left: auto;
    margin-right: 8px;
    padding: 0;
    min-height: 0
  }

  .hdr-search svg {
    width: 17px;
    height: 17px
  }

  html.lux header.top.dark .hdr-search {
    border-color: rgba(255, 255, 255, .22);
    color: #fff
  }
}

/* Command palette */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: min(14vh, 120px) 16px 16px
}

.cmdk[hidden] {
  display: none
}

.cmdk-bg {
  position: absolute;
  inset: 0;
  background: rgba(21, 16, 12, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: cmdkFade .25s ease both
}

.cmdk-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(252, 250, 246, .94);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(21, 16, 12, .35), 0 0 0 .5px rgba(21, 16, 12, .08);
  animation: cmdkIn .38s cubic-bezier(.32, .72, 0, 1) both
}

@keyframes cmdkFade {
  from {
    opacity: 0
  }
}

@keyframes cmdkIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.97)
  }
}

.cmdk-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line)
}

.cmdk-in svg {
  width: 19px;
  height: 19px;
  color: var(--gold);
  flex: none
}

.cmdk-in input {
  flex: 1;
  height: 62px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 19px !important;
  padding: 0 !important;
  color: var(--ink);
  font-family: var(--sans)
}

.cmdk-in input::placeholder {
  color: var(--faint)
}

.cmdk kbd {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  line-height: 1.3
}

.cmdk-list {
  overflow-y: auto;
  padding: 8px;
  overscroll-behavior: contain
}

.cmdk-grp {
  padding: 14px 12px 6px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600
}

.cmdk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  min-height: 0;
  font-weight: 400
}

.cmdk-item.on {
  background: rgba(201, 154, 85, .14)
}

.cmdk-thumb {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: none;
  object-fit: cover;
  background: radial-gradient(ellipse at 50% 35%, #2B2017, #15100C 75%);
  display: grid;
  place-items: center;
  color: #C9A46A
}

.cmdk-thumb svg {
  width: 18px;
  height: 18px
}

.cmdk-thumb.pg {
  background: var(--soft);
  color: var(--gold)
}

.cmdk-t {
  flex: 1;
  min-width: 0
}

.cmdk-t b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cmdk-t b mark {
  background: none;
  color: var(--gold);
  font-weight: 600
}

.cmdk-t span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px
}

.cmdk-r {
  font-size: 13px;
  color: var(--muted);
  flex: none
}

.cmdk-r .st {
  color: var(--gold)
}

.cmdk-go {
  opacity: 0;
  flex: none;
  color: var(--gold)
}

.cmdk-item.on .cmdk-go {
  opacity: 1
}

.cmdk-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted)
}

.cmdk-empty b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px
}

.cmdk-foot {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted)
}

.cmdk-foot kbd {
  margin-right: 3px
}

@media(max-width:760px) {
  .cmdk {
    padding: calc(env(safe-area-inset-top) + 10px) 10px 10px
  }

  .cmdk-panel {
    max-height: calc(100svh - 120px);
    border-radius: 20px
  }

  .cmdk-foot {
    display: none
  }

  .cmdk-in kbd {
    display: none
  }
}

@media (prefers-reduced-motion: reduce) {

  .cmdk-bg,
  .cmdk-panel {
    animation: none
  }
}

/* Mobile header + hero */
@media(max-width:760px) {
  html.lux nav .nl-icon {
    display: none !important
  }

  html.lux .cine {
    min-height: 0
  }

  html.lux .cine-in {
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 34px) 22px 96px
  }

  html.lux .cine-sub {
    margin-top: 18px
  }

  html.lux .cine .hero-cta {
    margin-top: 26px
  }

  html.lux .hero-proof {
    margin-top: 22px
  }
}

/* "More" menu */
html.lux .sheet {
  background: var(--bg);
  border: 1px solid var(--hair);
  box-shadow: 0 40px 100px rgba(21, 16, 12, .3)
}

html.lux .sheet-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.01em
}

html.lux .sheet .grp {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 20px
}

html.lux .sheet .grp button {
  background: #fff;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  min-height: 58px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line)
}

html.lux .sheet .grp button:last-child {
  border-bottom: 0
}

html.lux .sheet .grp button::after {
  color: var(--gold);
  font-family: var(--sans)
}

html.lux .sheet .grp button:hover {
  background: #FBF8F2
}

html.lux .sheet .panel {
  border: 1px solid var(--hair);
  border-radius: 20px
}

html.lux .sheet-bg {
  background: rgba(21, 16, 12, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px)
}

@media(max-width:760px) {
  html.lux .topin nav {
    margin-left: 0 !important
  }
}

html.lux .founders img {
  height: auto !important;
  aspect-ratio: auto
}

.confetti {
  position: fixed;
  top: -40px;
  z-index: 9998;
  font-size: 24px;
  pointer-events: none;
  animation: ccfall linear forwards
}

@keyframes ccfall {
  to {
    transform: translateY(110vh) rotate(540deg);
    opacity: .2
  }
}
