/* =====================================================================
   PPPWORLD — SHARED SITE HEADER ("GLOBE OF CAPITAL" STYLE)
   Extracted from the new front page so every page shares one nav.
   The nav is FIXED: it descends with the user as they scroll.
   - On the home page (transparent over the globe hero) use:  .gx-nav
   - On interior/light pages use:                             .gx-nav.gx-solid
     (always keeps the deep-navy plate so it reads over light content)
   Pages using the fixed nav should add class "gx-pad" to <body> so the
   content is not hidden underneath (the home hero is 100svh, so the
   home page does NOT need it).
   ===================================================================== */

:root {
  --gx-night: #0a0a0c;
  --gx-hair: rgba(201, 160, 82, 0.16);
  --gx-gold: #c9a052;
  --gx-gold-pale: #f1e4bf;
  --gx-paper: #efece5;
  --gx-paper-dim: #9a938a;
  --gx-serif: "Playfair Display", Georgia, serif;
  --gx-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gx-shell {
  width: min(1560px, 100% - clamp(64px, 9vw, 200px));
  margin-inline: auto;
}

/* ---------- nav plate ---------- */
.gx-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 3.4vw, 60px);
  transition: background .4s ease, box-shadow .4s ease, padding .35s ease;
}
.gx-nav.is-scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gx-hair);
  padding-block: 13px;
}

/* solid variant for interior pages with light backgrounds:
   the plate is always navy, and only condenses on scroll */
.gx-nav.gx-solid {
  background: var(--gx-night);
  box-shadow: 0 1px 0 var(--gx-hair);
}
.gx-nav.gx-solid.is-scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* offset so fixed nav doesn't cover page content on interior pages */
body.gx-pad { padding-top: 79px; }

/* ---------- brand ---------- */
.gx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gx-brand img {
  width: 34px; height: 34px; object-fit: contain; border-radius: 50%;
  border: 0;
}
.gx-brand strong {
  font-family: "Didot","GFS Didot","Bodoni MT","Bodoni 72","Hoefler Text",Georgia,serif; font-size: 21px; font-weight: 700;
  letter-spacing: .02em; color: var(--gx-paper);
}
.gx-brand small {
  display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gx-gold); margin-top: 2px;
  font-family: var(--gx-sans);
}

/* ---------- links ---------- */
.gx-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.gx-links a, .gx-links button {
  appearance: none; background: none; border: 0; cursor: pointer; padding: 0;
  font: 600 11px/1 var(--gx-sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gx-paper); text-decoration: none; position: relative;
}
.gx-links a::after, .gx-links button::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px;
  background: var(--gx-gold); transform: scaleX(0); transform-origin: right center;
  transition: transform .45s cubic-bezier(.19,1,.22,1);
}
.gx-links a:hover::after, .gx-links button:hover::after {
  transform: scaleX(1); transform-origin: left center;
}

/* current page indicator */
.gx-links a.active { color: var(--gx-gold); }
.gx-links a.active::after { transform: scaleX(1); }

/* contact CTA */
.gx-links .gx-cta-mini {
  border: 1px solid var(--gx-hair); padding: 10px 16px; color: var(--gx-gold-pale);
  transition: border-color .3s ease, color .3s ease;
}
.gx-links .gx-cta-mini::after { display: none; }
.gx-links .gx-cta-mini:hover { border-color: var(--gx-gold); color: var(--gx-gold); }
.gx-links .gx-cta-mini.active { border-color: var(--gx-gold); color: var(--gx-gold); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .gx-links a:not(.gx-keep) { display: none; }
  body.gx-pad { padding-top: 71px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .gx-nav,
  .gx-links a::after,
  .gx-links button::after { transition: none; }
}

/* =====================================================================
   SHARED SITE FOOTER — one consistent footer on every interior page,
   matched to the front-page .gx-footer. Overrides styles.css so the
   footer looks and fits the same everywhere (no rosette, no full-bleed).
   ===================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--gx-night) !important;
  background-image: none !important;
  border-top: 1px solid var(--gx-hair) !important;
  color: var(--gx-paper);
  padding: clamp(56px, 8vh, 100px) clamp(20px, 6vw, 120px) 38px !important;
}

.gx-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--gx-night);
  background-image:
    radial-gradient(680px 260px at 50% 118%, rgba(201,160,82,.13), transparent 72%),
    linear-gradient(180deg, #121214 0%, #0a0a0c 60%, #0a0a0c 100%);
  color: var(--gx-paper);
  border-top: 1px solid rgba(216,192,140,.22);
  padding: clamp(60px, 9vh, 110px) 0 40px;
}
.gx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a052, transparent);
  pointer-events: none;
}
.gx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  max-width: 1560px;
  margin-inline: auto;
}
.gx-footer-brand { font-family: var(--gx-serif); font-weight: 700; font-size: 24px; }
.gx-footer-brand small {
  display: block;
  margin-top: 8px;
  font-family: var(--gx-sans);
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gx-gold);
}
.gx-fcol-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gx-paper-dim);
  margin-bottom: 18px;
}
.gx-footer-grid a {
  display: block;
  color: var(--gx-paper);
  text-decoration: none;
  font-size: 14px;
  line-height: 2.15;
  width: fit-content;
}
.gx-footer-grid a:hover { color: var(--gx-gold); }
.gx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1560px;
  margin: 60px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--gx-hair-soft);
  font-size: 12px;
  color: var(--gx-paper-dim);
}
.gx-footer-bottom .socials { display: flex; gap: 18px; }
.gx-footer-bottom .socials a {
  color: var(--gx-paper-dim) !important;
  text-decoration: none;
}
.gx-footer-bottom .socials i { font-size: 18px; color: var(--gx-paper-dim); }
.gx-footer-bottom .socials a i { color: var(--gx-paper-dim) !important; }
.gx-footer-bottom .socials a:hover i { color: var(--gx-gold); }

@media (max-width: 760px) {
  .gx-footer-grid { grid-template-columns: 1fr 1fr; }
}
/* drop the decorative sweep + guilloché rosette so it matches index */
.site-footer::before,
.site-footer::after { content: none !important; display: none !important; }

.footer-grid {
  max-width: 1560px;
  margin-inline: auto;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 70px) !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: 14px;
}
.footer-col-title {
  font-family: var(--gx-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gx-paper-dim);
  margin-bottom: 16px;
}
.footer-col-body { color: var(--gx-paper); line-height: 2.1; }
a.footer-link,
.footer-link { color: var(--gx-paper); line-height: 2.1; }
.footer-link:hover { color: var(--gx-gold); }

.footer-bottom {
  max-width: 1560px;
  margin: 56px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--gx-hair-soft);
  color: var(--gx-paper-dim);
  font-size: 12px;
}
.footer-icons { gap: 18px; }
.footer-icons i { color: var(--gx-paper-dim); font-size: 18px; }
.footer-icons a:hover i,
.footer-icons i:hover { color: var(--gx-gold); opacity: 1; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
