/* ============ NoVA Stellar Cores ============ */

:root {
  --bg: #0a0f1e;
  --bg-raise: #0e152a;
  --card: #101a33;
  --card-border: #1d2a4a;
  --text: #e7ebf5;
  --text-muted: #a8b3cd;
  --accent: #e8b34b;
  --accent-strong: #f5c65e;
  --radius: 12px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(232, 179, 75, 0.10), transparent 60%),
    radial-gradient(900px 480px at 10% 0%, rgba(56, 116, 255, 0.12), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

::selection { background: rgba(232, 179, 75, 0.35); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--card-border);
  background: rgba(10, 15, 30, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--accent);
}

.brand-core { fill: var(--bg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: var(--accent);
}

.nav-links .nav-cta:hover { color: var(--accent-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 7rem 0 6rem;
  text-align: center;
}

.kicker {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
}

.hero .lede {
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1205;
}

.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--text-muted); }

/* ---------- Sections ---------- */

.section { padding: 5.5rem 0; }

.section-alt {
  background: var(--bg-raise);
  border-block: 1px solid var(--card-border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.section-lede {
  max-width: 44rem;
  color: var(--text-muted);
  margin-bottom: 2.75rem;
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-muted);
}

/* ---------- Ownership ---------- */

.ownership-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ownership-copy p {
  max-width: 40rem;
  color: var(--text-muted);
}

.ownership-copy strong { color: var(--text); }

.checklist {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- About ---------- */

.about-copy {
  max-width: 48rem;
  margin-bottom: 2.75rem;
}

.about-copy p { color: var(--text-muted); }

.about-copy strong { color: var(--text); }

/* ---------- Contact ---------- */

.contact { text-align: center; padding-bottom: 7rem; }

.contact .section-lede {
  margin-inline: auto;
  text-align: center;
}

.email {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 179, 75, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.email:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .ownership-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 15, 30, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.05rem;
  }

  .hero { padding: 4.5rem 0 4rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
