@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap");
:root {
  --navy: #002f59;
  --blue: #0980ff;
  --sky: #4ea7ff;
  --ink: #071a2b;
  --muted: #8296a9;
  --paper: #f3f7fb;
  --line: #e3ebf2;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
.topbar {
  height: 76px;
  position: absolute;
  z-index: 8;
  inset: 0 0 auto;
  color: white;
  border-bottom: 1px solid #ffffff28;
}
.topbar.solid {
  position: relative;
  background: var(--navy);
}
.navrow {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand small {
  display: block;
  color: #83c5ff;
  font-size: 9px;
  letter-spacing: 0.21em;
  margin-top: 4px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.navlinks a {
  color: #f0f6fc;
  opacity: 0.82;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}
.navlinks a:hover,
.navlinks a.active {
  opacity: 1;
  color: #8bcaff;
}
.navlinks a:hover {
  transform: translateY(-2px);
}
.navlinks .join {
  padding: 13px 18px;
  background: var(--blue);
  border-radius: 5px;
  opacity: 1;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.navlinks .join:hover {
  background: #4ea7ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px #001d3760;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: white;
  padding: 14px 20px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.btn:hover {
  background: #4ea7ff;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px #002f5933;
}
.btn:active,
.navlinks .join:active {
  transform: translateY(0) scale(0.98);
}
.kicker {
  color: #8bcaff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.page-intro {
  background: linear-gradient(105deg, #002f59, #064d83);
  padding: 35px 0;
  color: white;
}
.page-title .kicker {
  color: #84c4ff;
}
.page-title h1 {
  font: 800 48px/0.95 "Barlow Condensed";
  text-transform: uppercase;
  color: white;
  margin: 7px 0 0;
}
.page-title p {
  color: #d0e1ee;
  font-size: 12px;
  line-height: 1.7;
  max-width: 640px;
  margin: 10px 0 0;
}
.shell {
  min-height: calc(100vh - 140px);
  padding: 28px 0 70px;
}
.empty {
  padding: 32px;
  background: white;
  border-radius: 8px;
  color: #7a8fa2;
  text-align: center;
  font-size: 13px;
}
footer {
  background: #041523;
  color: #b6c6d3;
  padding: 25px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.footer-brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.footer-row small,
.footer-row a {
  font-size: 9px;
  color: #8298aa;
}
.footer-row .admin-access-link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.footer-row .admin-access-link:hover {
  color: var(--sky);
}
.footer-row .creator-credit {
  font-size: 11px;
  font-weight: 700;
  transition: color 0.2s ease;
}
.footer-row .creator-credit:hover {
  color: var(--sky);
}
@media (max-width: 850px) {
  .navlinks {
    gap: 15px;
  }
  .navlinks a {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar,
  .topbar.solid {
    height: 103px;
  }
  .navrow {
    display: block;
    position: relative;
    padding-top: 5px;
  }
  .brand {
    height: 46px;
    font-size: 11px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    font-size: 7px;
  }
  .navlinks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
  }
  .navlinks a:not(.join) {
    display: block;
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .navlinks .join {
    position: absolute;
    right: 0;
    top: -43px;
    padding: 10px 11px;
    font-size: 8px;
  }
  .page-intro {
    padding: 26px 0;
  }
  .page-title h1 {
    font-size: 40px;
  }
  .shell {
    padding-bottom: 50px;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
.site-motion-ready .site-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.99);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--site-delay, 0ms);
  will-change: opacity, transform;
}
.site-motion-ready .site-reveal.site-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.site-motion-ready
  .site-reveal:is(
    .news-card,
    .event-card,
    .member-card,
    .media-card
  ).site-revealed:hover {
  transform: translate3d(0, -5px, 0) scale(1);
  transition-delay: 0ms;
}
.site-motion-ready
  :is(
    button,
    .btn,
    .source-pill,
    .event-link,
    .event-map,
    .news-follow,
    .events-follow
  ) {
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}
.site-motion-ready
  :is(
    button,
    .btn,
    .source-pill,
    .event-link,
    .event-map,
    .news-follow,
    .events-follow
  ):hover {
  filter: brightness(1.06);
}
.site-motion-ready .rules-dialog[open] {
  animation: site-dialog-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.site-motion-ready .rules-content li {
  animation: site-dialog-in 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--rule-index, 0) * 24ms);
}
@keyframes site-dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-motion-ready .site-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .site-motion-ready .rules-dialog[open],
  .site-motion-ready .rules-content li {
    animation: none;
  }
  .btn,
  .navlinks a,
  .navlinks .join {
    transition: none;
  }
}
