@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  --sand: #f5e6d3;
  --deep: #0a0a0f;
  --moon: #e8d5ff;
  --glow: #ff6b35;
  --witch: #9b59b6;
  --foam: rgba(255,255,255,0.06);
}

html, body { max-width: 100%; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(155,89,182,0.15), transparent 24rem),
    radial-gradient(circle at 18% 82%, rgba(255,107,53,0.12), transparent 28rem),
    linear-gradient(180deg, #0a0a0f 0%, #10101a 56%, #0a0a0f 100%);
  color: var(--sand);
  font-family: 'Space Grotesk', sans-serif;
}

a { color: inherit; }

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  animation: twinkle var(--dur) ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: var(--max-op); }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem clamp(1.2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(10,10,15,0.70), rgba(10,10,15,0));
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(245,230,211,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: lowercase;
}

.brand img {
  width: 26px;
  height: 26px;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(245,230,211,0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.moon-logo {
  position: absolute;
  top: 12vh;
  right: 10vw;
  z-index: 1;
  width: 140px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(232,213,255,0.4)) drop-shadow(0 0 80px rgba(155,89,182,0.2));
  animation: moonFloat 8s ease-in-out infinite;
}

@keyframes moonFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

h1,
.page-title {
  color: var(--sand);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--sand) 0%, var(--moon) 40%, var(--glow) 70%, var(--sand) 100%);
  background-size: 300% 300%;
  background-clip: text;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1.1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tagline {
  margin-bottom: 3rem;
  color: var(--moon);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  opacity: 0.75;
  text-transform: lowercase;
}

.divider {
  width: 60px;
  height: 1px;
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--witch), var(--glow), var(--witch), transparent);
  animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {
  0%, 100% { width: 60px; opacity: 0.5; }
  50% { width: 120px; opacity: 1; }
}

.manifesto {
  max-width: 500px;
  color: rgba(245,230,211,0.5);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
}

.manifesto span { color: var(--moon); font-weight: 500; }
.manifesto .hot { color: var(--glow); }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  color: rgba(245,230,211,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: cueBob 2.4s ease-in-out infinite;
}

@keyframes cueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}

.section {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.4rem, 5vw, 3rem);
}

.page {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.section-tag {
  margin-bottom: 1.2rem;
  color: var(--glow);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  opacity: 0.8;
  text-transform: uppercase;
}

.section h2 {
  margin-bottom: 1.6rem;
  color: var(--sand);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
}

.page-title {
  margin-bottom: 1.6rem;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  color: rgba(245,230,211,0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.9;
}

.lead strong { color: var(--moon); font-weight: 500; }

.pillars,
.ventures {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillars { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ventures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.pillar,
.venture,
.contact-card,
.contact-form,
.legal-block {
  border: 1px solid var(--foam);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.pillar { padding: 1.8rem; }

.pillar h3 {
  margin-bottom: 0.7rem;
  color: var(--moon);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.pillar p,
.venture p,
.legal-block p,
.form-note {
  color: rgba(245,230,211,0.58);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
}

.venture {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  text-decoration: none;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.venture::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,107,53,0.10), transparent 55%);
  content: '';
  opacity: 0;
  transition: opacity 0.4s ease;
}

.venture:hover {
  border-color: rgba(155,89,182,0.4);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

.venture:hover::before { opacity: 1; }

.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.venture h3 {
  color: var(--sand);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
}

.cat {
  flex: 0 0 auto;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--foam);
  border-radius: 20px;
  color: rgba(232,213,255,0.7);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.venture p { flex-grow: 1; }

.venture-link {
  margin-top: 1.4rem;
  color: var(--glow);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  opacity: 0.85;
  text-transform: uppercase;
}

.venture.soon { cursor: default; }
.venture.soon .venture-link { color: rgba(232,213,255,0.5); }

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255,107,53,0.42);
  border-radius: 8px;
  background: rgba(255,107,53,0.10);
  color: var(--sand);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.button:hover {
  border-color: rgba(255,107,53,0.85);
  background: rgba(255,107,53,0.18);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-form,
.contact-card,
.legal-block {
  padding: 1.8rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span,
.contact-item .label {
  color: rgba(245,230,211,0.38);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(10,10,15,0.72);
  color: var(--sand);
  font: inherit;
  padding: 0.9rem 1rem;
}

.contact-form textarea { resize: vertical; }

.contact-card {
  display: grid;
  align-content: start;
  gap: 1.35rem;
}

.contact-item a,
.contact-item .val {
  display: inline-block;
  max-width: 100%;
  color: var(--moon);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover,
.legal a,
.footer a { color: var(--glow); }

.legal-block {
  margin-top: 1.5rem;
}

.legal-block h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal a { text-decoration: none; }

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--foam);
  padding: 2.5rem 1.4rem;
  color: rgba(245,230,211,0.32);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  line-height: 2.2;
  text-align: center;
  text-transform: uppercase;
}

.footer a { text-decoration: none; }

.particle {
  position: fixed;
  z-index: 1;
  max-width: 6px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: particleFloat var(--dur) ease-in-out infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: var(--max-op); }
  90% { opacity: var(--max-op); }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.trail {
  position: fixed;
  z-index: 999;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (max-width: 820px) {
  .moon-logo { width: 90px; top: 11vh; right: 6vw; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .nav {
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
  }

  .brand span {
    max-width: 13rem;
    line-height: 1.4;
  }

  .nav-links { display: none; }
  .hero { padding-inline: 1.2rem; }
  .tagline { letter-spacing: 0.18em; }
  .venture-top { align-items: flex-start; flex-direction: column; }
  .cat { white-space: normal; }
  .footer { letter-spacing: 0.12em; }
}
