.gc-header-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1000;
  box-sizing: border-box;
  padding: 0;
  background: #000000;
  overflow: visible;
}

.gc-header-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 247, 214, 0.92) 0%, rgba(255, 237, 176, 0.72) 18%, rgba(255, 226, 145, 0.34) 38%, rgba(255, 214, 120, 0.12) 56%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(255, 248, 226, 0.34) 0%, rgba(255, 236, 184, 0.18) 40%, rgba(255, 220, 150, 0.08) 100%);
  filter: blur(10px);
}

.gc-header-wrap::after {
  content: none;
}

.gc-header-wrap.is-open::before,
.gc-header-wrap.is-flashing::before,
.gc-header-wrap.is-hinting::before {
  animation: gcHeaderFlash 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gc-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  background: #000000;
}

.gc-header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 120px;
  grid-column: 2;
  grid-row: 1;
  isolation: isolate;
  z-index: 30;
}

.gc-header__logo img {
  display: block;
  width: 320px;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 0 rgba(255, 241, 214, 0));
}

.gc-header__logo::before {
  content: none;
}



.gc-menu-logo-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  isolation: isolate;
  z-index: 3;
}

.gc-menu-logo-toggle::before {
  content: none;
}

.gc-header-wrap.is-open .gc-header__logo::before,
.gc-header-wrap.is-hinting .gc-header__logo::before {
  animation: none;
}

.gc-header-wrap.is-open .gc-menu-logo-toggle::before,
.gc-header-wrap.is-hinting .gc-menu-logo-toggle::before {
  animation: none;
}

.gc-header-wrap.is-open .gc-header__logo img,
.gc-header-wrap.is-hinting .gc-header__logo img {
  animation: none;
}

.gc-header__menu {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-column: 3;
  grid-row: 1;
  z-index: 5;
}

.gc-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: inherit;
  cursor: pointer;
  padding: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.gc-menu-toggle:focus-visible,
.gc-menu-logo-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.gc-menu-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-block;
}

.gc-menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.gc-menu-toggle-bars span:nth-child(1) {
  top: 0;
}

.gc-menu-toggle-bars span:nth-child(2) {
  top: 6px;
}

.gc-menu-toggle-bars span:nth-child(3) {
  top: 12px;
}

.gc-header-wrap.is-open .gc-menu-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.gc-header-wrap.is-open .gc-menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.gc-header-wrap.is-open .gc-menu-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.gc-menu-panel {
  position: absolute;
  top: calc(100% - 78px);
  left: 50%;
  right: auto;
  min-width: 300px;
  padding: 88px 18px 22px;
  visibility: visible;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(209, 170, 92, 0.42);
  background:
    radial-gradient(circle at top center, rgba(201, 154, 72, 0.16) 0%, rgba(201, 154, 72, 0) 34%),
    linear-gradient(180deg, rgba(34, 27, 24, 0.985) 0%, rgba(12, 9, 9, 0.995) 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 232, 181, 0.05) inset,
    0 0 22px rgba(201, 154, 72, 0.10);
  transform: translateX(-50%) translateY(-1px) scale(0.97);
  transform-origin: top center;
  backdrop-filter: blur(12px);
  clip-path: inset(0 0 calc(100% - 100px) 0 round 22px);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease,
    opacity 0.2s ease;
}

.gc-menu-panel[hidden] {
  display: block !important;
}

.gc-menu-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 236, 188, 0.14) 0%, rgba(255, 236, 188, 0.04) 16%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 50% 0%, rgba(255, 220, 153, 0.18) 0%, rgba(255, 220, 153, 0) 42%);
}

.gc-menu-panel::after {
  content: none;
}

.gc-menu-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.gc-menu-links::before,
.gc-menu-links::after {
  content: "~  ~  ~";
  display: block;
  text-align: center;
  color: rgba(214, 176, 97, 0.72);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-shadow: 0 0 10px rgba(214, 176, 97, 0.14);
}

.gc-header-wrap.is-open .gc-menu-panel {
  pointer-events: auto;
  transform: translateX(-50%) translateY(-18px) scale(1);
  clip-path: inset(0 0 0 0 round 22px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 232, 181, 0.06) inset,
    0 0 42px rgba(201, 154, 72, 0.16);
}

