/* ================================================
   SOUND SOCIETIES — Landing Page
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --forest:    #162B0A;
  --canopy:    #2A5218;
  --leaf:      #4E8B2A;
  --moss:      #7BAF52;
  --meadow:    #B8D494;
  --sun:       #D4A82A;
  --amber:     #E8C56D;
  --cream:     #F5EFE0;
  --parchment: #EDE4CF;
  --bark:      #6B4A2A;
  --ink:       #1A1608;
  --mist:      #5C5438;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w:   1100px;
  --pad-sec: clamp(60px, 9vw, 110px);
  --pad-x:   clamp(1.25rem, 5vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ================================================
   TYPOGRAPHY HELPERS
   ================================================ */

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.875rem;
}

.section-label.light { color: var(--moss); }

.section-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.section-headline.light { color: var(--cream); }

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--sun);
  color: var(--forest);
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 168, 42, 0.38);
}

.btn-submit {
  background: var(--sun);
  color: var(--forest);
  font-size: 1rem;
  padding: 1rem 2.5rem;
  margin-top: 0.25rem;
}

.btn-submit:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 168, 42, 0.38);
}

/* ================================================
   NAV
   ================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.125rem 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
  background: rgba(22, 43, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--meadow);
  letter-spacing: 0.01em;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--amber);
  border: 1px solid rgba(232, 197, 109, 0.38);
  padding: 0.45rem 1.125rem;
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: rgba(232, 197, 109, 0.1);
  border-color: var(--amber);
}

/* ================================================
   HERO
   ================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--forest);
  display: flex;
  align-items: center;
  padding: clamp(100px, 14vw, 140px) var(--pad-x) clamp(90px, 10vw, 120px);
  overflow: hidden;
}

/* Golden sun radiance */
.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(212, 168, 42, 0.32) 0%,
    rgba(212, 168, 42, 0.08) 42%,
    transparent 68%
  );
  border-radius: 50%;
  animation: sunPulse 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.1); opacity: 0.8; }
}

/* Organic drifting blob */
.hero-blob {
  position: absolute;
  bottom: 60px;
  right: 5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    ellipse,
    rgba(42, 82, 24, 0.55) 0%,
    transparent 68%
  );
  border-radius: 58% 42% 68% 32% / 52% 58% 42% 48%;
  animation: blobDrift 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blobDrift {
  0%, 100% { border-radius: 58% 42% 68% 32% / 52% 58% 42% 48%; }
  33%       { border-radius: 42% 58% 48% 52% / 60% 38% 62% 40%; }
  66%       { border-radius: 52% 48% 38% 62% / 42% 60% 48% 52%; }
}

/* Subtle tech grid — accelerationism hint within solarpunk */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 139, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 139, 42, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Fern botanical */
.hero-botanical {
  position: absolute;
  right: 8%;
  bottom: 80px;
  width: min(200px, 22vw);
  opacity: 0.45;
  pointer-events: none;
}

.hero-botanical svg {
  width: 100%;
  height: auto;
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.25rem, 9vw, 7rem);
  line-height: 1.03;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero-headline em {
  color: var(--amber);
  font-style: italic;
}

.hero-body {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--meadow);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Curve into next section */
.curve-down {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.curve-down svg,
.curve-up svg {
  width: 100%;
  display: block;
}

/* ================================================
   VISION
   ================================================ */

.vision {
  background: var(--cream);
  padding: var(--pad-sec) 0;
}

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

.vision-text p {
  font-size: 1.0625rem;
  color: var(--mist);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.vision-text p:last-child { margin-bottom: 0; }

.vision-accent {
  font-family: var(--font-display) !important;
  font-size: 1.125rem !important;
  font-style: italic;
  font-weight: 500;
  color: var(--leaf) !important;
}

.vision-aside {
  padding-top: 4rem;
}

.sun-motif {
  width: 148px;
  height: 148px;
  opacity: 0.65;
}

/* ================================================
   PILLARS
   ================================================ */

.pillars {
  background: var(--canopy);
  padding: var(--pad-sec) 0;
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(212, 168, 42, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(78, 139, 42, 0.10) 0%, transparent 50%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 212, 148, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--meadow);
  line-height: 1.72;
}

/* ================================================
   MANIFESTO
   ================================================ */

.manifesto {
  background: var(--parchment);
  padding: calc(var(--pad-sec) * 1.15) 0;
}

.manifesto-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.manifesto-ornament {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
}

.manifesto-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.5vw, 2.25rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  color: var(--ink);
}

.manifesto-inner blockquote em {
  font-style: italic;
  color: var(--leaf);
}

/* ================================================
   CONNECT / APPLY
   ================================================ */

.connect {
  background: var(--forest);
  padding-bottom: var(--pad-sec);
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(212, 168, 42, 0.06) 0%, transparent 45%);
}

.curve-up {
  line-height: 0;
}

.connect .container {
  padding-top: 2.5rem;
}

.connect-intro {
  font-size: 1.0625rem;
  color: var(--meadow);
  max-width: 500px;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
  background: var(--ink);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--meadow);
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-transform: uppercase;
}

.footer-email {
  font-size: 0.875rem;
  color: var(--moss);
  transition: color 0.2s ease;
}

.footer-email:hover { color: var(--meadow); }

.footer-rule {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-rule svg {
  width: 320px;
  height: 40px;
}

.footer-copy {
  text-align: center;
  font-size: 0.6875rem;
  color: rgba(90, 84, 56, 0.45);
  letter-spacing: 0.04em;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.pillar-card.reveal:nth-child(3) { transition-delay: 0.24s; }

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 880px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-aside { display: none; }
  .hero-botanical { display: none; }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .connect-form { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-blob { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
