/* Simple homepage styles (no legacy timeline.css)
   Brand palette:
     deep blue: #004a9c
     primary blue: #0e5bc8
     muted slate: #a1b5be
*/
:root{
  --brand-deep:#004a9c;
  --brand-blue:#0e5bc8;
  --brand-muted:#a1b5be;
  --text:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--brand-deep);
  color: var(--text);
  font-family: "Source Sans 3","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

a{ color: var(--text); text-decoration:none; }
a:hover{ color: var(--brand-muted); text-decoration:underline; }

.wrap{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.topbar{
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{ display:inline-flex; align-items:center; }
.brand-logo{
  height: 56px;
  width: auto;
  display:block;
}

.toplinks{
  font-family: "Montserrat","Source Sans 3","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.sep{ opacity:.65; }

.hero{ padding: 18px 0 10px; }

.slider{
  position:relative;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(0,0,0,.15);
}

.slides{
  position:relative;
  height: 450px;
}

.slide{
  position:absolute;
  inset:0;
  display:block;
  opacity:0;
  pointer-events:none;
  transition: opacity .35s ease;
}

.slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.caption{
  position:absolute;
  left:16px;
  bottom:14px;
  padding: 8px 12px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-family: "Montserrat","Source Sans 3","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}

.navbtn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index:5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor:pointer;
}
.navbtn:hover{ border-color: rgba(255,255,255,.5); }
.navbtn.prev{ left: 12px; }
.navbtn.next{ right: 12px; }

.dots{
  position:absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display:flex;
  gap: 8px;
  z-index:6;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.15);
  cursor:pointer;
}
.dot.is-active{
  background: var(--brand-blue);
  border-color: rgba(255,255,255,.65);
}

.quicklinks{
  margin: 14px 0 6px;
  text-align:center;
  font-family: "Montserrat","Source Sans 3","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 14px;
}

.mission{
  margin: 16px 0 26px;
  padding: 18px 14px 10px;
  text-align:center;
  border-top: 1px solid rgba(255,255,255,.18);
}
.assoc{
  width:min(420px, 86vw);
  height:auto;
  margin-bottom: 10px;
}
.copyright{ opacity:.85; margin-top: 10px; }

@media (max-width: 720px){
  .slides{ height: 320px; }
  .brand-logo{ height: 46px; }
}
