:root {
  --navy: #010542;
  --blue: #0010a3;
  --gold: #ffc108;
  --gold-hot: #ffd54a;
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.72);
  --danger: #ff5c5c;
  --font-display: "Noto Sans Display", system-ui, sans-serif;
  --font-body: "Noto Sans Display", sans-serif;
  --header-offset: 5.75rem;
}
@media (min-width: 768px) {
  :root { --header-offset: 7.25rem; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
a { color: inherit; text-decoration: none; }
::selection {
  background: color-mix(in oklab, var(--gold) 55%, transparent);
  color: var(--navy);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page { min-height: 100vh; background: var(--navy); color: var(--white); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-offset);
  box-sizing: border-box;
}
.hero-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--navy);
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(1, 5, 66, 0.88));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 0.75rem 1.5rem 3.25rem;
  gap: 1.25rem;
}
.hero-copy > .eyebrow {
  margin: 0;
  flex-shrink: 0;
}
.hero-visual {
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 28rem);
  max-width: 100%;
}
.hero-sequence {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: drift 3.8s ease-in-out infinite;
}
.hero-sequence-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.hero-sequence-frame.is-active {
  opacity: 1;
}
.hero-cat-placeholder {
  width: min(100%, 20rem);
  aspect-ratio: 5 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1.5px dashed rgba(255, 193, 8, 0.55);
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0, 16, 163, 0.45), transparent 65%),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  animation: drift 3.8s ease-in-out infinite;
}
.hero-cat-silhouette {
  width: min(70%, 11rem);
  height: auto;
  color: rgba(255, 255, 255, 0.92);
}
.hero-rotor {
  transform-origin: 100px 45px;
  animation: rotor 1.1s linear infinite;
}
.hero-cat-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-text {
  width: min(100%, 36rem);
  flex-shrink: 0;
}
.hero-text .tagline {
  margin: 0;
  max-width: none;
}
.hero-text .subhead {
  margin: 0.85rem auto 0;
  max-width: 34rem;
}
.hero-text .cta-row {
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .hero-visual { width: min(100%, 34rem); }
  .hero-sequence { width: min(100%, 28rem); }
  .hero-cat-placeholder { width: min(100%, 26rem); }
}

body.nav-lock { overflow: hidden; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.85rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease,
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.site-header.is-stuck {
  padding: 0.45rem 0;
  background: color-mix(in oklab, var(--navy) 72%, transparent);
  border-bottom-color: rgba(255, 193, 8, 0.18);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  transform: translateY(0);
  animation: header-settle 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.site-header.is-stuck::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 8, 0.55), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.brand:hover { transform: rotate(-2deg) scale(1.04); }
.site-header.is-stuck .brand:hover { transform: rotate(-1deg) scale(1.03); }

.nav-links {
  display: flex;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--white-muted);
}
.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.nav-links a:hover {
  color: var(--navy);
  background: var(--gold);
  transform: translateY(-2px);
}
.nav-links a:active { transform: translateY(0) scale(0.98); }

.nav-toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.nav-toggle:hover {
  background: rgba(255, 193, 8, 0.16);
  border-color: rgba(255, 193, 8, 0.55);
  transform: scale(1.06);
}
.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 1.15rem;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 0.25s ease,
    width 0.25s ease;
}
.nav-toggle-bars span:nth-child(2) { width: 70%; margin-left: auto; }
.site-header.is-open .nav-toggle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.site-header.is-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.is-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: contents;
}

@media (max-width: 767.98px) {
  .nav-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2;
    padding: 6.5rem 1.5rem 2rem;
    background:
      radial-gradient(ellipse at top right, rgba(0, 16, 163, 0.55), transparent 55%),
      color-mix(in oklab, var(--navy) 88%, transparent);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.985);
    transition:
      opacity 0.35s ease,
      transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
      visibility 0.35s;
  }
  .site-header.is-open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-links {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .nav-links a {
    display: block;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
  }
  .nav-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
  }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.brand-text, .hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-brand { font-size: clamp(3rem, 10vw, 6rem); line-height: 0.92; display: block; }
