/* ==================================================================
   GOLFKIT MOBILE MENU — full-screen takeover on the brand dark green.
   Two destinations with descriptions, one CTA, login, languages.
   One persistent header button morphs hamburger -> X in place. */

.gkm{
  position: fixed; inset: 0; z-index: 85;
  background:
    radial-gradient(560px 400px at 88% -80px, rgba(44,209,146,.16), transparent 70%),
    radial-gradient(720px 540px at -140px 108%, rgba(44,209,146,.10), transparent 70%),
    #06251a;
  color: #fff;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s cubic-bezier(.16,1,.3,1), visibility 0s linear .55s;
}
body.gkm-open .gkm{
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .65s cubic-bezier(.16,1,.3,1);
}
body.gkm-open{ overflow: hidden; }

.gkm-inner{
  height: 100%; max-width: 560px; margin: 0 auto;
  padding: calc(76px + 3vh) 28px max(24px, env(safe-area-inset-bottom, 24px));
  display: flex; flex-direction: column; gap: 3.4vh;
}

/* staggered entrance (delays only on the way in) */
.gkm-dest, .gkm-actions, .gkm-langs{
  opacity: 0; transform: translateY(26px); filter: blur(5px);
  transition:
    opacity .45s cubic-bezier(.16,1,.3,1),
    transform .55s cubic-bezier(.16,1,.3,1),
    filter .45s cubic-bezier(.16,1,.3,1);
  transition-delay: 0s;
}
body.gkm-open .gkm-dest, body.gkm-open .gkm-actions, body.gkm-open .gkm-langs{
  opacity: 1; transform: none; filter: none;
}
body.gkm-open .gkm-dest:nth-child(1){ transition-delay: .2s; }
body.gkm-open .gkm-dest:nth-child(2){ transition-delay: .3s; }
body.gkm-open .gkm-actions{ transition-delay: .42s; }
body.gkm-open .gkm-langs{ transition-delay: .52s; }

/* the two destinations — editorial, with a quiet standfirst each */
.gkm-dests{ display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; min-height: 0; }
.gkm-dest{ display: block; padding: clamp(18px, 3.4vh, 30px) 0; }
.gkm-dest + .gkm-dest{ border-top: 1px solid rgba(255,255,255,.12); }
.gkm-dest b{
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--display, sans-serif); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.08;
  font-size: clamp(1.9rem, 8.4vw, 2.6rem); color: #fff;
}
.gkm-dest b svg{
  width: clamp(20px, 5vw, 26px); height: clamp(20px, 5vw, 26px);
  flex: none; color: var(--green, #2CD192);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.gkm-dest:active b svg{ transform: translateX(6px); }
.gkm-dest small{
  display: block; margin-top: .45rem;
  font-size: .92rem; line-height: 1.55;
  color: rgba(255,255,255,.56);
  max-width: 34ch;
}
/* actions */
.gkm-actions{ display: flex; flex-direction: column; gap: 12px; flex: none; }
.gkm-cta{ width: 100%; justify-content: center; }
.gkm .btn--line{ background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.gkm-login{
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display, sans-serif); font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.72); padding: .45rem;
}
.gkm-login svg{ width: 16px; height: 16px; }

/* language row */
.gkm-langs{ display: flex; gap: 8px; justify-content: center; flex: none; }
.gkm-langs a{
  font-family: var(--display, sans-serif); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; padding: .5rem .9rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6);
}
.gkm-langs a.active{ border-color: var(--green, #2CD192); color: #fff; background: rgba(44,209,146,.12); }

/* the fixed header stays above the open menu: logo + button only */
body.gkm-open header{ background: transparent !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.gkm-open header .brand-dark{ display: none !important; }
body.gkm-open header .brand-white{ display: block !important; }
header .nav-mid{ transition: opacity .3s; }
body.gkm-open header .nav-mid{ opacity: 0; pointer-events: none; }
body.gkm-open .menu-btn{ color: #fff; }

/* one button, morphing in place */
.gkm-btn{ border: 1px solid transparent; border-radius: 50%; transition: border-color .35s, background .35s; }
body.gkm-open .gkm-btn{ border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.gkm-ic{ position: relative; width: 22px; height: 14px; display: block; }
.gkm-ic i{
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: top .3s cubic-bezier(.16,1,.3,1) .16s, transform .34s cubic-bezier(.16,1,.3,1);
}
.gkm-ic i:first-child{ top: 1px; }
.gkm-ic i:last-child{ top: 11px; }
body.gkm-open .gkm-ic i{ transition: top .3s cubic-bezier(.16,1,.3,1), transform .38s cubic-bezier(.16,1,.3,1) .14s; }
body.gkm-open .gkm-ic i:first-child{ top: 6px; transform: rotate(45deg); }
body.gkm-open .gkm-ic i:last-child{ top: 6px; transform: rotate(-45deg); }

@media (min-width: 901px){ .gkm{ display: none; } }
@media (prefers-reduced-motion: reduce){
  .gkm, .gkm-dest, .gkm-actions, .gkm-langs, .gkm-ic i{ transition: none !important; }
}
