/* Full-screen menu sheet, server-rendered by zz2c/header.php.
   Mirrors ore/src/components/template-parts/NavMenu/SecondaryMenu.vue.
   Class names are prefixed .nav-sheet so they never collide with the Vue copy
   (.nav-overlay) that renders on the app pages. Every text element names its own
   colour because zz2c sets a/p/h1-h3 colours by element. */

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 5;
  height: 100dvh;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.6s;
}
.nav-sheet.active {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav-sheet.active .nav-sheet__scrim {
  opacity: 1;
}

.nav-sheet__sheet {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 100px 20px 30px;
  background: #fff;
  color: #000;
  border-radius: 0 0 6px 6px;
  transform: translateY(-24px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav-sheet.active .nav-sheet__sheet {
  transform: none;
  opacity: 1;
}

.nav-sheet__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}

.nav-sheet__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-sheet__col li {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #000;
}
.nav-sheet__col a {
  text-decoration: none;
}

.nav-sheet__lbl {
  margin: 0 0 14px;
  font-family: "FH Oscar Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #9b9b9b;
}

.nav-sheet__explore a {
  display: block;
  font-family: "FH Oscar Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #000;
  transition: color 0.3s;
}
.nav-sheet__explore ul:hover a:not(:hover) {
  color: #9b9b9b;
}

.nav-sheet__company a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "FH Oscar Pro", sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28.8px);
  line-height: 1.45;
  color: #000;
  transition: color 0.25s;
}
.nav-sheet__company a span {
  color: inherit;
}
.nav-sheet__company a .ar {
  font-size: 0.7em;
  color: #9b9b9b;
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), color 0.25s;
}
.nav-sheet__company a:hover,
.nav-sheet__company a:hover .ar {
  color: var(--orange, #ff4c00);
}
.nav-sheet__company a:hover .ar {
  transform: translateX(4px);
}

.nav-sheet__feat {
  display: none;
  color: #000;
  text-decoration: none;
}
.nav-sheet__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--offwhite, #f0f0f0);
}
.nav-sheet__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav-sheet__feat:hover img {
  transform: scale(1.05);
}
.nav-sheet__cap {
  display: block;
  margin-top: 12px;
  font-family: "FH Oscar Pro", sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  color: #000;
}
.nav-sheet__cap .dim {
  color: #9b9b9b;
  font-weight: 300;
}

.nav-sheet__base {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--light-grey, #d9d9d9);
}
.nav-sheet__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 70px;
}
.nav-sheet__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font-family: "FH Oscar Pro", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #000;
}
.nav-sheet__label {
  color: #9b9b9b;
  font-weight: 400;
}

.nav-sheet .clink {
  position: relative;
  display: inline-block;
  color: var(--orange, #ff4c00);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-sheet .clink span {
  color: inherit;
}
.nav-sheet .clink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transition: opacity 0.25s;
}
.nav-sheet .clink:hover {
  color: #000;
}
.nav-sheet .clink:hover::after {
  opacity: 1;
}

.nav-sheet__quote {
  align-self: flex-start;
  flex: none;
  background: #000;
  color: #fff;
}
.nav-sheet__quote:hover {
  background: var(--orange, #ff4c00);
  color: #fff;
}

@media (min-width: 1024px) {
  .nav-sheet__sheet {
    padding: 110px 60px 40px;
  }
  .nav-sheet__cols {
    grid-template-columns: repeat(12, 1fr);
  }
  .nav-sheet__explore {
    grid-column: 1 / span 4;
  }
  .nav-sheet__company {
    grid-column: 5 / span 3;
  }
  .nav-sheet__feat {
    display: block;
    grid-column: 9 / span 4;
  }
  .nav-sheet__base {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-top: 40px;
    padding-top: 26px;
  }
}

/* Header while the sheet is open: transparent on the white sheet, black logo,
   light pills. The page links move into the sheet, so the link pill is hidden.
   `menu-open` is added/removed by nav-sheet.js (kept until the sheet has faded,
   otherwise the header's own frosted background would squash the fixed sheet). */
.main-header.menu-open {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  padding: 20px !important;
}
@media (min-width: 1024px) {
  .main-header.menu-open {
    padding: 30px 60px !important;
  }
}
.main-header.menu-open .main-header__nav {
  display: none !important;
}
html .main-header.menu-open .main-header__logo svg path {
  fill: #000 !important;
}
html .main-header.menu-open .main-header__quote-btn,
html .main-header.menu-open .main-header__menu-toggle {
  background-color: rgba(0, 0, 0, 0.08) !important;
  color: #000 !important;
}
html .main-header.menu-open .main-header__menu-toggle span {
  background-color: #000 !important;
}
