/* Grouped, intent-led header. Loaded after the page stylesheet on every page. */
.gmp-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 5, 12, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 239, 228, 0.12);
}
.gmp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gmp-header .logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.gmp-header .logo .logo-word { height: 40px; width: auto; display: block; }
.gmp-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.gmp-nav-link,
.gmp-work-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 243, 227, 0.7);
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.gmp-nav-link:hover,
.gmp-work-btn:hover,
.gmp-nav-link:focus-visible,
.gmp-work-btn:focus-visible {
  color: #FFF3E3;
  background: rgba(244, 239, 228, 0.06);
  outline: none;
}
.gmp-nav-link.is-current,
.gmp-work-btn.is-current {
  color: #FFF3E3;
  box-shadow: inset 0 -1px 0 rgba(244, 239, 228, 0.75);
}
.gmp-work { position: relative; }
.gmp-work-btn svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.gmp-work.is-open .gmp-work-btn svg { transform: rotate(180deg); }
.gmp-sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  padding: 0.4rem;
  background: #0b0b10;
  border: 1px solid rgba(244, 239, 228, 0.14);
  border-radius: 0.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.gmp-work:hover .gmp-sub,
.gmp-work:focus-within .gmp-sub,
.gmp-work.is-open .gmp-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gmp-sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  color: rgba(255, 243, 227, 0.72);
  font-size: 0.86rem;
  text-decoration: none;
  border-radius: 0.3rem;
}
.gmp-sub a:hover,
.gmp-sub a:focus-visible {
  color: #FFF3E3;
  background: rgba(244, 239, 228, 0.07);
  outline: none;
}
.gmp-sub a.is-current { color: #FFF3E3; background: rgba(244, 239, 228, 0.06); }
.gmp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: 0.6rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #DAAF37;
  color: #08080c !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gmp-cta:hover { background: #FFF3E3; transform: translateY(-1px); }
.gmp-nav-toggle,
.gmp-nav-close {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 239, 228, 0.18);
  border-radius: 0.4rem;
  background: transparent;
  color: #FFF3E3;
  cursor: pointer;
}
.gmp-nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: #FFF3E3;
  margin: 3px 0;
}
.gmp-nav-close { font-size: 1.4rem; line-height: 1; }
.gmp-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 210;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.gmp-nav-head { display: none; }

@media (max-width: 860px) {
  .gmp-header-inner { min-height: 62px; padding: 0 1rem; }
  .gmp-header .logo .logo-word { height: 34px; }
  .gmp-nav-toggle { display: inline-flex; flex-direction: column; }
  .gmp-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    width: min(88vw, 380px);
    height: 100dvh;
    margin: 0;
    padding: 1rem 1.1rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: #0b0b10;
    border-left: 1px solid rgba(244, 239, 228, 0.14);
    transform: translateX(102%);
    transition: transform 0.24s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .gmp-header.is-open .gmp-nav { transform: translateX(0); }
  .gmp-header.is-open .gmp-backdrop { display: block; opacity: 1; visibility: visible; }
  .gmp-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
  .gmp-nav-head span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 243, 227, 0.45); }
  .gmp-nav-close { display: inline-flex; }
  .gmp-nav-link,
  .gmp-work-btn {
    min-height: 48px;
    padding: 0 0.4rem;
    font-size: 1rem;
    justify-content: space-between;
    border-bottom: 1px solid rgba(244, 239, 228, 0.08);
    border-radius: 0;
  }
  .gmp-nav-link.is-current,
  .gmp-work-btn.is-current { box-shadow: inset 2px 0 0 rgba(244, 239, 228, 0.7); }
  .gmp-work { position: static; }
  .gmp-work-btn { width: 100%; }
  .gmp-sub {
    position: static;
    min-width: 0;
    padding: 0 0 0.3rem 0.8rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .gmp-work.is-open .gmp-sub { display: block; }
  .gmp-sub a { min-height: 44px; font-size: 0.94rem; }
  .gmp-cta { margin: 1rem 0 0; min-height: 48px; font-size: 0.8rem; }
  .gmp-backdrop { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .gmp-nav, .gmp-sub, .gmp-backdrop, .gmp-cta, .gmp-work-btn svg { transition: none !important; }
}

body.gmp-nav-open { overflow: hidden; }
.gmp-header a:focus-visible,
.gmp-header button:focus-visible {
  outline: 2px solid rgba(255, 243, 227, 0.82);
  outline-offset: 3px;
}
