@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700;8..60,900&family=Courier+Prime:wght@400;700&display=swap');

*{box-sizing:border-box; margin:0; padding:0;}
body{ font-family:'Source Serif 4', serif; -webkit-font-smoothing:antialiased; background:#0A1F44; color:#F8FAFA; }
a{ color:inherit; }
.mono{ font-family:'Courier Prime', monospace; }

/* ===== NAV — small logo, evenly spaced links, search ===== */
.site-nav{
  background:#FAF7EE; border-bottom:1px solid rgba(18,35,63,0.12);
  padding:0 44px; height:70px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
}
.nav-logo{ display:flex; align-items:center; text-decoration:none !important; }
.nav-logo img{ height:52px; width:auto; display:block; }
.nav-links{ display:flex; gap:34px; flex-wrap:wrap; align-items:center; }
.nav-links a{
  font-family:'Source Serif 4', serif; font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase;
  text-decoration:none; color:#4A5568; padding:26px 0; border-bottom:2px solid transparent;
}
.nav-links a:hover, .nav-links a.active{ color:#12233F; border-bottom-color:#B8862E; }
.nav-search{ display:flex; flex-direction:column; align-items:center; gap:3px; color:#4A5568; }
.nav-search span{ font-family:'Source Serif 4', serif; font-size:11.5px; letter-spacing:0.05em; }
.nav-search svg{ width:16px; height:16px; display:block; }

/* ===== FOOTER ===== */
.site-footer{ padding:28px 44px 36px; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; background:#0A1F44; }
.foot-brand{ font-family:'Source Serif 4', serif; font-weight:700; font-size:13px; color:#F8FAFA; }
.site-footer p{ font-size:11px; color:#8FA0C2; line-height:1.5; max-width:460px; }
.foot-links{ font-family:'Courier Prime', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:#F5A623; margin-bottom:10px; }
.foot-links-list{ display:flex; flex-direction:column; gap:6px; }
.foot-links-list a{ color:#B9C4DE; font-size:13px; text-decoration:none; }
.foot-links-list a:hover{ color:#F5A623; }

/* ===== Page background skyline — continuous across the page ===== */
.page-body{
  background-color:#0A1F44;
  background-image:url('assets/skyline-bg.png');
  background-repeat:no-repeat;
  background-position:top center;
  background-size:1400px auto;
  min-height:100vh;
}

/* ===== Section shell + floating navy card (skyline shows as border) ===== */
.section-shell{ padding:40px 44px; }
.navy-card{
  background:#0F2A54;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,0.28);
  overflow:hidden;
}

/* ===== Light page variant — clean skyline, no navy boxes ===== */
.page-body-light{
  background-color:#FAFAF6;
  background-image:url('assets/skyline-bg.png');
  background-repeat:no-repeat;
  background-position:top center;
  background-size:1400px auto;
  min-height:100vh;
  color:#1E1E1E;
}
.breadcrumb{
  padding:14px 44px; font-size:14px; color:#1E1E1E;
  border-bottom:1px solid rgba(18,35,63,0.15);
}
.breadcrumb a{ text-decoration:none; color:#1E1E1E; }
.breadcrumb .sep{ margin:0 8px; color:#12233F; font-weight:700; }
.breadcrumb .current{ color:#4A5568; }

@media (max-width:720px){
  .breadcrumb{ padding:12px 20px; }
}

@media (max-width:720px){
  .site-nav{ padding:0 20px; height:auto; flex-direction:column; align-items:flex-start; padding-top:14px; padding-bottom:10px; }
  .nav-links{ gap:18px; }
  .nav-links a{ padding:6px 0; }
  .site-footer{ padding-left:20px; padding-right:20px; }
  .section-shell{ padding:16px 20px; }
}

/* ===== Back to top ===== */
.back-to-top{
  position:fixed; bottom:28px; right:28px;
  width:46px; height:46px; border-radius:50%;
  background:#12233F; color:#F5A623;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none; font-size:20px;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  opacity:0; pointer-events:none;
  transition:opacity 0.25s ease;
  z-index:50;
}
.back-to-top.visible{ opacity:1; pointer-events:auto; }

/* ===== Search ===== */
.nav-search{ cursor:pointer; }
.search-modal{ display:none; position:fixed; inset:0; background:rgba(10,20,40,0.75); z-index:2000; }
.search-modal-content{ background:#fff; width:92%; max-width:520px; margin:80px auto 0; border-radius:8px; padding:22px 24px; position:relative; }
.search-close{ position:absolute; right:16px; top:14px; font-size:22px; cursor:pointer; color:#4A5568; font-weight:bold; }
.search-modal-content h3{ font-family:'Source Serif 4', serif; font-size:18px; color:#12233F; margin:0 0 14px 0; }
.search-input{ width:100%; padding:12px 14px; font-size:16px; border:1.5px solid #12233F; border-radius:6px; font-family:'Source Serif 4', serif; box-sizing:border-box; color:#1E1E1E; }
.search-results{ margin-top:14px; max-height:340px; overflow-y:auto; }
.search-result-item{ display:block; padding:10px 8px; border-bottom:1px solid rgba(0,0,0,0.08); text-decoration:none; color:#1E1E1E; }
.search-result-item:hover{ background:#F5F5F0; }
.search-result-item .srt{ font-weight:700; color:#12233F; font-size:14.5px; }
.search-result-item .srd{ font-size:12.5px; color:#6B7B99; margin-top:2px; }
.search-empty{ font-size:13px; color:#6B7B99; padding:10px 8px; }
