/* ============================================================
   VULLON SPACE™ — Chapter 001 Landing Page
   Brand system: Futura (Jost fallback) / Space Grotesk / #CC5500
   ============================================================ */

@font-face {
  font-family: "Vullon Display";
  src: url("fonts/jost/Jost-400-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Display";
  src: url("fonts/jost/Jost-500-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Display";
  src: url("fonts/jost/Jost-600-Semi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Display";
  src: url("fonts/jost/Jost-700-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Text";
  src: url("fonts/spacegrotesk/SpaceGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Text";
  src: url("fonts/spacegrotesk/SpaceGrotesk-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vullon Text";
  src: url("fonts/spacegrotesk/SpaceGrotesk-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #0A0A0A;
  --carbon: #171717;
  --graphite: #2B2B2B;
  --space-white: #F3F1EB;
  --signal-white: #FFFFFF;
  --steel: #9B9B96;
  --orange: #CC5500;
  --burnt-shadow: #7A3300;

  --font-display: "Vullon Display", "Futura PT", "Futura", "Century Gothic", sans-serif;
  --font-text: "Vullon Text", "Space Grotesk", "Futura PT", sans-serif;

  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--space-white);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.tm { font-size: 0.5em; vertical-align: super; margin-left: 0.05em; }

/* subtle film-grain overlay for a premium, non-flat feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 22px) clamp(20px, 5vw, 56px);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(243,241,235,0.06);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.brand-mark__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--signal-white);
}

.brand-mark__space { color: var(--orange); margin-left: 0.35em; }

.site-header__chapter {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero__bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center 30%;
  filter: blur(4px) brightness(0.5) saturate(0.85);
  transform: scale(1.06);
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(10,10,10,0.35), rgba(10,10,10,0.72) 55%, rgba(10,10,10,0.94) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__emblem {
  width: clamp(56px, 9vw, 84px);
  height: auto;
  border-radius: 50%;
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px rgba(243,241,235,0.08), 0 20px 60px rgba(0,0,0,0.5);
}

.eyebrow {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--orange);
  margin: 0 0 18px;
}
.eyebrow--center { text-align: center; }

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin: 0;
  color: var(--signal-white);
  text-transform: uppercase;
}

.hero__wordmark-space {
  font-weight: 400;
  color: var(--space-white);
  margin-left: 0.28em;
  letter-spacing: 0.14em;
}

.hero__chapter {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(12px, 2vw, 15px);
  letter-spacing: 0.42em;
  color: var(--orange);
  margin: 22px 0 0;
  text-transform: uppercase;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--steel);
  margin: 14px 0 40px;
  text-transform: uppercase;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px 2px rgba(204,85,0,0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero__manifesto {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--space-white);
  opacity: 0.85;
  margin: 0 0 44px;
  text-transform: uppercase;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border: 1px solid rgba(243,241,235,0.3);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--space-white);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.hero__scrollcue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(243,241,235,0), rgba(243,241,235,0.5));
  overflow: hidden;
}

.hero__scrollcue span {
  display: block;
  width: 1px;
  height: 16px;
  background: var(--orange);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: translateY(-16px); }
  100% { transform: translateY(46px); }
}

/* ---------------- Manifesto / brand story ---------------- */

.manifesto {
  scroll-margin-top: 90px;
  position: relative;
  background: var(--carbon);
  padding: clamp(72px, 11vw, 130px) 24px;
  border-top: 1px solid rgba(243,241,235,0.06);
}

.manifesto__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.manifesto__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: 0.06em;
  color: var(--signal-white);
  margin: 0 0 36px;
  text-transform: uppercase;
}

.manifesto__line {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: var(--space-white);
  opacity: 0.9;
  margin: 0 0 10px;
}

.manifesto__word {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.manifesto__statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.08em;
  color: var(--signal-white);
  margin: 36px 0 18px;
  text-transform: uppercase;
}

.manifesto__sub {
  font-family: var(--font-text);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin: 0 0 30px;
}

.manifesto__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--orange);
  margin: 0;
  text-transform: uppercase;
}

/* ---------------- Community / signup ---------------- */

.community {
  scroll-margin-top: 90px;
  position: relative;
  background: var(--void);
  padding: clamp(80px, 12vw, 140px) 24px;
  border-top: 1px solid rgba(243,241,235,0.06);
}

.community__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.community__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: var(--signal-white);
  margin: 0 0 22px;
  text-transform: uppercase;
}

.community__lead {
  font-family: var(--font-text);
  font-size: clamp(14px, 2vw, 16px);
  color: var(--space-white);
  margin: 0 0 10px;
}

.community__sub {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 48px;
}

.form-wrap {
  position: relative;
  min-height: 92px;
}

.join-form__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.join-form__input {
  flex: 1 1 auto;
  min-width: 240px;
  background: var(--carbon);
  border: 1px solid var(--graphite);
  color: var(--signal-white);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 18px 20px;
  outline: none;
  transition: border-color .25s ease;
}

.join-form__input::placeholder {
  color: var(--steel);
  letter-spacing: 0.12em;
}

.join-form__input:focus {
  border-color: var(--orange);
}

.join-form__input:invalid:not(:placeholder-shown) {
  border-color: var(--burnt-shadow);
}

.join-form__submit {
  position: relative;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--void);
  border: 1px solid var(--orange);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  padding: 18px 30px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, opacity .25s ease;
  white-space: nowrap;
}

.join-form__submit:hover,
.join-form__submit:focus-visible {
  background: var(--signal-white);
  border-color: var(--signal-white);
}

.join-form__submit[disabled] {
  cursor: default;
  opacity: 0.75;
}

.btn-spinner {
  display: none;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border: 2px solid rgba(10,10,10,0.35);
  border-top-color: var(--void);
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin .7s linear infinite;
}

.join-form__submit.is-loading .btn-spinner { display: inline-block; }
.join-form__submit.is-loading .btn-label { opacity: 0.75; }

@keyframes spin { to { transform: rotate(360deg); } }

.join-form__error {
  min-height: 18px;
  margin: 14px 0 0;
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #E8A268;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}


.community__privacy {
  margin: 46px 0 0;
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

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

.site-footer {
  background: var(--void);
  border-top: 1px solid rgba(243,241,235,0.06);
  padding: 56px 24px 40px;
}

.site-footer__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.site-footer__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  opacity: 0.9;
}

.site-footer__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--space-white);
  margin: 0;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  gap: 20px;
  margin: 6px 0 2px;
}

.social-row a {
  color: var(--steel);
  transition: color .25s ease, transform .25s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  color: var(--orange);
  transform: translateY(-2px);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.site-footer__handle {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin: 4px 0 0;
}

.footer-links a {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--space-white);
  opacity: 0.8;
  transition: color .25s ease, opacity .25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
  opacity: 1;
}

.site-footer__legal {
  font-family: var(--font-text);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  margin: 18px 0 0;
  text-transform: uppercase;
}

/* ---------------- Reveal-on-scroll ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 640px) {
  .hero { padding-top: 100px; }
  .hero__manifesto br { display: inline; }
  .join-form__row { flex-direction: column; }
  .join-form__input { flex: 0 0 auto; width: 100%; }
  .join-form__submit { width: 100%; }
  .hero__scrollcue { display: none; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero__content { max-width: 620px; }
}

@media (min-width: 1600px) {
  .community__inner, .site-footer__inner { max-width: 720px; }
}
