/* Reference header */
.paneche-header {
  --header-gold: #b88e48;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.32, 1);
  width: 100%;
  padding: 18px clamp(18px, 2vw, 32px);
  background: linear-gradient(180deg, #070707, #070707ee);
  font-family: var(--sans);
  box-sizing: border-box;
}
.house-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  max-width: 1600px;
  min-height: 64px;
  margin-inline: auto;
}
.house-header__brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #f4f0e8;
  text-decoration: none;
}
.house-header__feather {
  width: 42px;
  height: 64px;
  object-fit: contain;
}
.house-header__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.house-header__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.house-header__descriptor {
  font-family: var(--serif);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
}
.house-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.1vw, 44px);
  flex: 1;
}
.house-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #e6e4df;
  cursor: pointer;
}
.house-header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--header-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.paneche-header .house-header__link[aria-current="page"] {
  color: #f4f0e8;
}
.house-header__link:is([aria-current="page"], :hover, :focus-visible)::after {
  transform: scaleX(1);
}
.house-header__link[aria-disabled="true"] {
  cursor: default;
}
.house-header__link[aria-disabled="true"]::after {
  display: none;
}
.house-header__appointment {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 10px 19px;
  border: 1px solid var(--header-gold);
  border-radius: 1px;
  color: #d7b67d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.house-header__appointment:hover {
  background: var(--header-gold);
  color: #070707;
}
.paneche-header .nav-toggle {
  display: none;
}
.paneche-header.is-hidden {
  transform: translateY(-100%);
}
.paneche-header.is-menu-open {
  transform: none;
}
/* Compact navigation */
@media (max-width: 1100px) and (min-width: 941px) {
  .house-header__inner {
    gap: 24px;
  }
  .house-header__nav {
    gap: 26px;
  }
  .house-header__link,
  .house-header__appointment {
    font-size: 10px;
  }
  .house-header__brand {
    gap: 8px;
  }
  .house-header__name {
    font-size: 23px;
  }
  .house-header__feather {
    width: 38px;
    height: 60px;
  }
  .house-header__appointment {
    padding-inline: 16px;
  }
}
/* Mobile navigation */
@media (max-width: 940px) {
  .paneche-header {
    padding: max(12px, env(safe-area-inset-top))
      max(18px, env(safe-area-inset-right)) 12px
      max(18px, env(safe-area-inset-left));
  }
  .house-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 56px;
  }
  .house-header__brand {
    gap: 8px;
    margin-right: auto;
  }
  .house-header__feather {
    width: 32px;
    height: 52px;
  }
  .house-header__name {
    font-size: 23px;
  }
  .house-header__descriptor {
    font-size: 8px;
  }
  .paneche-header .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-width: 58px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--header-gold);
    border-radius: 1px;
    color: #e6e4df;
    background: transparent;
    font: 12px var(--sans);
  }
  .house-header__nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #b88e4833;
    padding-top: 12px;
  }
  .paneche-header.is-menu-open .house-header__nav {
    display: flex;
    flex-direction: column;
  }
  .house-header__link {
    justify-content: flex-start;
    min-height: 48px;
    font-size: 12px;
  }
  .house-header__link::after {
    width: 48px;
  }
  .house-header__appointment {
    display: none;
    order: 4;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
  }
  .paneche-header.is-menu-open .house-header__appointment {
    display: inline-flex;
  }
  html:not(.js-ready) .paneche-header .house-header__nav {
    display: flex;
    flex-direction: column;
  }
  html:not(.js-ready) .paneche-header .house-header__appointment {
    display: inline-flex;
  }
  html:not(.js-ready) .paneche-header .nav-toggle {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .paneche-header,
  .house-header__link::after,
  .house-header__appointment {
    transition: none;
  }
}
