/*
 * GOD'S PLAN HOLDINGS - V-M2 GLOBAL SHELL
 * Header, navigation, mobile drawer, and footer only.
 * Page-body visuals remain deferred to V-M3 through V-M5.
 */

body.gph-unified-shell {
  --gph-shell-ink: #1A1728;
  --gph-shell-ink-soft: #262039;
  --gph-shell-bone: #F2EDE3;
  --gph-shell-ivory: #FAF6EE;
  --gph-shell-gold: #D9BA62;
  --gph-shell-gold-hi: #E3C978;
  --gph-shell-purple: #735DA5;
  --gph-shell-font-display: "Sora", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --gph-shell-font-body: "Inter", "Aptos", "Segoe UI", system-ui, sans-serif;
  --gph-shell-fast: 160ms;
  --gph-shell-base: 240ms;
  --gph-shell-ease: cubic-bezier(.22, 1, .36, 1);
}

body.gph-unified-shell .site-header,
body.gph-unified-shell .site-footer,
body.gph-unified-shell .site-header *,
body.gph-unified-shell .site-footer * {
  box-sizing: border-box;
}

body.gph-unified-shell .site-header a:focus-visible,
body.gph-unified-shell .site-header button:focus-visible,
body.gph-unified-shell .site-footer a:focus-visible {
  outline: 2px solid var(--gph-shell-gold) !important;
  outline-offset: 3px !important;
}

/* Header */
body.gph-unified-shell .site-header {
  position: sticky !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  overflow: visible !important;
  isolation: isolate;
  width: 100%;
  background: var(--gph-shell-ink) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(217, 186, 98, .18) !important;
  box-shadow: 0 12px 34px rgba(4, 3, 12, .16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--gph-shell-ivory);
  font-family: var(--gph-shell-font-body);
}

body.gph-unified-shell .site-header .header-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: min(1180px, calc(100% - 40px)) !important;
  min-height: 72px !important;
  height: 72px !important;
  margin-inline: auto !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
  overflow: visible !important;
}

body.gph-unified-shell .site-header.is-scrolled .header-inner {
  min-height: 64px !important;
  height: 64px !important;
}

body.gph-unified-shell .site-header .brand {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 auto 0 0 !important;
  color: var(--gph-shell-ivory) !important;
}

body.gph-unified-shell .site-header .brand > span {
  display: none !important;
}

body.gph-unified-shell .site-header .brand img {
  display: block;
  width: 42px !important;
  height: 42px !important;
  max-width: none !important;
  filter: drop-shadow(0 0 15px rgba(217, 186, 98, .16));
  transition: transform var(--gph-shell-base) var(--gph-shell-ease),
    filter var(--gph-shell-base) var(--gph-shell-ease);
}

body.gph-unified-shell .site-header .brand:hover img {
  transform: rotate(-3deg) scale(1.045);
  filter: drop-shadow(0 0 20px rgba(217, 186, 98, .28));
}

body.gph-unified-shell .site-nav {
  position: static !important;
  display: flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  align-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: clamp(12px, 1.35vw, 21px) !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.gph-unified-shell .site-nav > a,
body.gph-unified-shell .nav-drop > button,
body.gph-unified-shell .header-cart,
body.gph-unified-shell .header-login {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gph-shell-bone) !important;
  font-family: var(--gph-shell-font-body) !important;
  font-size: clamp(.78rem, .78vw, .9rem) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  letter-spacing: .005em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: color var(--gph-shell-fast) ease,
    box-shadow var(--gph-shell-fast) ease !important;
}

body.gph-unified-shell .site-nav > a:hover,
body.gph-unified-shell .nav-drop > button:hover,
body.gph-unified-shell .header-cart:hover,
body.gph-unified-shell .header-login:hover,
body.gph-unified-shell .site-nav > a[aria-current="page"],
body.gph-unified-shell .nav-drop > button.is-current {
  color: var(--gph-shell-gold-hi) !important;
  box-shadow: inset 0 -2px 0 var(--gph-shell-gold) !important;
}

