/* ============================================================
   PRAXUS — launch site
   Palette per AER001 Brand Guidelines V1 (Feb 2026)
   ============================================================ */

@font-face {
  font-family: "Albert Sans";
  src: url("../assets/fonts/AlbertSans-VariableFont_wght.ttf") format("truetype-variations"),
       url("../assets/fonts/AlbertSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype-variations"),
       url("../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --slate: #1C1C1D;        /* Praxus Slate Grey — page base */
  --graphite: #231F20;     /* Praxus Graphite Black — surfaces */
  --surface: #242426;      /* elevated card on slate */
  --white: #FFFFFF;
  --bone: #EAE6E2;         /* Praxus Bone White — body copy */
  --mint: #B5DFD3;         /* Praxus Mint Green — the accent */
  --mint-dim: rgba(181, 223, 211, 0.55);
  --line: rgba(234, 230, 226, 0.14);
  --dim: rgba(234, 230, 226, 0.52);
  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--slate);
  color: var(--bone);
  font-family: "Albert Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--mint); color: var(--slate); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- dot field canvas ---------- */
#dotfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* everything above the canvas */
.nav, main, .footer { position: relative; z-index: 1; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(46px, 8.2vw, 108px); line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; max-width: 20ch; }
h3 { font-size: clamp(21px, 2.2vw, 27px); color: var(--mint); font-weight: 650; }
.mint { color: var(--mint); }
.arrow { color: var(--mint); font-weight: 500; }

.eyebrow {
  font-family: "Space Grotesk", "Albert Sans", monospace, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 22px;
}
.lede {
  font-size: clamp(17px, 1.9vw, 21px);
  max-width: 46ch;
  color: var(--bone);
  margin-top: 28px;
}
.body { font-size: clamp(16px, 1.7vw, 18.5px); max-width: 58ch; margin-top: 24px; }
.body em { font-style: normal; font-weight: 700; color: var(--white); } /* no italic face loaded */
.body strong { color: var(--white); font-weight: 700; }
.fine {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--dim);
}
.fine.dim { opacity: 0.65; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(28, 28, 29, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px var(--pad);
}
.nav-logo img { height: 33px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-links > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bone);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links > a:not(.btn):hover { opacity: 1; color: var(--mint); }

/* ---------- mobile menu ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.6px;
  background: var(--bone);
  transition: transform 0.28s ease, top 0.28s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle.open span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(28, 28, 29, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.mobile-menu nav > a:not(.btn) {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s;
}
.mobile-menu nav > a:not(.btn):hover { color: var(--mint); }
.mobile-menu nav > a.nav-current { color: var(--mint); }
.mobile-menu nav > .btn { margin-top: 10px; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease; }
.mobile-menu.open nav > a { opacity: 1; transform: none; }
.mobile-menu.open nav > a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open nav > a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open nav > a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open nav > a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open nav > a:nth-child(5) { transition-delay: 0.25s; }
body.menu-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Albert Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-mint { background: var(--mint); color: var(--slate); }
.btn-mint:hover { background: var(--white); }
.btn-ghost { border-color: rgba(234, 230, 226, 0.35); color: var(--bone); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad) 90px;
}
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad) 26px;
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero { position: relative; }
.hero-scroll { animation: bob 2.6s ease-in-out infinite; color: var(--mint-dim); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- stats band ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4.5vw, 64px);
  padding: clamp(56px, 8vw, 110px) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(28, 28, 29, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.stat-ring {
  width: clamp(128px, 15vw, 168px);
  height: clamp(128px, 15vw, 168px);
  border: 1.5px solid var(--mint);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  flex: 0 0 auto;
}
.stat-ring strong {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.stat-ring span {
  font-size: 13px;
  color: var(--mint);
  letter-spacing: 0.06em;
}
.stat-line {
  flex-basis: 100%;
  text-align: center;
  margin-top: 14px;
  font-size: 15px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ---------- sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 170px) var(--pad);
  scroll-margin-top: 70px;
}

/* product */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.product-points { list-style: none; margin-top: 34px; display: flex; flex-direction: column; }
.product-points li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  max-width: 54ch;
}
.product-points li:last-child { border-bottom: 1px solid var(--line); }
.product-points strong { color: var(--white); font-weight: 650; }
.product-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.can-wrap { position: relative; width: min(310px, 68vw); container-type: inline-size; }
.can { width: 100%; height: auto; filter: drop-shadow(0 44px 56px rgba(0, 0, 0, 0.55)); }

/* ---------- constellation can (universe engine draws the dots) ---------- */
:root { --amber: #FFBF00; } /* Honey Peach amber (AJ-specified) */
.can-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 785 / 1500;
}
/* label typography measured from PRA008 V2C art (ratios vs wordmark width):
   wordmark = 58cqw; centered sub; stats/pillars/flavor/size share a
   left-aligned column at 28.3% of the wordmark width from its left edge */
