/* UNLEASH: bilingual navigation, viewport-safe mobile panel and footer. */
.site-header {
  height: auto;
  min-height: var(--header-h);
  background-color: #000604;
  color: #f7faf8;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-scrolled { background-color: #000503; }
.site-header .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  height: auto;
  min-height: calc(var(--header-h) - 1px + env(safe-area-inset-top));
  padding-block: 10px;
  padding-top: calc(10px + env(safe-area-inset-top));
  align-items: center;
}
.site-header .brand { min-width: 0; gap: 12px; }
.site-header .brand-mark { flex: 0 0 auto; }
.site-header .brand-copy { min-width: 0; }
.site-header .brand-master { color: #f7faf8; white-space: nowrap; }
.site-header .brand-unit { color: var(--accent); white-space: nowrap; }
.site-header .primary-nav {
  display: block;
  position: static;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  justify-self: stretch;
}
.site-header .primary-nav[hidden] { display: none !important; }
.site-header .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .nav-list > li { position: relative; min-width: 0; }
.site-header .nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: #dce7e1;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 6px;
}
.site-header .nav-list a:hover,
.site-header .nav-list a:focus-visible,
.site-header .nav-list a[aria-current="page"],
.site-header .nav-list .current-menu-item > a,
.site-header .nav-list .current_page_item > a,
.site-header .nav-list .current-menu-ancestor > a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.site-header .nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2;
  width: 260px;
  padding: 12px 18px;
  margin: 0;
  list-style: none;
  background: #03100c;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0,0,0,.35);
}
.site-header .nav-list > li:last-child > .sub-menu { left: auto; right: 0; }
.site-header .nav-list li:hover > .sub-menu,
.site-header .nav-list li:focus-within > .sub-menu { display: block; }
.site-header .nav-list .sub-menu a { padding: 10px 0; overflow-wrap: anywhere; }
.site-header .nav-list .sub-menu .sub-menu {
  position: static;
  display: block;
  width: auto;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
.site-header .header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 0;
}
.site-header .lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #03100c;
}
.site-header .lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  min-height: 44px;
  color: #dce7e1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
}
.site-header .lang-switch a:first-child { border-radius: 9px 0 0 9px; }
.site-header .lang-switch a:last-child { border-radius: 0 9px 9px 0; }
.site-header .lang-switch a + a { border-left: 1px solid var(--border-strong); }
.site-header .lang-switch a:hover { background: #0a251a; color: var(--accent-2); }
.site-header .lang-switch a[aria-current="true"] {
  background: linear-gradient(135deg, #2ad9b8, #35ef9d);
  color: #00150e;
}
.site-header .lang-switch a:focus-visible { z-index: 1; }
.site-header .header-cta {
  display: inline-flex;
  min-height: 46px;
  max-width: 190px;
  padding: 12px 16px;
  background: rgba(42,217,184,.09);
  color: #f7faf8;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: .07em;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.site-header .header-cta > span { flex: 0 0 auto; }
.site-header .header-cta:hover,
.site-header .header-cta:focus-visible { color: var(--accent-2); }
.site-header .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 44px;
  gap: 6px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #03100c;
  cursor: pointer;
}
.site-header .menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: #e1ece5;
  transform-origin: center;
  transition: transform .18s ease;
}
.site-header .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.site-header .menu-toggle:hover { background: #0a251a; }
.site-header a:focus-visible,
.site-header button:focus-visible { outline: 3px solid #35ef9d; outline-offset: 3px; }
.site-header .nav-kicker,
.site-header .menu-cta { display: none; }
.admin-bar .site-header { top: 32px; }

.site-footer { color: #f7faf8; }
.site-footer .footer-grid > * { min-width: 0; }
.site-footer .footer-lockup { min-width: 0; }
.site-footer .footer-lockup > img { flex: 0 0 58px; object-fit: contain; }
.site-footer .footer-lockup > div { min-width: 0; }
.site-footer .footer-brand { color: #f7faf8; }
.site-footer .footer-promise,
.site-footer .footer-meta > span { color: #bac9c2; }
.site-footer .footer-navigation .footer-nav {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer .footer-nav ul {
  display: grid;
  gap: 0;
  padding: 0 0 0 14px;
  margin: 0;
  list-style: none;
}
.site-footer .footer-nav a,
.site-footer .footer-meta a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  color: #d7e3db;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible,
.site-footer .footer-meta a:hover,
.site-footer .footer-meta a:focus-visible { color: #35ef9d; }
.site-footer .footer-meta a { justify-content: flex-end; }
.site-footer .footer-email { font-size: 14px; }
.site-footer .footer-phone { white-space: nowrap; }
.site-footer .footer-meta > span { font-size: 13px; overflow-wrap: anywhere; }

@media (min-width:1200px) and (max-width:1350px) {
  .site-header .header-inner { gap: 16px; }
  .site-header .nav-list { gap: 14px; }
  .site-header .nav-list a { font-size: 11px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 46px; height: 46px; }
  .site-header .brand-master { font-size: 1.05rem; letter-spacing: .17em; }
  .site-header .brand-unit { font-size: .7rem; letter-spacing: .26em; }
  .site-header .header-tools { gap: 10px; }
  .site-header .header-cta { max-width: 170px; padding-inline: 13px; }
}

@media (max-width:1199px) {
  :root { --header-h: 84px; }
  .site-header .header-inner {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
    width: calc(100% - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right)));
  }
  .site-header .header-tools { grid-row: 1; grid-column: 2; gap: 10px; }
  .site-header .header-cta { display: none; }
  .site-header .menu-toggle { display: flex; }
  .site-header .primary-nav {
    display: none;
    position: fixed;
    top: var(--unleash-header-bottom, var(--header-h));
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - var(--unleash-header-bottom, var(--header-h)));
    height: calc(100dvh - var(--unleash-header-bottom, var(--header-h)));
    max-height: calc(100dvh - var(--unleash-header-bottom, var(--header-h)));
    padding: 28px max(24px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
    background-color: #000604;
    border-top: 1px solid var(--border);
    border-bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }
  .site-header .primary-nav.is-open { display: block; }
  .site-header .nav-kicker {
    display: block;
    max-width: 760px;
    margin: 0 auto 14px;
    color: #a6bab0;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
  }
  .site-header .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
  .site-header .nav-list > li { width: 100%; border-bottom: 1px solid var(--border); }
  .site-header .nav-list > li > a {
    min-height: 60px;
    padding: 16px 4px;
    color: #edf5f0;
    font-size: clamp(20px,3.3vw,26px);
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
  .site-header .nav-list a:hover,
  .site-header .nav-list a:focus-visible,
  .site-header .nav-list a[aria-current="page"],
  .site-header .nav-list .current-menu-item > a,
  .site-header .nav-list .current_page_item > a,
  .site-header .nav-list .current-menu-ancestor > a {
    color: #35ef9d;
    text-decoration: none;
    background-color: rgba(42,217,184,.06);
  }
  .site-header .nav-list .sub-menu,
  .site-header .nav-list .sub-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    max-width: 100%;
    margin: 0 0 14px 4px;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 1px solid var(--border-strong);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header .nav-list .sub-menu li { border: 0; }
  .site-header .nav-list .sub-menu a { min-height: 44px; padding: 10px 4px; font-size: 16px; line-height: 1.5; }
  .site-header .menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 760px;
    min-height: 54px;
    margin: 26px auto 0;
    padding: 16px 20px;
    border: 1px solid #35ef9d;
    border-radius: 10px;
    background: linear-gradient(135deg,#2ad9b8,#35ef9d);
    color: #00150e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }
  .site-header .menu-cta > span { flex: 0 0 auto; }
  .site-header .menu-cta:focus-visible { outline-color: #f7faf8; }
  html.unleash-menu-open,
  html.unleash-menu-open body { overflow: hidden; overscroll-behavior: none; }
  .menu-open .return-top { visibility: hidden; }
}

@media (max-width:980px) {
  .site-footer .footer-meta a { justify-content: flex-start; }
}
@media (max-width:782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width:680px) {
  :root { --header-h: 80px; }
  .site-header .header-inner {
    gap: 8px;
    width: calc(100% - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)));
  }
  .site-header .header-tools { gap: 6px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-mark { width: clamp(36px,10.5vw,48px); height: clamp(36px,10.5vw,48px); }
  .site-header .brand-master { font-size: clamp(12px,3.9vw,17px); letter-spacing: .16em; }
  .site-header .brand-unit { font-size: clamp(9px,2.5vw,11px); letter-spacing: .22em; }
  .site-header .primary-nav {
    padding-top: 24px;
    padding-right: max(20px,env(safe-area-inset-right));
    padding-left: max(20px,env(safe-area-inset-left));
  }
  .site-footer .footer-lockup { gap: 14px; }
  .site-footer .footer-brand { font-size: 1rem; letter-spacing: .06em; }
  .site-footer .footer-promise { font-size: .94rem; }
  .site-footer .footer-meta { gap: 0; }
  .return-top { bottom: max(20px,env(safe-area-inset-bottom)); }
}
@media (max-width:600px) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width:1199px) and (max-height:480px) {
  :root { --header-h: 68px; }
  .site-header .header-inner { padding-block: 8px; padding-top: calc(8px + env(safe-area-inset-top)); }
  .site-header .brand-mark { width: 40px; height: 40px; }
  .site-header .primary-nav { padding-top: 16px; }
  .site-header .nav-kicker { margin-bottom: 6px; }
  .site-header .nav-list > li > a { min-height: 50px; padding-block: 12px; font-size: 20px; }
  .site-header .menu-cta { margin-top: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .site-header .menu-toggle > span { transition: none; }
}