body.gph-unified-shell .nav-drop {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.gph-unified-shell .nav-drop > button::before {
  content: none !important;
}

body.gph-unified-shell .nav-drop > button::after {
  content: "" !important;
  position: static !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 7px !important;
  height: 7px !important;
  margin: -4px 0 0 8px !important;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  background: transparent !important;
  transform: rotate(45deg) !important;
  transition: transform var(--gph-shell-base) var(--gph-shell-ease) !important;
}

body.gph-unified-shell .nav-drop.open > button::after {
  margin-top: 4px !important;
  transform: rotate(225deg) !important;
}

body.gph-unified-shell .nav-menu,
body.gph-unified-shell .nav-menu-wide {
  position: absolute !important;
  inset: calc(100% + 8px) auto auto -18px !important;
  z-index: 1050 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 2px !important;
  width: max-content !important;
  min-width: 270px !important;
  max-width: min(340px, calc(100vw - 32px)) !important;
  max-height: min(72vh, 560px) !important;
  margin: 0 !important;
  padding: 9px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 1px solid rgba(217, 186, 98, .22) !important;
  border-radius: 16px !important;
  background: rgba(38, 32, 57, .985) !important;
  box-shadow: 0 24px 64px rgba(4, 3, 12, .36),
    inset 0 1px 0 rgba(250, 246, 238, .08) !important;
  backdrop-filter: blur(20px) saturate(118%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(118%) !important;
  transform: translate3d(0, -8px, 0) scale(.985) !important;
  transform-origin: top left !important;
  transition: opacity var(--gph-shell-base) var(--gph-shell-ease),
    transform var(--gph-shell-base) var(--gph-shell-ease),
    visibility var(--gph-shell-base) !important;
}

body.gph-unified-shell .nav-drop.open > .nav-menu,
body.gph-unified-shell .nav-drop.open > .nav-menu-wide {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

body.gph-unified-shell .nav-menu a,
body.gph-unified-shell .nav-menu-wide a {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(250, 246, 238, .80) !important;
  font-family: var(--gph-shell-font-body) !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

body.gph-unified-shell .nav-menu a:hover,
body.gph-unified-shell .nav-menu a:focus-visible,
body.gph-unified-shell .nav-menu a[aria-current="page"],
body.gph-unified-shell .nav-menu-wide a:hover,
body.gph-unified-shell .nav-menu-wide a:focus-visible,
body.gph-unified-shell .nav-menu-wide a[aria-current="page"] {
  background: rgba(217, 186, 98, .09) !important;
  color: var(--gph-shell-gold-hi) !important;
}

body.gph-unified-shell .nav-menu a b,
body.gph-unified-shell .nav-menu-wide a b {
  color: inherit !important;
}

body.gph-unified-shell .header-cart {
  flex: 0 0 auto !important;
  gap: 6px !important;
}

body.gph-unified-shell .header-cart span {
  display: grid !important;
  place-items: center !important;
  min-width: 21px !important;
  height: 21px !important;
  padding: 0 5px !important;
  border: 1px solid rgba(250, 246, 238, .12) !important;
  border-radius: 999px !important;
  background: var(--gph-shell-purple) !important;
  color: var(--gph-shell-ivory) !important;
  font-size: .66rem !important;
  font-weight: 800 !important;
}

body.gph-unified-shell .header-login {
  flex: 0 0 auto !important;
}

body.gph-unified-shell .header-cta {
  position: static !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(250, 246, 238, .20) !important;
  border-radius: 999px !important;
  background: var(--gph-shell-gold) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34),
    0 10px 24px rgba(217, 186, 98, .15) !important;
  color: var(--gph-shell-ink) !important;
  font-family: var(--gph-shell-font-body) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.gph-unified-shell .header-cta:hover {
  background: var(--gph-shell-gold-hi) !important;
  color: var(--gph-shell-ink) !important;
  transform: translateY(-2px) !important;
}

body.gph-unified-shell .menu-toggle {
  display: none !important;
}

/* Footer */
body.gph-unified-shell .site-footer {
  width: 100%;
  margin: 0 !important;
  padding: 68px 0 24px !important;
  border: 0 !important;
  border-top: 1px solid rgba(217, 186, 98, .18) !important;
  background: var(--gph-shell-ink) !important;
  color: var(--gph-shell-ivory) !important;
  font-family: var(--gph-shell-font-body) !important;
}

body.gph-unified-shell .site-footer .shell {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

body.gph-unified-shell .site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(145px, 1fr)) !important;
  align-items: start !important;
  gap: clamp(30px, 4vw, 52px) !important;
}

body.gph-unified-shell .site-footer .footer-grid > div {
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
  min-width: 0 !important;
}

body.gph-unified-shell .site-footer .footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-self: start !important;
  gap: 11px !important;
  margin: 0 0 10px !important;
  color: var(--gph-shell-ivory) !important;
  text-decoration: none !important;
}

body.gph-unified-shell .site-footer .footer-brand img {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  max-width: none !important;
}

body.gph-unified-shell .site-footer .footer-brand > span {
  display: grid !important;
  line-height: 1.05 !important;
}

body.gph-unified-shell .site-footer .footer-brand b {
  color: var(--gph-shell-ivory) !important;
  font-family: var(--gph-shell-font-display) !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
}

body.gph-unified-shell .site-footer .footer-brand small {
  margin-top: 5px !important;
  color: rgba(242, 237, 227, .67) !important;
  font-size: .58rem !important;
  letter-spacing: .23em !important;
}

body.gph-unified-shell .site-footer h3 {
  margin: 0 0 9px !important;
  color: var(--gph-shell-gold) !important;
  font-family: var(--gph-shell-font-display) !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

body.gph-unified-shell .site-footer p,
body.gph-unified-shell .site-footer .footer-grid a {
  margin: 0 !important;
  color: rgba(242, 237, 227, .72) !important;
  font-size: .86rem !important;
  line-height: 1.65 !important;
}

body.gph-unified-shell .site-footer p {
  max-width: 36ch !important;
}

body.gph-unified-shell .site-footer .footer-grid a {
  width: fit-content !important;
  text-decoration: none !important;
}

body.gph-unified-shell .site-footer .footer-grid a:hover {
  color: var(--gph-shell-ivory) !important;
}

body.gph-unified-shell .site-footer .footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-top: 46px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(250, 246, 238, .11) !important;
  color: rgba(242, 237, 227, .60) !important;
  font-size: .76rem !important;
  line-height: 1.5 !important;
}

body.gph-unified-shell .site-footer .footer-bottom a {
  color: var(--gph-shell-gold) !important;
  text-decoration: none !important;
}

body.gph-unified-shell .site-footer .footer-bottom a:hover {
  color: var(--gph-shell-gold-hi) !important;
}

/* Compact drawer for tablets and phones. */
@media (max-width: 1080px) {
  body.gph-unified-shell.gph-nav-lock {
    overflow: hidden !important;
  }

  body.gph-unified-shell .site-header .header-inner,
  body.gph-unified-shell .site-header.is-scrolled .header-inner {
    min-height: 64px !important;
    height: 64px !important;
    gap: 9px !important;
  }

  body.gph-unified-shell .site-header .brand img {
    width: 38px !important;
    height: 38px !important;
  }

  body.gph-unified-shell .header-login,
  body.gph-unified-shell .site-header.nav-open .header-login {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 8px !important;
    z-index: 3 !important;
  }

  body.gph-unified-shell .header-cart,
  body.gph-unified-shell .header-cta,
  body.gph-unified-shell .site-header.nav-open .header-cart,
  body.gph-unified-shell .site-header.nav-open .header-cta {
    display: none !important;
  }

  body.gph-unified-shell .menu-toggle {
    position: relative !important;
    display: block !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(250, 246, 238, .16) !important;
    border-radius: 14px !important;
    background: rgba(250, 246, 238, .065) !important;
    box-shadow: inset 0 1px 0 rgba(250, 246, 238, .12) !important;
    cursor: pointer;
    z-index: 4 !important;
  }

  body.gph-unified-shell .menu-toggle span {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--gph-shell-ivory) !important;
    transform-origin: center !important;
    transition: transform var(--gph-shell-base) var(--gph-shell-ease),
      opacity var(--gph-shell-fast) ease !important;
  }

  body.gph-unified-shell .menu-toggle span:nth-child(1) {
    transform: translate(-50%, -7px) !important;
  }

  body.gph-unified-shell .menu-toggle span:nth-child(2) {
    transform: translate(-50%, -1px) !important;
  }

  body.gph-unified-shell .menu-toggle span:nth-child(3) {
    transform: translate(-50%, 5px) !important;
  }

  body.gph-unified-shell .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translate(-50%, -1px) rotate(45deg) !important;
  }

  body.gph-unified-shell .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0 !important;
    transform: translate(-50%, -1px) scaleX(.25) !important;
  }

  body.gph-unified-shell .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translate(-50%, -1px) rotate(-45deg) !important;
  }

  body.gph-unified-shell .site-nav,
  body.gph-unified-shell .site-header:not(.nav-open) .site-nav {
    display: none !important;
  }

  body.gph-unified-shell .site-header.nav-open .site-nav {
    position: absolute !important;
    inset: calc(100% + 8px) 12px auto !important;
    z-index: 1100 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - 82px) !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border: 1px solid rgba(217, 186, 98, .22) !important;
    border-radius: 18px !important;
    background: rgba(26, 23, 40, .985) !important;
    box-shadow: 0 26px 72px rgba(4, 3, 12, .42),
      inset 0 1px 0 rgba(250, 246, 238, .09) !important;
    backdrop-filter: blur(24px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  }

  body.gph-unified-shell .site-header.nav-open .site-nav > a,
  body.gph-unified-shell .site-header.nav-open .nav-drop > button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--gph-shell-ivory) !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.gph-unified-shell .site-header.nav-open .site-nav > a:hover,
  body.gph-unified-shell .site-header.nav-open .site-nav > a:focus-visible,
  body.gph-unified-shell .site-header.nav-open .site-nav > a[aria-current="page"],
  body.gph-unified-shell .site-header.nav-open .nav-drop > button:hover,
  body.gph-unified-shell .site-header.nav-open .nav-drop > button:focus-visible,
  body.gph-unified-shell .site-header.nav-open .nav-drop > button.is-current {
    background: rgba(250, 246, 238, .07) !important;
    color: var(--gph-shell-gold-hi) !important;
    box-shadow: none !important;
  }

  body.gph-unified-shell .site-header.nav-open .nav-drop {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
  }

  body.gph-unified-shell .site-header.nav-open .nav-menu,
  body.gph-unified-shell .site-header.nav-open .nav-menu-wide {
    position: static !important;
    inset: auto !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 2px 0 6px !important;
    padding: 6px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 1px solid rgba(250, 246, 238, .09) !important;
    border-radius: 13px !important;
    background: rgba(250, 246, 238, .045) !important;
    box-shadow: inset 0 1px 0 rgba(250, 246, 238, .05) !important;
    transform: none !important;
  }

  body.gph-unified-shell .site-header.nav-open .nav-drop.open > .nav-menu,
  body.gph-unified-shell .site-header.nav-open .nav-drop.open > .nav-menu-wide {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  body.gph-unified-shell .site-header.nav-open .nav-menu a,
  body.gph-unified-shell .site-header.nav-open .nav-menu-wide a {
    min-height: 40px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    font-size: .81rem !important;
  }
}