.can-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  color: var(--white);
}
.can-text > * { position: absolute; margin: 0; }
.ct-logo { top: 52cqw; left: 50%; transform: translateX(-50%); width: 58cqw; height: auto; }
.ct-arr {
  top: 66.4cqw;
  right: 23.6cqw;
  font-family: Helvetica, Arial, sans-serif; /* Albert Sans has no arrow glyph */
  font-size: 3cqw;
  line-height: 1;
  color: var(--white);
}
.ct-stats p { white-space: nowrap; }
.ct-sub {
  top: 69.7cqw;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 4.5cqw;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--white);
}
.ct-stats, .ct-pillars, .ct-flavor, .ct-size {
  left: 37.4cqw;
  text-align: left;
}
.ct-stats { top: 108.5cqw; font-size: 3.4cqw; font-weight: 430; line-height: 1.62; }
.ct-pillars { top: 121.5cqw; font-size: 3.4cqw; font-weight: 430; line-height: 1.62; }
.ct-flavor { top: 140.2cqw; font-size: 3.4cqw; font-weight: 600; color: var(--amber); }
.ct-size { top: 169.3cqw; font-size: 3cqw; font-weight: 400; color: var(--bone); }
.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  color: var(--white);
  border: 1.5px solid rgba(234, 230, 226, 0.6);
  border-radius: 999px;
  padding: 8px 18px;
  background: rgba(28, 28, 29, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.pill-arr { color: var(--mint); font-size: 15px; }
.pill-1 { top: 20%; left: -24%; }
.pill-2 { top: 38%; right: -27%; }
.pill-3 { top: 72%; right: -24%; }
.can-caption {
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* why-12g aside */
.anchor12 {
  margin-top: 36px;
  padding: 22px 26px;
  border-left: 2px solid var(--mint);
  background: rgba(181, 223, 211, 0.05);
  max-width: 56ch;
}
.anchor12 h3 { font-size: 16px; margin-bottom: 10px; }
.anchor12 p { font-size: 14.5px; color: var(--bone); }

/* formula */
.formula-table { margin-top: 48px; }
.fgroup {
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 34px 0 6px;
}
.formula-table .fgroup:first-child { margin-top: 0; }
.frow {
  display: grid;
  grid-template-columns: minmax(180px, 300px) 34px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.frow:last-child { border-bottom: 1px solid var(--line); }
.frow:hover { background: rgba(181, 223, 211, 0.045); }
.fing { color: var(--mint); font-weight: 650; font-size: clamp(16px, 1.8vw, 19px); letter-spacing: 0.01em; }
.fdesc { color: var(--bone); font-size: clamp(15px, 1.7vw, 17.5px); }
.formula .fine { margin-top: 26px; }

/* ethos */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 920px; }
.engines .body, .spectrum .body { margin-top: 30px; }
.spectrum .ethos-close { margin-top: 48px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(234, 230, 226, 0.07);
  padding: clamp(24px, 3vw, 38px);
}
.card h3 { margin-bottom: 14px; }
.card p { font-size: 15.5px; color: var(--bone); }
.ethos h2 { max-width: none; }
.ethos-close {
  margin-top: 58px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* access */
.access { text-align: left; }
.access-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 520px;
}
.access-form input {
  flex: 1 1 260px;
  background: var(--surface);
  border: 1.5px solid rgba(234, 230, 226, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-family: "Albert Sans", sans-serif;
  font-size: 15.5px;
  padding: 14px 24px;
  outline: none;
  transition: border-color 0.2s;
}
.access-form input::placeholder { color: var(--dim); }
.access-form input:focus { border-color: var(--mint); }
.form-msg { margin-top: 16px; font-size: 15px; color: var(--mint); min-height: 22px; }
.access .fine { margin-top: 8px; }

/* finale — open sky reserved for the full Praxus X constellation */
.finale { height: clamp(520px, 74vh, 700px); }

/* ---------- films page ---------- */
.nav-links > .nav-current { color: var(--mint) !important; opacity: 1 !important; }
.hero-films { min-height: 88svh; }
.films-grid { grid-template-columns: repeat(3, 1fr); }
.chip {
  display: inline-block;
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.chip-live { color: var(--mint); border-color: rgba(181, 223, 211, 0.4); }
.film-card h3 { color: var(--white); }
.film-line { font-size: 15px; color: var(--bone); margin-top: 10px; }
.film-meta {
  margin-top: 18px;
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.people-grid { grid-template-columns: repeat(3, 1fr); }
.team .people-grid { max-width: 640px; grid-template-columns: repeat(2, 1fr); }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--mint);
  margin-bottom: 18px;
}
.avatar.dim { border-color: var(--line); color: var(--dim); }
.person h3 { color: var(--white); }
.person-role {
  margin-top: 4px;
  font-family: "Space Grotesk", monospace, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}
.person.scouting .person-role { color: var(--dim); }
.person-line { font-size: 14.5px; color: var(--bone); margin-top: 12px; }
.team .fine a { color: var(--mint); }
.films-close .ethos-close { margin-top: 34px; }
.films-close .body + .body { margin-top: 18px; }
@media (max-width: 900px) {
  .films-grid, .people-grid, .team .people-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: rgba(28, 28, 29, 0.6);
}
.footer-icon { height: 30px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 12px; font-size: 14.5px; color: var(--bone); }
.footer-links a:hover { color: var(--mint); }
.footer .fine.dim { max-width: 62ch; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- glyph sky bands ----------
   reserved open sky between sections where the constellations live.
   Zero-height on desktop (glyphs place in the margins there); on
   phones the column fills the width, so each glyph gets its own band.
   Breakpoint matches the universe engine's mobile cutoff (700px). */
.sky { height: 0; }
@media (max-width: 700px) {
  .sky { height: clamp(300px, 52vh, 440px); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product-visual { order: -1; margin-top: 20px; }
  .pill-1 { left: -6%; }
  .pill-2 { right: -8%; }
  .pill-3 { right: -5%; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; gap: 4px; }
  .frow .arrow { display: none; }
  .hero-foot span:last-child { display: none; }
}
@media (max-width: 640px) {
  .nav-links > a:not(.btn) { display: none; }
  .nav-toggle { display: block; }
  h2 { max-width: none; }
  .pill { font-size: 12.5px; padding: 6px 14px; }
  .pill-3 { top: 80%; right: -8%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}
