/* Shared header and footer, matched to the homepage. Scoped so page styles keep their own buttons, wraps and type. */
header.nav.site-chrome,
footer.site-chrome {
  --sc-deep: #0E130D;
  --sc-forest-2: #163029;
  --sc-light: #F7F7F2;
  --sc-mute: rgba(247, 247, 242, .72);
  --sc-gold: #D9B565;
  --sc-rule: rgba(247, 247, 242, .13);
  --sc-sage: #E8ECDE;
  --sc-sage-ink: #0B3B3A;
  --sc-display: "Comfortaa", "Quicksand", system-ui, sans-serif;
  --sc-body: "Quicksand", "Manrope", system-ui, sans-serif;
  color-scheme: light;
}
header.nav.site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(14, 22, 18, .94), rgba(11, 16, 13, .88));
  color: var(--sc-light);
  border-bottom: 1px solid rgba(217, 181, 101, .22);
  font-family: var(--sc-body);
  font-weight: 500;
  line-height: 1.4;
}
header.nav.site-chrome * { box-sizing: border-box; }
header.nav.site-chrome .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  gap: 36px;
  padding-block: 14px;
}
header.nav.site-chrome .logo { display: block; height: 30px; width: auto; background: none; padding: 0; border-radius: 0; }
header.nav.site-chrome .links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
header.nav.site-chrome .links a,
header.nav.site-chrome .login { text-decoration: none; color: var(--sc-mute); }
header.nav.site-chrome .login { font-size: 14px; font-weight: 600; white-space: nowrap; }
header.nav.site-chrome .links a:hover,
header.nav.site-chrome .links a[aria-current="page"],
header.nav.site-chrome .login:hover { color: var(--sc-light); }
header.nav.site-chrome .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-family: "Sora", "Comfortaa", var(--sc-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 11px 20px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #F2F5EA 0%, #E8ECDE 100%);
  color: var(--sc-sage-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(11, 59, 58, .14);
  margin: 0;
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
header.nav.site-chrome .btn:hover { background: linear-gradient(180deg, #F7F9F1 0%, #DCE3CF 100%); transform: translateY(-1px); }
header.nav.site-chrome .mtrig {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-mute);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
header.nav.site-chrome .mtrig:hover,
header.nav.site-chrome .mtrig[aria-expanded="true"] { color: var(--sc-light); }
header.nav.site-chrome .mtrig[aria-expanded="true"] svg { transform: rotate(180deg); }
header.nav.site-chrome .menu-btn {
  display: none;
  font: 600 14px "Sora", "Comfortaa", var(--sc-body);
  color: var(--sc-light);
  background: transparent;
  border: 1px solid var(--sc-rule);
  border-radius: 3px;
  padding: 10px 14px;
  cursor: pointer;
  margin-left: auto;
}
header.nav.site-chrome .mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(30, 72, 58, .6), rgba(30, 72, 58, 0) 60%),
    linear-gradient(180deg, #111C17, #0A0F0C);
  border-bottom: 1px solid rgba(217, 181, 101, .3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
header.nav.site-chrome .mega[hidden] { display: none; }
header.nav.site-chrome .mega-in {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-block: 40px 44px;
}
header.nav.site-chrome .mcards { display: flex; flex-direction: column; gap: 14px; }
header.nav.site-chrome .mcard {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #163029 center / cover no-repeat;
  text-decoration: none;
  padding: 18px;
  color: var(--sc-light);
}
header.nav.site-chrome .mcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 14, 11, .85), rgba(9, 14, 11, .05) 65%);
}
header.nav.site-chrome .mcard.biz { aspect-ratio: 16 / 9; }
header.nav.site-chrome .mcard span,
header.nav.site-chrome .mcard b { position: relative; font-family: var(--sc-display); font-size: 20px; font-weight: 600; }
header.nav.site-chrome .mcard b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sc-sage);
  color: var(--sc-sage-ink);
  font-size: 17px;
}
header.nav.site-chrome .mcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
header.nav.site-chrome .mhead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(217, 181, 101, .3);
}
header.nav.site-chrome .mhead span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sc-gold);
}
header.nav.site-chrome .mhead small { font-size: 13px; color: var(--sc-mute); }
header.nav.site-chrome .mcol ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
header.nav.site-chrome .mcol li { margin: 0; }
header.nav.site-chrome .mcol a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--sc-light);
  font-family: "Sora", var(--sc-body);
  font-size: 14.5px;
  font-weight: 500;
}
header.nav.site-chrome .mcol a:hover,
header.nav.site-chrome .mcol a:focus-visible { background: var(--sc-sage); color: var(--sc-sage-ink); }
header.nav.site-chrome .mcol a i,
header.nav.site-chrome .mcol a svg { width: 18px; height: 18px; flex: none; color: var(--sc-gold); }
header.nav.site-chrome .mcol a em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sc-gold);
  border: 1px solid rgba(217, 181, 101, .45);
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: auto;
}
header.nav.site-chrome .mlinks { display: none; }