@media (max-width: 820px) {
  body.gph-unified-shell .site-footer .footer-grid {
    grid-template-columns: 1.25fr 1fr !important;
  }
}

@media (max-width: 720px) {
  body.gph-unified-shell .site-header .header-inner,
  body.gph-unified-shell .site-footer .shell {
    width: calc(100% - 36px) !important;
  }

  body.gph-unified-shell .site-footer {
    padding-top: 54px !important;
  }

  body.gph-unified-shell .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body.gph-unified-shell .site-footer .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 36px !important;
  }
}

@media (max-width: 390px) {
  body.gph-unified-shell .site-header .header-inner,
  body.gph-unified-shell .site-footer .shell {
    width: calc(100% - 32px) !important;
  }

  body.gph-unified-shell .site-header.nav-open .site-nav {
    inset-inline: 8px !important;
    padding: 8px !important;
  }

  body.gph-unified-shell .site-header.nav-open .site-nav > a,
  body.gph-unified-shell .site-header.nav-open .nav-drop > button {
    min-height: 44px !important;
    padding: 9px 10px !important;
    font-size: .87rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.gph-unified-shell .site-header *,
  body.gph-unified-shell .site-footer * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
/* =====================================================================
   SITE-WIDE VISUAL CANON - 2026-08-26
   Brand lock + eyebrow lock.
   ===================================================================== */

/* Canonical public header brand: logo with God's Plan immediately to its right. */
body.gph-unified-shell .site-header .brand {
  gap: 10px !important;
  min-width: max-content !important;
  text-decoration: none !important;
}

body.gph-unified-shell .site-header .brand::after {
  content: "God's Plan";
  display: inline-block;
  color: var(--gph-shell-ivory) !important;
  font-family: var(--gph-display, "Sora", "Segoe UI", system-ui, sans-serif);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
  transition: color var(--gph-shell-base) var(--gph-shell-ease);
}

body.gph-unified-shell .site-header .brand:hover::after,
body.gph-unified-shell .site-header .brand:focus-visible::after {
  color: var(--gph-shell-gold-hi) !important;
}

/* Eyebrows are not a page/section decoration. Keep them only when nested in a card. */
body.gph-unified-shell main .eyebrow {
  display: none !important;
}

body.gph-unified-shell main [class*="card"] .eyebrow {
  display: revert !important;
}

@media (max-width: 1080px) {
  body.gph-unified-shell .site-header .brand {
    gap: 8px !important;
  }

  body.gph-unified-shell .site-header .brand::after {
    font-size: .82rem;
  }
}

@media (max-width: 430px) {
  body.gph-unified-shell .site-header .brand::after {
    font-size: .76rem;
    letter-spacing: -.015em;
  }
}