.gc-header-wrap.is-open .gc-menu-links {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.gc-header-wrap.is-closing .gc-menu-panel,
.gc-header-wrap.is-hinting .gc-menu-panel {
  pointer-events: none;
}

.gc-header-wrap.is-closing .gc-menu-panel {
  transform: translateX(-50%) translateY(-72px) scale(0.97);
  clip-path: inset(0 0 calc(100% - 25px) 0 round 22px);
}

.gc-header-wrap.is-closing .gc-menu-links {
  opacity: 0;
  transform: translateY(-8px);
  transition-delay: 0s;
}

.gc-header-wrap.is-hinting .gc-menu-panel {
  animation: gcMenuPeekTucked 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gc-header-wrap.is-hinting .gc-menu-links {
  animation: gcMenuLinksPeek 0.95s ease forwards;
}

.gc-menu-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: rgba(244, 231, 212, 0.92);
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(212, 174, 101, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%);
  transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.gc-menu-link::before,
.gc-menu-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(214,176,97,0) 0%, rgba(214,176,97,0.78) 100%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gc-menu-link::before {
  left: 10px;
  transform: translateY(-50%) translateX(-4px);
}

.gc-menu-link::after {
  right: 10px;
  transform: translateY(-50%) translateX(4px) scaleX(-1);
}

.gc-menu-link:hover {
  color: #fff6e3;
  border-color: rgba(214, 176, 97, 0.52);
  background: linear-gradient(180deg, rgba(214,176,97,0.12) 0%, rgba(214,176,97,0.05) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), 0 0 18px rgba(214, 176, 97, 0.08);
  transform: translateY(-1px);
}

.gc-menu-link:hover::before,
.gc-menu-link:hover::after,
.gc-menu-link.is-active::before,
.gc-menu-link.is-active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.gc-menu-link.is-active {
  color: #fff8ed;
  border-color: rgba(214, 176, 97, 0.68);
  background: linear-gradient(180deg, rgba(214,176,97,0.18) 0%, rgba(214,176,97,0.08) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 188, 0.08), 0 0 18px rgba(214, 176, 97, 0.10);
}

.gc-header__logo[data-logo-error="true"]::after {
  content: "Logo failed to load";
  color: #b42318;
  font-size: 14px;
  line-height: 1.2;
  padding: 6px 8px;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  bottom: auto;
}

@keyframes gcHeaderFlash {
  0% {
    opacity: 0;
    filter: blur(14px);
  }
  18% {
    opacity: 0.42;
    filter: blur(12px);
  }
  42% {
    opacity: 0.72;
    filter: blur(10px);
  }
  100% {
    opacity: 0;
    filter: blur(16px);
  }
}

@keyframes gcMenuPeekTucked {
  0% {
    transform: translateX(-50%) translateY(-72px) scale(0.97);
    clip-path: inset(0 0 calc(100% - 25px) 0 round 22px);
  }
  28% {
    transform: translateX(-50%) translateY(-34px) scale(1);
    clip-path: inset(0 0 0 0 round 22px);
  }
  68% {
    transform: translateX(-50%) translateY(-34px) scale(1);
    clip-path: inset(0 0 0 0 round 22px);
  }
  100% {
    transform: translateX(-50%) translateY(-72px) scale(0.97);
    clip-path: inset(0 0 calc(100% - 25px) 0 round 22px);
  }
}

@keyframes gcMenuLinksPeek {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  24% {
    opacity: 1;
    transform: translateY(0);
  }
  66% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .gc-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .gc-header__menu {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    justify-content: center;
  }

  .gc-header__logo {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 0;
  }

  .gc-header__logo img {
    width: 260px;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 auto;
  }

  .gc-header__logo::after {
    width: 62px;
  }

  .gc-menu-panel {
    left: 50%;
    right: auto;
    min-width: 260px;
    top: calc(100% - 60px);
    padding: 70px 16px 20px;
    transform: translateX(-50%) translateY(-56px) scale(0.97);
  }

  .gc-header-wrap.is-open .gc-menu-panel {
    transform: translateX(-50%) translateY(-12px) scale(1);
  }

  .gc-header-wrap.is-closing .gc-menu-panel {
    transform: translateX(-50%) translateY(-56px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-header-wrap::before,
  .gc-menu-panel,
  .gc-menu-links,
  .gc-menu-link,
  .gc-menu-toggle-bars span {
    animation: none !important;
    transition: none !important;
  }
}