footer.site-chrome {
  background: linear-gradient(180deg, #0B100D, #080B09);
  color: var(--sc-mute);
  font-family: var(--sc-body);
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--sc-rule);
  line-height: 1.5;
}
footer.site-chrome * { box-sizing: border-box; }
footer.site-chrome .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding-block: 56px 40px;
}
footer.site-chrome h4 {
  font-family: var(--sc-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sc-light);
  margin: 0 0 14px;
}
footer.site-chrome ul { list-style: none; margin: 0; padding: 0; }
footer.site-chrome li { margin: 0 0 8px; }
footer.site-chrome a { text-decoration: none; color: inherit; }
footer.site-chrome a:hover { color: var(--sc-light); }
footer.site-chrome .fbrand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
footer.site-chrome .fbrand img { height: 30px; width: auto; align-self: flex-start; }
footer.site-chrome .fbrand p { font-size: 14px; color: var(--sc-mute); margin: 0; }
footer.site-chrome .social { display: flex; gap: 10px; }
footer.site-chrome .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--sc-rule);
  color: var(--sc-light);
}
footer.site-chrome .social svg { width: 16px; height: 16px; }
footer.site-chrome .fbadges { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site-chrome .fbadges span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid rgba(217, 181, 101, .35);
  color: var(--sc-gold);
  padding: 4px 10px;
  border-radius: 999px;
}
footer.site-chrome .legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--sc-rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
footer.site-chrome .legal .ll { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 1040px) {
  header.nav.site-chrome .links { display: none; }
  header.nav.site-chrome .menu-btn { display: inline-flex; }
  header.nav.site-chrome .btn { margin-left: 0; }
  header.nav.site-chrome .mega {
    height: calc(100dvh - 64px);
    max-height: none;
  }
  header.nav.site-chrome .mega-in { grid-template-columns: 1fr; gap: 24px; padding-block: 20px 40px; }
  header.nav.site-chrome .mcards { flex-direction: row; order: 2; }
  header.nav.site-chrome .mcard,
  header.nav.site-chrome .mcard.biz { flex: 1; aspect-ratio: 4 / 3; padding: 12px; }
  header.nav.site-chrome .mcard span { font-size: 16px; }
  header.nav.site-chrome .mcols { grid-template-columns: 1fr; gap: 0; order: 1; }
  header.nav.site-chrome .mhead {
    cursor: pointer;
    margin: 0;
    padding: 18px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  header.nav.site-chrome .mhead::after { content: "+"; color: var(--sc-gold); font-size: 22px; line-height: 1; }
  header.nav.site-chrome .mcol.open .mhead::after { content: "\2212"; }
  header.nav.site-chrome .mhead small { display: none; }
  header.nav.site-chrome .mcol ul { display: none; padding-bottom: 12px; }
  header.nav.site-chrome .mcol.open ul { display: flex; }
  header.nav.site-chrome .mlinks {
    display: flex;
    flex-direction: column;
    order: 3;
    border-top: 1px solid var(--sc-rule);
    padding-top: 8px;
  }
  header.nav.site-chrome .mlinks a {
    padding: 14px 0;
    border-bottom: 1px solid var(--sc-rule);
    text-decoration: none;
    color: var(--sc-light);
    font: 500 16px "Sora", var(--sc-body);
  }
  footer.site-chrome .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  footer.site-chrome .fbrand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 640px) {
  header.nav.site-chrome .wrap,
  footer.site-chrome .wrap {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
  header.nav.site-chrome .wrap { gap: 12px; }
  header.nav.site-chrome .btn { padding: 11px 14px; }
  footer.site-chrome .wrap { grid-template-columns: 1fr 1fr; }
}
@media print {
  header.nav.site-chrome { display: none !important; }
}
