/* The off-canvas navigation panel is translated outside the viewport; without clipping it
   extends the document width, so every page scrolled sideways on phones and tablets.
   This is the one line that stopped the whole site overflowing (23 Nov 2026). */
html,body{overflow-x:hidden}

/* One accent, on verbs only. Loaded after nav.css and the page stylesheet. */

/* Headings never carry the accent. Emphasis is weight or italic. */
h1, h2, h3, h4, h5, h6 { color: #FFF3E3 !important; }
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * { color: inherit !important; }

/* Inline gold on labels, dates and non-action text becomes the quiet cream. */
[style*="color:#DAAF37"],
[style*="color: #DAAF37"],
[style*="color:#C9A227"],
[style*="color: #C9A227"] { color: rgba(255, 243, 227, 0.62) !important; }

/* Static links in the page and footer are neutral. Action links keep the accent. */
main a:not(.action-link):not(.btn-gold):not(.btn-outline):not(.gold-outline-btn),
footer a:not(.action-link):not(.btn-gold):not(.btn-outline):not(.gold-outline-btn) {
  color: rgba(255, 243, 227, 0.72) !important;
}
main a:not(.action-link):not(.btn-gold):not(.btn-outline):not(.gold-outline-btn):hover,
footer a:not(.action-link):not(.btn-gold):not(.btn-outline):not(.gold-outline-btn):hover {
  color: #FFF3E3 !important;
}
a.action-link,
a.action-link:visited { color: #DAAF37 !important; }
a.action-link:hover { color: #FFF3E3 !important; }
a.action-link[style] { color: #DAAF37 !important; }
.btn-outline[style], .gold-outline-btn[style] { color: #DAAF37 !important; }

/* Gold utility classes used on icons, labels and spans. Action links and buttons are exempt. */
[class*="text-ghee-gold"] { color: rgba(255, 243, 227, 0.62) !important; }
a.action-link[class*="text-ghee-gold"] { color: #DAAF37 !important; }

/* Small metadata and kickers are facts, not actions. */
.hm-kicker,
.cs-n,
.svc-gk,
.pf-kicker,
.pf-season,
.pf-n,
.s1-kicker,
.kicker,
.eyebrow,
[class*="kicker"],
[class*="eyebrow"] { color: rgba(255, 243, 227, 0.52) !important; }

/* Decorative gold rules become cream hairlines. */
.gold-line { border-color: rgba(244, 239, 228, 0.18) !important; }
.footer-tagline { color: rgba(255, 243, 227, 0.6) !important; }

/* The case-card meta line. Year, event or venue, city. No badges. */
.card-meta {
  margin: 0.65rem 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 243, 227, 0.52);
}

/* Tailwind utility colours on case-study pages: keep action buttons exempt. */
[class*="border-ghee-gold"]:not(.action-link):not(.btn-gold):not(.btn-outline):not(.gold-outline-btn) {
  border-color: rgba(244, 239, 228, 0.14) !important;
}
[class*="bg-ghee-gold"]:not(.btn-gold):not(.gmp-cta) {
  background-color: rgba(244, 239, 228, 0.04) !important;
}

/* Decorative gold gradients on case-study pages become cream. */
.from-ghee-gold { --tw-gradient-from: #F4EFE4 !important; --tw-gradient-to: rgba(244, 239, 228, 0) !important; }

/* Phase 5: shared footer icon and social spacing. */
.footer-envelope { color: rgba(255, 243, 227, 0.62); width: 1.2rem; }
.footer-social { margin-top: 0.5rem; }
