/* ---- Unified header: same on all pages ---- */
html { scroll-padding-top: 90px; }
    .site-header, .topbar { position: sticky; top: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(11,27,77,.08); color: #0c1740; }
    .nav { height: 80px; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    .nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #273257; }
    .nav-links a { opacity: 1; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s, background .2s; }
    .nav-links a:hover { color: #75560F; }
    .nav-links a.active { color: #8F6A1B; border-bottom-color: #8F6A1B; }
    .nav-links a.nav-cta { display: inline-block; border: 1px solid #8F6A1B; padding: 11px 18px; color: #8F6A1B; }
    .nav-links a.nav-cta:hover, .nav-links a.nav-cta.active { background: #8F6A1B; color: #fff; }
    .menu-toggle { display: none; width: 44px; height: 40px; border: 1px solid rgba(11,27,77,.25); background: transparent; color: #0b1b4d; font-size: 20px; line-height: 1; padding: 0; cursor: pointer; }
    .logo-dark { display: block; } .logo-light { display: none; }
    .nav.container { width: min(1160px, calc(100% - 48px)); }
    @media (max-width: 850px) { .nav-links a:not(.nav-cta) { align-self: flex-start; } }
    @media (max-width: 520px) { .nav.container { width: min(1160px, calc(100% - 36px)); } }
    @media (max-width: 850px) {
      .nav { height: 70px; min-height: 70px; }
      .menu-toggle { display: block; }
      .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 24px 26px; background: #fff; border-bottom: 1px solid #e6dfcf; font-size: 14px; }
      .nav-links.open { display: flex; }
      .nav-links a.nav-cta { text-align: center; margin-top: 6px; }
    }

    /* ---- Home: transparent over hero, becomes the standard header on scroll ---- */
    .topbar { position: fixed; background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.2); color: #fff; transition: background .25s, border-color .25s; }
    .topbar .nav-links { color: #fff; }
    .topbar .nav-links a:hover, .topbar .nav-links a.active { color: #E3C26F; }
    .topbar .nav-links a.active { border-bottom-color: #E3C26F; }
    .topbar .nav-links a.nav-cta { border-color: rgba(255,255,255,.7); color: #fff; }
    .topbar .nav-links a.nav-cta:hover { background: #fff; border-color: #fff; color: #0b1b4d; }
    .topbar .menu-toggle { color: #fff; border-color: rgba(255,255,255,.55); }
    .topbar .logo-dark { display: none; } .topbar .logo-light { display: block; }
    .topbar.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom-color: rgba(11,27,77,.08); color: #0c1740; }
    .topbar.scrolled .nav-links { color: #273257; }
    .topbar.scrolled .nav-links a:hover { color: #75560F; }
    .topbar.scrolled .nav-links a.active { color: #8F6A1B; border-bottom-color: #8F6A1B; }
    .topbar.scrolled .nav-links a.nav-cta { border-color: #8F6A1B; color: #8F6A1B; }
    .topbar.scrolled .nav-links a.nav-cta:hover { background: #8F6A1B; color: #fff; }
    .topbar.scrolled .menu-toggle { color: #0b1b4d; border-color: rgba(11,27,77,.25); }
    .topbar.scrolled .logo-dark { display: block; } .topbar.scrolled .logo-light { display: none; }
    @media (max-width: 850px) {
      .topbar:not(.scrolled) .nav-links { background: #07123a; border-bottom-color: rgba(255,255,255,.15); }
    }
  
    /* ---- Gold theme: dark gold primary, warm neutrals, subtle metallic effects ---- */
    :root { --royal: #0B2F8C; --gold: #8F6A1B; --gold-light: #E3C26F; --gold-mid: #B38B2D; }
    .btn, .nav-links a.nav-cta { position: relative; overflow: hidden; isolation: isolate; }
    .btn-gold, .nav-links a.nav-cta:hover, .nav-links a.nav-cta.active, .topbar.scrolled .nav-links a.nav-cta:hover {
      background: linear-gradient(135deg, #E0BC63 0%, #B38B2D 55%, #9A741E 100%); border-color: #B38B2D; color: #0b1b4d; }
    .btn-gold:hover { background: linear-gradient(135deg, #EACB78 0%, #C29A38 55%, #A98128 100%); border-color: #C29A38; color: #0b1b4d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(179,139,45,.28); }
    .btn-gold::after { content: ""; position: absolute; top: 0; left: -90%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); transition: left .75s ease; pointer-events: none; z-index: -1; }
    .btn-gold:hover::after { left: 140%; }
    .nav-links a.nav-cta { border-color: #8F6A1B; color: #8F6A1B; }
    .topbar:not(.scrolled) .nav-links a.nav-cta { border-color: rgba(227,194,111,.8); color: #fff; }
    .topbar:not(.scrolled) .nav-links a.nav-cta:hover { color: #0b1b4d; border-color: #B38B2D; }
    .nav-links a:not(.nav-cta):hover { border-bottom-color: rgba(179,139,45,.55); }
    .site-header, .topbar.scrolled { border-bottom: 1px solid rgba(179,139,45,.32); }
    footer { border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, #B38B2D 30%, #E3C26F 50%, #B38B2D 70%, transparent) 1; }
    ::selection { background: #B38B2D; color: #0b1b4d; }
    .gold-rule { width: 54px; height: 2px; background: linear-gradient(90deg, #E3C26F, #8F6A1B); }
    .card, .path, .partner-logo { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }
    .card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(143,106,27,.14); }
    .path:hover { transform: translateY(-5px); border-color: rgba(227,194,111,.7); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
    .partner-logo:hover { border-color: #B38B2D; }
    /* hero: slow zoom on the active slide image */
    @keyframes sfcZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
    .slide.is-active .slide-bg { animation: sfcZoom 12s ease-out forwards; }
    /* scroll reveal */
    .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
    .js .reveal.is-in { opacity: 1; transform: none; }
    .js .reveal.done { transition-delay: 0s; transition: opacity .3s, transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
    .js .gold-rule.reveal { transform: scaleX(0); transform-origin: left; }
    .js .gold-rule.reveal.is-in { transform: none; }
    @media (prefers-reduced-motion: reduce) {
      .slide.is-active .slide-bg { animation: none; }
      .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
      .btn-gold::after { display: none; }
    }

body.admin-bar .site-header, body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header, body.admin-bar .topbar { top: 46px; }
}
.sfc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
