*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  opacity: 0;
}
html.ready   { transition: opacity .45s cubic-bezier(.4,0,.2,1); }
html.visible { opacity: 1; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--gold); color: #fff; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-serif); }

/* Layout helpers */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.container--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* Section divider with gold gradient lines */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.section-header__line {
  height: 2px;
  width: 90px;
  flex-shrink: 0;
}
.section-header__line--left  { background: linear-gradient(90deg, rgba(200,148,31,0), var(--gold)); }
.section-header__line--right { background: linear-gradient(90deg, var(--gold), rgba(200,148,31,0)); }
.section-header__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--navy);
  margin: 0;
}
.section-header__title--light { color: #fff; }
.section-header__sub {
  font-size: 18px;
  color: var(--text-faint);
  margin: 16px 0 0;
}
.section-header__sub--light { color: var(--text-nav); }

/* ── Responsive base ───────────────────────────────────────── */
@media (max-width: 991px) {
  .page-banner        { padding: 44px 0 40px; }
  .page-banner__sub   { font-size: 16px; }
  .section-header     { margin-bottom: 36px; }
  .section-header__sub{ font-size: 16px; }
}
@media (max-width: 767px) {
  .page-banner        { padding: 36px 0 32px; }
  .page-banner__title { font-size: clamp(28px, 7vw, 44px); }
  .page-banner__sub   { font-size: 15px; max-width: 100%; }

  /* Shorten decorative lines so title doesn't wrap */
  .section-header__line { width: 48px; }
}
@media (max-width: 479px) {
  .section-header__line { width: 28px; }
}

/* Reveal animation base state — set by ui.js */
[data-reveal] { }

/* Overline label */
.overline {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.overline--light { color: var(--gold-light); }

/* Page banner (inner pages) */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 52px;
}
.page-banner__breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-footer);
  margin-bottom: 14px;
}
.page-banner__breadcrumb a { color: var(--text-footer); }
.page-banner__breadcrumb a:hover { color: var(--gold-light); }
.page-banner__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  margin: 0 0 14px;
}
.page-banner__sub {
  font-size: 18px;
  color: var(--text-nav);
  margin: 0;
  max-width: 580px;
}
