/* AXIOM supplementary utilities — defines standard Tailwind utilities that the
   precompiled bundle (Layout.DjRQ4-cB-v2.css) does not include.
   Brand colours: --brand-dark #0f2a24 = rgb(15 42 36); --accent #c8a951 = rgb(200 169 81). */

/* ---- aspect ratios ---- */
.aspect-square{aspect-ratio:1/1}
.aspect-\[4\/5\]{aspect-ratio:4/5}
.aspect-\[16\/9\]{aspect-ratio:16/9}
.aspect-\[21\/9\]{aspect-ratio:21/9}

/* ---- shadow ---- */
.shadow-xl{box-shadow:0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1)}

/* ---- gradients (Tailwind v3 stop-chain semantics) ---- */
:root{--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%}
.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}
.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}
.from-brand-dark\/70{--tw-gradient-from:rgba(15,42,36,.7) var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,42,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-brand-dark\/75{--tw-gradient-from:rgba(15,42,36,.75) var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,42,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-brand-dark\/80{--tw-gradient-from:rgba(15,42,36,.8) var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,42,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.from-brand-dark\/85{--tw-gradient-from:rgba(15,42,36,.85) var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,42,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.via-brand-dark\/10{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.1) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.via-brand-dark\/25{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.25) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.via-brand-dark\/40{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.4) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.via-brand-dark\/60{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.6) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.via-brand-dark\/65{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.65) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}
.to-brand-dark\/90{--tw-gradient-to:rgba(15,42,36,.9) var(--tw-gradient-to-position)}

/* ---- layout ---- */
@media (min-width:640px){.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}
@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1024px){
.lg\:block{display:block}
.lg\:sticky{position:sticky}
.lg\:top-24{top:6rem}
.lg\:text-2xl{font-size:1.5rem;line-height:2rem}
.lg\:p-6{padding:1.5rem}
.lg\:p-10{padding:2.5rem}
.lg\:gap-6{gap:1.5rem}
.lg\:gap-10{gap:2.5rem}
.lg\:grid-cols-\[20rem_1fr\]{grid-template-columns:20rem minmax(0,1fr)}
.lg\:grid-cols-\[minmax\(0\,1fr\)_20rem\]{grid-template-columns:minmax(0,1fr) 20rem}
}
.gap-x-12{column-gap:3rem}
.gap-y-4{row-gap:1rem}
.mt-auto{margin-top:auto}
.pb-0{padding-bottom:0}
.pb-1{padding-bottom:.25rem}
.border-2{border-width:2px}
.bottom-3{bottom:.75rem}
.left-4{left:1rem}

/* ---- colours ---- */
.text-white\/85{color:rgba(255,255,255,.85)}
.text-gray-500{color:rgb(107,114,128)}
.bg-accent\/90{background-color:rgba(200,169,81,.9)}
.decoration-accent\/70{text-decoration-color:rgba(200,169,81,.7)}

/* ---- text / misc ---- */
.text-\[10px\]{font-size:10px;line-height:14px}
.hover\:underline:hover{text-decoration-line:underline}
.hover\:no-underline:hover{text-decoration-line:none}
.hover\:text-accent-light:hover{color:var(--color-accent-light,#d4b86b)}
@media (min-width:1024px){.lg\:gap-14{gap:3.5rem}}

/* ---- hero text contrast: hero-subtitle/hero-copy are styled for light
   backgrounds; inside dark heroes they must be light ---- */
.hero .hero-subtitle{color:rgba(255,255,255,.85)}
.hero .hero-copy{color:rgba(255,255,255,.88)}
.text-white\/90{color:rgba(255,255,255,.9)}

/* ---- hero-actions: layout for CTA rows ---- */
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}

/* ---- button classes are colour-only in the bundle; give them shape ---- */
.btn-primary,.btn-accent,.btn-secondary{
display:inline-block;text-align:center;font-weight:600;
padding:.875rem 1.75rem;border-radius:9999px;line-height:1.25;
font-size:1rem;transition:background-color .2s,color .2s}

/* ---- hero CTA row stays centered inside heroes; left-aligned elsewhere ---- */
.hero .hero-actions{justify-content:center}
/* ---- aesthetic polish (local) ---- */
/* CTA bands: light-surface variant must stay readable */
.cta-band.bg-surface-elevated {
  background: linear-gradient(180deg, var(--color-surface-elevated, #fff) 0%, #f6f3ec 100%);
  border-top: 1px solid rgba(23, 61, 53, 0.08);
  border-bottom: 1px solid rgba(23, 61, 53, 0.08);
}
.cta-band.bg-surface-elevated #cta-title,
.cta-band.bg-surface-elevated h2,
.cta-band.bg-surface-elevated .font-serif {
  color: var(--color-brand, #173d35) !important;
}
.cta-band.bg-surface-elevated p,
.cta-band.bg-surface-elevated .text-white\/80,
.cta-band.bg-surface-elevated .text-white {
  color: var(--color-text-secondary, #4a4a4a) !important;
}
.cta-band.bg-surface-elevated .kicker,
.cta-band.bg-surface-elevated .kicker-on-dark {
  color: var(--color-accent-ink, #856a20) !important;
}
.cta-band.bg-surface-elevated .hero-actions { justify-content: center; }

/* Long-form rhythm (insights/guides) */
.article-prose .article-body p.kicker {
  margin-bottom: .75rem;
}
.article-prose .article-body > h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.25;
  margin-top: .25rem;
  margin-bottom: 1.25rem;
}
.article-prose .article-body h3 {
  margin-top: 2rem;
  padding-top: .25rem;
}
.article-prose .article-body ul,
.article-prose .article-body ol {
  margin-bottom: 1.4rem;
}
.article-prose .article-body li {
  line-height: 1.7;
}
.article-prose .article-body .article-callout {
  margin: 2rem 0;
  box-shadow: 0 1px 0 rgba(23,61,53,.04);
}
.author-bio {
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

/* FAQ and related blocks for visual consistency */
.faq-block {
  background: var(--color-surface-elevated, #fff);
  padding: 1rem 0 2.5rem;
}
.faq-block .article-body h2 {
  font-family: var(--font-serif);
  color: var(--color-brand, #173d35);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.faq-block .article-body h3 {
  font-family: var(--font-serif);
  color: var(--color-brand, #173d35);
  font-size: 1.15rem;
  margin: 1.5rem 0 .5rem;
}
.faq-block .article-body p {
  color: var(--color-text-secondary, #4a4a4a);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.related-insights {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem 0 !important;
}
.related-insights h2 {
  font-family: var(--font-serif);
  color: var(--color-brand, #173d35);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.related-insights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.related-insights li a {
  display: block;
  padding: .9rem 1rem;
  background: var(--color-surface-elevated, #fff);
  border: 1px solid rgba(23,61,53,.1);
  border-radius: .75rem;
  color: var(--color-brand, #173d35);
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related-insights li a:hover {
  border-color: rgba(200,169,81,.55);
  box-shadow: 0 8px 20px -12px rgba(15,42,36,.35);
  transform: translateY(-1px);
}

/* Subtle card and section refinement */
.section-soft {
  background: linear-gradient(180deg, #fbfaf7 0%, #f7f4ee 100%);
}
.card {
  border-color: rgba(23,61,53,.08);
}
.matter.card:hover, .card.card-interactive:hover {
  border-color: rgba(200,169,81,.35);
}

/* Header/nav polish */
.site-header {
  box-shadow: 0 1px 0 rgba(23,61,53,.04);
}
.brand-line {
  letter-spacing: .12em;
}

/* Cookie banner less intrusive, more premium */
.cookie-banner {
  border-top: 1px solid rgba(23,61,53,.12);
  background: rgba(255,255,255,.98);
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  border-radius: 9999px;
  padding: .55rem 1rem;
}

@media (max-width: 640px) {
  .hero-copy { font-size: 1rem; }
  .related-insights { padding-top: 1.5rem !important; }
}
/* ---- typography & font polish ---- */
:root {
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "IBM Plex Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-sans);
  font-feature-settings: "liga" 1, "kern" 1;
  letter-spacing: 0.003em;
}
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  font-feature-settings: "liga" 1, "kern" 1;
}
h1 { letter-spacing: -0.02em; line-height: 1.1; }
h2 { letter-spacing: -0.015em; line-height: 1.18; }
h3 { letter-spacing: -0.01em; line-height: 1.25; }
.kicker, .kicker-on-dark, .nav-dropdown-heading {
  letter-spacing: 0.12em;
  font-weight: 600;
}
.hero-subtitle {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 0.95rem; } }
.hero-copy {
  font-size: 1.05rem;
  line-height: 1.75;
}
p, li { line-height: 1.7; }
.brand-mark { letter-spacing: -0.01em; }
.brand-line {
  letter-spacing: 0.14em;
  font-weight: 700;
}
.btn, .btn-primary, .btn-accent, .btn-secondary, button, input, select, textarea {
  font-family: var(--font-sans);
}
.article-prose .article-body {
  font-size: 1.075rem;
  line-height: 1.8;
}
.article-prose .article-body h2,
.article-prose .article-body h3 {
  letter-spacing: -0.012em;
}
.site-footer p, .site-footer li, .site-footer a { line-height: 1.7; }
/* ---- nav/dropdown fixes ---- */
/* Keep top-level underline effect off dropdown and mobile menu items */
.nav-links .nav-dropdown-menu a,
.nav-links .nav-dropdown-menu a:hover,
.mobile-nav a {
  padding: initial;
}
.nav-links .nav-dropdown-menu a {
  padding: 6px 8px !important;
  position: relative;
}
.nav-links .nav-dropdown-menu a::after,
.nav-links .nav-dropdown-menu a:hover::after,
.mobile-nav a::after,
.mobile-nav a:hover::after {
  display: none !important;
  transform: none !important;
}
/* Ensure the "All Advisory" link keeps its own spacing/border without underline artifact */
.nav-links .nav-dropdown-menu .nav-dropdown-all {
  padding: 10px 0 4px !important;
}
/* Search results positioning/visibility polish */
.site-search .search-results {
  max-height: 22rem;
  overflow: auto;
}
/* ---- search fixes ---- */
.site-search { position: relative; }
.site-search .search-results {
  z-index: 300 !important;
  display: block;
}
.site-search .search-results.hidden {
  display: none !important;
}
.mobile-nav .site-search .search-results {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin-top: .5rem;
  width: 100%;
  box-shadow: 0 8px 24px -8px rgba(15,42,36,.2);
}
.mobile-nav { overflow-x: hidden; }
/* ---- landing page section refinements ---- */
.why-axiom-section .why-card-media img,
.why-axiom-section .why-feature-figure > img {
  filter: saturate(0.88) contrast(1.03) brightness(0.98);
}
.why-axiom-section .why-card:hover .why-card-media img,
.why-axiom-section .why-feature-figure:hover > img {
  filter: saturate(0.96) contrast(1.04) brightness(1);
}
.why-axiom-section .why-media-overlay {
  background: linear-gradient(to top, rgba(15,42,36,.82) 0%, rgba(15,42,36,.28) 45%, rgba(15,42,36,.08) 100%);
}
.why-axiom-section .why-card {
  border: 1px solid rgba(23,61,53,.08);
}
.oldc-section .oldc-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}
.succ-section .succ-bg-pattern {
  background:
    radial-gradient(circle at 15% 20%, rgba(200,169,81,.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(23,61,53,.08), transparent 24%),
    linear-gradient(180deg, rgba(247,244,238,.7), rgba(247,244,238,.2));
}
.succ-section .succ-card {
  background: rgba(255,255,255,.92);
}
.insights-section .btn-secondary,
.expertise-section .card {
  border-color: rgba(23,61,53,.1);
}
.expertise-section .expertise-item:hover {
  border-color: rgba(200,169,81,.35);
  box-shadow: 0 12px 28px -16px rgba(15,42,36,.3);
}
@media (max-width: 1023px) {
  .oldc-section .oldc-panel { padding: 1.25rem; }
}
/* ---- extra landing polish ---- */
.hero .hero-copy { max-width: 52rem; margin-left: auto; margin-right: auto; }
.hero .hero-actions .btn { box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); }
.section { scroll-margin-top: 6rem; }
.section-header h2 { letter-spacing: -0.015em; }
.section-header .kicker { letter-spacing: .14em; }
.why-axiom-section .why-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.why-axiom-section .why-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(15,42,36,.28); border-color: rgba(200,169,81,.28); }
.oldc-section .oldc-price { border-radius: 1rem; }
.succ-section .succ-card { border: 1px solid rgba(23,61,53,.08); }
.insights-section .insights-preview { padding-top: .25rem; }
.expertise-section .expertise-item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.expertise-section .expertise-item:hover { transform: translateY(-2px); }
.cta-band .hero-actions .btn { min-width: 13rem; }
@media (min-width: 1024px) {
  .why-axiom-section .section-header,
  .oldc-section .section-header,
  .expertise-section .section-header { margin-bottom: 3rem; }
}
/* ---- expertise section refinement ---- */
.expertise-section.section-soft {
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f1ea 100%);
}
.expertise-section .expertise-item h3 { letter-spacing: -0.01em; }
.expertise-section .expertise-item a { text-decoration: none; }
/* ---- counsel profile: verified bar record visibility ---- */
.hero .hero-copy a,
.hero p.text-white\/85 a {
  color: var(--color-accent-light, #d4b86b) !important;
  text-decoration: underline;
  text-decoration-color: rgba(212, 184, 107, 0.7);
  text-underline-offset: 2px;
  font-weight: 600;
}
.hero .hero-copy a:hover,
.hero p.text-white\/85 a:hover {
  color: #fff3c4 !important;
  text-decoration-color: #fff3c4;
}
/* ---- footer tightening ---- */
.site-footer .container-custom {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}
@media (min-width: 1024px) {
  .site-footer .container-custom {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}
.site-footer .footer-grid {
  gap: 1.75rem !important;
}
@media (min-width: 1024px) {
  .site-footer .footer-grid {
    gap: 2.5rem !important;
  }
}
.site-footer .footer-brand { margin-bottom: 1rem !important; }
.site-footer h3 { margin-bottom: 0.75rem !important; font-size: 1rem !important; }
.site-footer p, .site-footer li, .site-footer a { line-height: 1.55; }
.site-footer nav ul.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.site-footer address.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.site-footer .footer-legal {
  margin-top: 2rem !important;
  padding-top: 1.25rem !important;
}

/* ---- compact layout overrides (experimental copy) ---- */
.section{padding-top:3rem;padding-bottom:3rem}
@media (min-width:640px){.section{padding-top:3.5rem;padding-bottom:3.5rem}}
@media (min-width:1024px){.section{padding-top:4rem;padding-bottom:4rem}}
.hero.pt-20{padding-top:3.5rem !important}
.hero.pb-20{padding-bottom:3rem !important}
@media (min-width:1024px){
  .hero.lg\:pt-32{padding-top:5rem !important}
  .hero.lg\:pb-32{padding-bottom:4rem !important}
}
.hero .hero-actions{margin-top:1.25rem !important}
.hero .hero-copy{margin-top:0.75rem}
.section-header.mb-12{margin-bottom:1.75rem !important}
@media (min-width:1024px){.section-header.lg\:mb-16{margin-bottom:2rem !important}}
.card.p-6{padding:1.1rem}
@media (min-width:1024px){.card.lg\:p-8,.aside-panel.lg\:p-8{padding:1.35rem !important}}
.gap-12{gap:1.75rem}
@media (min-width:1024px){.lg\:gap-16{gap:2rem}.lg\:gap-12{gap:2rem}}
.cta-band .py-16{padding-top:2.5rem !important;padding-bottom:2.5rem !important}
@media (min-width:1024px){.cta-band .lg\:py-24{padding-top:3rem !important;padding-bottom:3rem !important}}
h1{font-size:clamp(2rem,4vw,3rem)}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
main{padding-top:4.25rem}

/* extra compact tweaks */
.site-header .nav{padding-top:0.35rem;padding-bottom:0.35rem}
.nav-links a{padding:18px 0}
.nav-links a:after{bottom:12px}
.site-footer .container-custom.py-16{padding-top:2.5rem !important;padding-bottom:2.5rem !important}
@media (min-width:1024px){.site-footer .container-custom.lg\:py-24{padding-top:3rem !important;padding-bottom:3rem !important}}
.site-footer .gap-8{gap:1.25rem}
.site-footer .mt-12{margin-top:1.5rem !important}
.site-footer .pt-8{padding-top:1.25rem !important}
form.space-y-6 > :not([hidden]) ~ :not([hidden]){margin-top:0.85rem}
.article-prose .article-body h2{margin-top:1.75rem;margin-bottom:0.75rem}
.article-prose .article-body h3{margin-top:1.25rem}

/* ---- color consistency overrides ---- */
:root, :host {
  --color-brand: #173d35 !important;
  --color-brand-light: #1f5a50 !important;
  --color-brand-dark: #0f2a24 !important;
  --color-accent: #c8a951 !important;
  --color-accent-light: #d9be73 !important;
  --color-accent-ink: #7a5f1a !important;
  --color-gold: #c8a951 !important;
  --color-gold-light: #d9be73 !important;
  --color-surface: #fbfaf7 !important;
  --color-surface-elevated: #ffffff !important;
  --color-text-primary: #18201e !important;
  --color-text-secondary: #4a5552 !important;
  --color-text-muted: #6b7572 !important;
  --color-ivory: #f7f1e7 !important;
  --color-paper: #fffaf1 !important;
  --color-charcoal: #101214 !important;
}

/* normalize accent/gold usage */
.bg-accent, .bg-accent\/90 { background-color: var(--color-accent) !important; }
.bg-accent\/10 { background-color: rgba(200,169,81,0.10) !important; }
.text-accent, .text-accent-ink { color: var(--color-accent-ink) !important; }
.text-accent-light, .kicker-on-dark, .hover\:text-accent-light:hover { color: var(--color-accent-light) !important; }
.border-accent, .border-accent\/50 { border-color: rgba(200,169,81,0.50) !important; }
.ring-accent { --tw-ring-color: var(--color-accent) !important; }
a:hover { color: var(--color-accent-ink); }

/* normalize brand/surface/text */
.bg-brand { background-color: var(--color-brand) !important; }
.bg-brand-dark { background-color: var(--color-brand-dark) !important; }
.text-brand { color: var(--color-brand) !important; }
.text-brand-dark { color: var(--color-brand-dark) !important; }
.text-text-primary { color: var(--color-text-primary) !important; }
.text-text-secondary { color: var(--color-text-secondary) !important; }
.text-text-muted { color: var(--color-text-muted) !important; }
.bg-surface-elevated, .section-soft { background-color: var(--color-surface-elevated) !important; }
body { background-color: var(--color-surface) !important; color: var(--color-text-primary) !important; }
.kicker { color: var(--color-accent-ink) !important; }

/* consistent borders/dividers */
.site-header { border-bottom-color: rgba(200,169,81,0.22) !important; }
.card, .matter.card { border-color: rgba(23,61,53,0.10) !important; }
.border-gray-100 { border-color: rgba(23,61,53,0.08) !important; }
.border-gray-200 { border-color: rgba(23,61,53,0.12) !important; }
.nav-dropdown-menu, .dropdown-menu { border-color: rgba(23,61,53,0.14) !important; background: rgba(255,250,241,0.98) !important; }

/* buttons */
.btn-primary { background-color: var(--color-brand) !important; color: #fff !important; }
.btn-primary:hover { background-color: var(--color-brand-light) !important; }
.btn-accent, .btn.bg-accent { background-color: var(--color-accent) !important; color: var(--color-brand-dark) !important; }
.btn-accent:hover, .btn.bg-accent:hover { background-color: var(--color-accent-light) !important; color: var(--color-brand-dark) !important; }
.btn-secondary { border-color: var(--color-brand) !important; color: var(--color-brand) !important; background: #fff !important; }

/* footer consistency */
.site-footer { background-color: var(--color-charcoal) !important; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(247,241,231,0.78); }
.site-footer a:hover { color: var(--color-gold-light) !important; }

/* stronger neutral consistency */
.bg-gray-50 { background-color: #fbfaf7 !important; }
.bg-gray-100 { background-color: #f1f3f1 !important; }
.border-gray-100 { border-color: rgba(23,61,53,0.08) !important; }
.border-gray-200 { border-color: rgba(23,61,53,0.12) !important; }
.text-gray-500 { color: var(--color-text-muted) !important; }
.section.section-soft, .bg-surface-elevated { background-color: #ffffff !important; }
.section:not(.section-soft):not(.cta-band):not(.hero) { background-color: #fbfaf7; }
.hero.bg-brand, .cta-band.bg-brand { background-color: var(--color-brand) !important; }
input, textarea, select { background-color: #ffffff !important; border-color: rgba(23,61,53,0.14) !important; color: var(--color-text-primary) !important; }
input::placeholder, textarea::placeholder { color: var(--color-text-muted) !important; }
.site-search input { background: #ffffff !important; border-color: rgba(23,61,53,0.14) !important; }

/* header consistency */
.site-header {
  background-color: rgba(247,241,231,0.92) !important;
  border-bottom: 1px solid rgba(200,169,81,0.22) !important;
}
.site-header .brand-mark { color: var(--color-charcoal) !important; }
.site-header .brand-line { color: var(--color-brand) !important; }
.nav-links a, .mobile-nav a, .nav-dropdown > a { color: var(--color-text-secondary) !important; }
.nav-links a:hover, .nav-links a[aria-current="page"], .mobile-nav a:hover, .nav-dropdown:hover > a, .nav-dropdown.active > a {
  color: var(--color-brand) !important;
}
.nav-links a:after { background: var(--color-accent) !important; }
.nav-dropdown-menu, .mobile-nav {
  background: #ffffff !important;
  border-color: rgba(23,61,53,0.10) !important;
}
.nav-dropdown-menu a, .mobile-nav .text-text-secondary { color: var(--color-text-secondary) !important; }
.nav-dropdown-menu a:hover, .mobile-nav a:hover { color: var(--color-brand) !important; background: #fbfaf7 !important; }
.nav-dropdown-heading { color: var(--color-accent-ink) !important; }
.nav-dropdown-all { color: var(--color-brand) !important; border-top-color: rgba(23,61,53,0.10) !important; }
.site-search input, .mobile-nav .site-search input {
  background: #ffffff !important;
  border-color: rgba(23,61,53,0.14) !important;
  color: var(--color-text-primary) !important;
}
.site-search input:focus, .mobile-nav .site-search input:focus {
  border-color: rgba(200,169,81,0.78) !important;
  box-shadow: 0 0 0 4px rgba(200,169,81,0.14) !important;
}
.search-results { background: #ffffff !important; border-color: rgba(23,61,53,0.10) !important; }
.menu-toggle span { background-color: var(--color-brand) !important; }
.lead-bar, .lead-bar[data-astro-cid-ju4pidww] { background: rgba(255,255,255,0.98) !important; border-top-color: rgba(200,169,81,0.22) !important; }
.lead-bar-call, .lead-bar-call[data-astro-cid-ju4pidww] { background: var(--color-brand) !important; color: #fff !important; }
.lead-bar-wa, .lead-bar-wa[data-astro-cid-ju4pidww] { background: var(--color-accent) !important; color: var(--color-brand-dark) !important; }

/* footer consistency (explicit) */
.site-footer {
  background-color: #101214 !important;
  color: rgba(247,241,231,0.78) !important;
  border-top: 1px solid rgba(200,169,81,0.18);
}
.site-footer h2, .site-footer h3, .site-footer .font-semibold, .site-footer .footer-brand h2 {
  color: #f7f1e7 !important;
}
.site-footer p, .site-footer li, .site-footer span, .site-footer address, .site-footer nav a {
  color: rgba(247,241,231,0.78) !important;
}
.site-footer a:hover, .site-footer nav a:hover { color: #d9be73 !important; }
.site-footer .footer-legal, .site-footer .footer-legal nav, .site-footer .footer-legal p {
  border-top-color: rgba(247,241,231,0.18) !important;
  color: rgba(247,241,231,0.62) !important;
}
.site-footer .btn-accent, .site-footer a.btn-accent {
  background-color: var(--color-accent) !important;
  color: var(--color-brand-dark) !important;
}
.site-footer .btn-accent:hover, .site-footer a.btn-accent:hover {
  background-color: var(--color-accent-light) !important;
  color: var(--color-brand-dark) !important;
}

/* ---- Ai-merge utilities (Tailwind v3 semantics) ---- */
.bg-accent\/15{background-color:rgba(200,169,81,.15)}
.bg-white\/70{background-color:rgba(255,255,255,.7)}
.bg-white\/80{background-color:rgba(255,255,255,.8)}
.bg-white\/90{background-color:rgba(255,255,255,.9)}
.hover\:bg-white\/10:hover{background-color:rgba(255,255,255,.1)}
.border-brand\/10{border-color:rgba(23,61,53,.1)}
.border-white\/10{border-color:rgba(255,255,255,.1)}
.border-white\/30{border-color:rgba(255,255,255,.3)}
.from-brand-dark\/90{--tw-gradient-from:rgba(15,42,36,.9) var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,42,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.to-brand-dark\/10{--tw-gradient-to:rgba(15,42,36,.1) var(--tw-gradient-to-position)}
.via-brand-dark\/30{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.3) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.via-brand-dark\/35{--tw-gradient-stops:var(--tw-gradient-from),rgba(15,42,36,.35) var(--tw-gradient-via-position),var(--tw-gradient-to)}
@media (min-width:640px){.sm\:p-8{padding:2rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}}
@media (min-width:1024px){
.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.lg\:grid-cols-\[1\.1fr_\.9fr\]{grid-template-columns:1.1fr .9fr}
.lg\:grid-cols-\[1fr_\.9fr\]{grid-template-columns:1fr .9fr}
.lg\:mb-10{margin-bottom:2.5rem}
.lg\:mb-12{margin-bottom:3rem}
.lg\:mb-14{margin-bottom:3.5rem}
.lg\:p-12{padding:3rem}
.lg\:p-7{padding:1.75rem}
.lg\:py-20{padding-top:5rem;padding-bottom:5rem}
}

/* ---- mobile nav fixes ---- */
.max-h-\[80vh\]{max-height:80vh}
.max-h-\[70vh\]{max-height:70vh}
.max-h-\[60vh\]{max-height:60vh}
.overflow-y-auto{overflow-y:auto}
