/* ============================================================
   Gessura — strict premium bar + fullscreen menu
   ============================================================ */

.g3-skip {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--coal);
  border-radius: var(--r-ctl);
  transition: top var(--t-quick) var(--ease);
}
.g3-skip:focus-visible { top: 12px; }

/* -- the bar ------------------------------------------------- */

.g3-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding-inline: clamp(20px, 3vw, 48px);
  background: transparent;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.g3-bar.is-scrolled {
  background: rgba(10, 10, 12, .9);
  box-shadow: 0 1px 0 var(--hairline);
}

.g3-bar-side {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}
.g3-bar-left { justify-content: flex-start; }
.g3-bar-right { justify-content: flex-end; }
.g3-bar-side > a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--bone);
  opacity: .85;
  transition: opacity var(--t-quick) var(--ease);
}
.g3-bar-side > a:hover { opacity: 1; }

/* centre badge: boxed brand with the mint jewel */
.g3-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-ctl);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--bone);
}
.g3-bar-badge-word { height: 15px; width: auto; display: block; mix-blend-mode: screen; }
.g3-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  display: inline-block;
}

.g3-bar-tokens b {
  font-weight: 500;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.g3-bar-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--bone);
  opacity: .85;
}
.g3-bar-cart:hover { opacity: 1; }
.g3-bar-cart-count {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 15px; height: 15px;
  display: grid;
  place-items: center;
  padding-inline: 3px;
  background: var(--ember);
  color: var(--ember-ink);
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
}

.g3-bar-menu {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-ctl);
  color: var(--bone);
  padding: 10px 12px;
  justify-self: end;
}
.g3-bar-menu-lines {
  display: grid;
  gap: 5px;
  width: 18px;
}
.g3-bar-menu-lines i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease);
}
body.menu-open .g3-bar-menu-lines i:first-child { transform: translateY(3.2px) rotate(45deg); }
body.menu-open .g3-bar-menu-lines i:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* -- fullscreen menu ----------------------------------------- */

.g3-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 10, 12, .98);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(24px, 10vw, 160px) 40px;
  opacity: 0;
  visibility: hidden;
}
body.menu-open .g3-menu { opacity: 1; visibility: visible; }

.g3-menu-links {
  display: flex;
  flex-direction: column;
}
.g3-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 48px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--bone-soft);
  width: fit-content;
  padding-block: 6px;
  transition: color var(--t-quick) var(--ease), padding-left var(--t-base) var(--ease);
}
.g3-menu-links a:hover { color: var(--bone); padding-left: 10px; }
.g3-menu-links a .g3-stamp { color: var(--ember); }
.g3-menu-note { margin-top: 40px; color: var(--bone-faint); }

body.menu-open { overflow: hidden; }
body.menu-open .g3-bar { background: transparent; box-shadow: none; }
body.menu-open .g3-bar-badge, body.menu-open .g3-bar-menu { position: relative; z-index: 95; }

/* -- responsive ---------------------------------------------- */

@media (max-width: 1080px) {
  .g3-bar-side { display: none; }
  .g3-bar { grid-template-columns: auto 1fr auto; }
  .g3-bar-badge { justify-self: start; }
  .g3-bar-menu { display: inline-flex; }
}
@media (max-width: 700px) {
  .g3-bar { height: 62px; padding-inline: 16px; }
}

/* content starts below the fixed bar */
.g3-body { padding-top: 72px; }
@media (max-width: 700px) { .g3-body { padding-top: 62px; } }

/* the homepage hero runs under the transparent bar */
body.home.g3-body { padding-top: 0; }

/* admin bar offset */
body.admin-bar .g3-bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .g3-bar { top: 46px; } }
