/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
[id] { scroll-margin-top: 120px; }
body {
  font-family: var(--sans);
  color: var(--ls-text);
  background: var(--ls-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }

/* ===== UTILITY CLASSES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad) 0; }
.text-center { text-align: center; }
.text-gold { color: var(--ls-gold); }
.text-navy { color: var(--ls-navy); }
.text-white { color: var(--ls-white); }
.bg-navy { background: var(--ls-navy-deep); color: var(--ls-white); }
.bg-off-white { background: var(--ls-off-white); }
.bg-white { background: var(--ls-white); }

/* ===== SECTION LABELS & HEADINGS ===== */
.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ls-gold);
  margin-bottom: 16px;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-head p {
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}
.gold-divider { width: 60px; height: 2px; background: var(--ls-gold); margin: 32px 0; }

/* ===== SCROLL ANIMATIONS ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-offset) + 53px) 0 80px;
  background: linear-gradient(135deg, #1a2a3a 0%, #0a1520 40%, #15232f 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.04) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(201,169,110,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--ls-white);
  margin-bottom: 16px;
}
.page-hero h1 strong { font-weight: 600; color: var(--ls-gold); }
.page-hero p {
  color: var(--ls-text-on-dark);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1rem;
}
.breadcrumb {
  margin-top: 24px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--ls-gold); }
.breadcrumb span { color: var(--ls-gold); }

/* Standalone breadcrumb bar (pages with an image hero) */
.breadcrumb-bar {
  margin-top: 0;
  padding: 14px 0;
  background: var(--ls-navy-deep);
  border-top: 1px solid rgba(201,169,110,0.12);
}

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--ls-gold);
  color: var(--ls-navy-deep);
  font-weight: 600;
  font-size: 0.85rem;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ls-gold); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* ===== CONTENT HELPERS (answer-first copy, notes, long-form text) ===== */
.answer-lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: var(--ls-navy);
  margin-bottom: 32px;
}
.answer-lede-center { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.small-note { font-size: 0.8rem; color: var(--ls-text-light); line-height: 1.6; margin-top: 12px; }
.small-note a, .prose a { color: var(--ls-gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--ls-navy); margin: 40px 0 14px; }
.prose p, .prose li, .prose address { color: var(--ls-text); font-weight: 300; line-height: 1.8; margin-bottom: 14px; font-style: normal; }
.prose ul { margin: 0 0 16px 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-pad { padding: var(--section-pad-mobile) 0; }
  .page-hero { padding: calc(var(--header-offset) + 28px) 0 60px; }
}

/* ===== ACCESSIBILITY & ROBUSTNESS (launch QA) ===== */
/* Gold on light backgrounds uses the darker accessible gold; bright gold stays on navy. */
.section-label { color: var(--ls-gold-dark); }
.bg-navy .section-label, .page-hero .section-label, .hero .section-label, .services .section-label,
.pillars .section-label, .contact .section-label, .cta-banner .section-label { color: var(--ls-gold); }
:focus-visible { outline: 2px solid var(--ls-gold-dark); outline-offset: 3px; }
.bg-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.page-hero :focus-visible, .contact :focus-visible, .contact-page-info :focus-visible, .services :focus-visible,
.pillars :focus-visible, .sidebar-cta :focus-visible, .mobile-nav :focus-visible { outline-color: var(--ls-gold); }
.contact-page-info .small-note a, .bg-navy .small-note a, .bg-navy .prose a { color: var(--ls-gold); }
.breadcrumb { color: rgba(255,255,255,0.6); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.nowrap { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .faq-a { max-height: none !important; visibility: visible !important; padding-top: 8px !important; }
  .site-header, .mobile-nav, .mobile-overlay, .skip-link, .hero-scroll { display: none !important; }
}
.answer-lede-secondary { font-family: var(--sans); font-size: 0.98rem; line-height: 1.7; color: var(--ls-text); margin-top: -12px; }