.logo {
  display: block;
  height: auto;
  width: auto;
  object-fit: contain;
}
.logo-nav {
  height: 4.875rem;
  width: auto;
  max-width: 16.5rem;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.45s ease;
}
.site-header.is-stuck .logo-nav {
  height: 4.1rem;
  max-width: 14rem;
}
.logo-footer {
  height: 3.5rem;
  width: auto;
  max-width: 12rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.navy { color: var(--blue); }
.eyebrow.white { color: var(--muted-white); }
.tagline {
  font-family: "Vina Sans", system-ui;
  font-weight: 400;
  font-style: normal;
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: clamp(3.5rem, 2.5vw, 1.5rem);
  color: var(--gold);
}
.lede, .muted {
  color: var(--navy);
}

.lede-white{
  color: var(--muted-white);
font-family: var(--font-display);
  letter-spacing: 0em;
  line-height: 1.1;
  font-size: 1.5rem;
  margin: 0;
  margin-top: 8px;
}

.subhead{
 color: var(--muted-white);

}
.subhead {
  max-width: 36rem;
font-family: var(--font-display);
  letter-spacing: 0em;
  line-height: 1.1;
  font-size: 1.5rem;
  margin: 0;
  margin-top: 8px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  background: transparent;
  color: var(--white);
  font-family: inherit;
border-radius: 16px;
}
.btn.primary { background: var(--gold); color: var(--navy); }
.btn.primary:hover { background: var(--gold-hot); }
.btn.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.btn.secondary:hover {
  border-color: rgba(255, 193, 8, 0.7);
  background: rgba(255, 193, 8, 0.1);
}
.btn.ghost {
  color: var(--white-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.btn.ghost:hover { color: var(--gold); }
.btn.disabled { opacity: 0.55; cursor: not-allowed; }
.btn.tiny { padding: 0.35rem 0.6rem; font-size: 0.75rem; border-color: rgba(255,255,255,0.2); }
.btn.danger { color: var(--danger); border-color: rgba(255, 92, 92, 0.45); }

.section {
  position: relative;
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 7rem;
}

.section.about{
background: var(--gold);
color: var(--navy);
}
.about-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.about h2, .roadmap h2 {
  font-family: "Vina Sans", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
font-size: 5rem;
}


@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .logo-nav { height: 5.625rem; max-width: 19.5rem; }
  .site-header.is-stuck .logo-nav { height: 4.5rem; max-width: 16rem; }
}


.lede { margin: 0; font-size: 1.15rem; line-height: 1.65; }
.statement {
  max-width: 72rem;
  margin: 24px auto 0;
  color: var(--blue);
}

.statement{
font-family: var(--font-display);
  letter-spacing: 0em;
  line-height: 1.1;
  font-size: 1.5rem;
  margin: 0;
  margin-top: 8px;
}

.roadmap {
  background: linear-gradient(180deg, rgba(0, 16, 163, 0.35), transparent 40%);
  --status-done: #3ddc84;
  --status-current: #ffc108;
  --status-upcoming: #ff5c5c;
}
.roadmap-inner { max-width: 48rem; margin: 0 auto; }

.roadmap-timeline {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.roadmap-step {
  --dot: var(--status-upcoming);
  position: relative;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0 0 2.5rem;
}
.roadmap-step:last-child { padding-bottom: 0; }
.roadmap-step.status-done { --dot: var(--status-done); }
.roadmap-step.status-current { --dot: var(--status-current); }
.roadmap-step.status-upcoming { --dot: var(--status-upcoming); }

.roadmap-rail {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100%;
}
.roadmap-rail::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  bottom: -2.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--dot) 75%, white) 0%,
    rgba(255, 255, 255, 0.18) 100%
  );
}
.roadmap-step:last-child .roadmap-rail::before { display: none; }

.roadmap-dot {
  position: relative;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--dot);
  box-shadow:
    0 0 0 4px color-mix(in oklab, var(--dot) 22%, transparent),
    0 0 18px color-mix(in oklab, var(--dot) 55%, transparent);
}
.roadmap-step.status-current .roadmap-dot {
  animation: roadmap-pulse 1.8s ease-in-out infinite;
}

.roadmap-card { min-width: 0; padding-top: 0.05rem; }
.roadmap-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-bottom: 0.65rem;
}
.roadmap-eta {
  font-size: 0.9rem;
  color: var(--white-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}
.badge.done {
  color: var(--status-done);
  border-color: color-mix(in oklab, var(--status-done) 45%, transparent);
  background: color-mix(in oklab, var(--status-done) 12%, transparent);
}
.badge.current {
  color: var(--status-current);
  border-color: color-mix(in oklab, var(--status-current) 45%, transparent);
  background: color-mix(in oklab, var(--status-current) 12%, transparent);
}
.badge.upcoming {
  color: var(--status-upcoming);
  border-color: color-mix(in oklab, var(--status-upcoming) 45%, transparent);
  background: color-mix(in oklab, var(--status-upcoming) 12%, transparent);
}

.roadmap-timeline h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.roadmap-timeline h3 .num {
  margin-right: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.roadmap-card > p {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--white-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .roadmap-step {
    grid-template-columns: 2rem 1fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
  }
  .roadmap-rail::before { bottom: -3rem; }
}

@keyframes roadmap-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px color-mix(in oklab, var(--dot) 22%, transparent),
      0 0 18px color-mix(in oklab, var(--dot) 55%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 8px color-mix(in oklab, var(--dot) 12%, transparent),
      0 0 28px color-mix(in oklab, var(--dot) 70%, transparent);
  }
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 1.5rem;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer .muted { margin: 0.75rem 0 0; font-size: 0.9rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rotor {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-2.75rem) rotate(1.5deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}
@keyframes header-settle {
  from { transform: translateY(-0.4rem); }
  to { transform: translateY(0); }
}
.animate-rise { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-rise, .delay-1, .delay-2, .delay-3,
  .hero-sequence, .hero-cat-placeholder, .hero-rotor, .roadmap-step.status-current .roadmap-dot,
  .site-header, .site-header.is-stuck, .brand, .nav-links a, .nav-toggle, .nav-panel {
    animation: none !important;
    transition: none !important;
  }
}

/* Admin / install */
.admin-body {
  min-height: 100vh;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
}
.admin-shell {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.admin-shell.narrow { max-width: 28rem; padding-top: 4rem; }
.admin-shell h1, .admin-shell h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.admin-shell h1 { font-size: 2.4rem; margin: 0.75rem 0 0.5rem; }
.admin-shell h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.admin-form {
  display: grid;
  gap: 0.9rem;
}
.admin-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--white-muted);
}
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  padding: 0.85rem 0.9rem;
  font: inherit;
}
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.admin-form button[type="submit"],
.admin-actions .btn.primary {
  margin-top: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  border: 0;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.item-card {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1rem;
  margin: 0;
}
.item-card .row {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .item-card .row { grid-template-columns: 1fr 1fr; }
}
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.admin-inline-actions form.inline { display: inline; }
.back { color: var(--white-muted); font-size: 0.9rem; }
.back:hover { color: var(--gold); }
.ok { color: var(--gold); }
.error { color: var(--danger); }
.muted { color: var(--white-muted); }
code { color: var(--gold); }
