/* ================================================
   PARABLE STUDIOS - Design System
   Modern container, fantasy content
   ================================================ */

/* ------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------ */
:root {
  /* Colors */
  --color-molten: #ff6b35;
  --color-amber: #ffaa00;
  --color-cream: #faf8f5;
  --color-warm-gray: #2d2a26;
  --color-near-black: #1a1817;
  --color-off-white: #f5f3f0;

  /* Gradients */
  --gradient-dark: linear-gradient(135deg, var(--color-warm-gray) 0%, var(--color-near-black) 100%);
  --gradient-hero: radial-gradient(ellipse at center, var(--color-warm-gray) 0%, var(--color-near-black) 70%);
  --gradient-molten: linear-gradient(135deg, var(--color-molten) 0%, var(--color-amber) 100%);

  /* Typography */
  --font-display: 'Karla', 'Outfit', sans-serif;
  --font-body: 'DM Sans', 'Satoshi', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Angles */
  --angle-cut: 4deg;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);

  /* Z-index scale */
  --z-base: 1;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 1000;
}

/* ------------------------------------------------
   Reset & Base
   ------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-near-black);
  background-color: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ------------------------------------------------
   Typography
   ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  max-width: 65ch;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tag--molten { color: var(--color-molten); }
.tag--amber { color: var(--color-amber); }

/* ------------------------------------------------
   Layout Utilities
   ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 1000px;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2-3 { grid-template-columns: 2fr 3fr; }
.grid--3-2 { grid-template-columns: 3fr 2fr; }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--2-3, .grid--3-2 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------
   Navigation
   ------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-sm) var(--space-md);
  transition: background var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out);
}

.nav--solid {
  background: rgba(45, 42, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-off-white);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-off-white);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-molten);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-molten);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-off-white);
  transition: transform var(--duration-fast) var(--ease-out);
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--color-warm-gray);
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
    transition: right var(--duration-normal) var(--ease-out);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* ------------------------------------------------
   Sections - Base Styles
   ------------------------------------------------ */
.section {
  position: relative;
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--color-warm-gray);
  color: var(--color-off-white);
}

.section--light {
  background: var(--color-cream);
  color: var(--color-near-black);
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Angled transitions */
.section--angled-top {
  margin-top: -60px;
  padding-top: calc(var(--space-xl) + 60px);
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
}

.section--angled-top-reverse {
  margin-top: -60px;
  padding-top: calc(var(--space-xl) + 60px);
  clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
}

/* ------------------------------------------------
   Hero Section
   ------------------------------------------------ */
.hero {
  text-align: center;
  position: relative;
  z-index: var(--z-base);
}

.hero__animation-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: 0 auto var(--space-lg);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a1817 0%, #2d2a26 50%, #1a1817 100%);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero__animation-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 170, 0, 0.1) 0%, transparent 50%),
    var(--gradient-dark);
  overflow: hidden;
}

.hero__animation-placeholder::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 107, 53, 0.03) 10px,
      rgba(255, 107, 53, 0.03) 20px
    );
  animation: shimmer 20s linear infinite;
}

@keyframes shimmer {
  0% { transform: translate(-50%, -50%); }
  100% { transform: translate(0%, 0%); }
}

.hero__animation-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-amber);
  opacity: 0.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__content {
  position: relative;
}

.hero__title {
  color: var(--color-off-white);
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-amber);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn--primary {
  background: var(--gradient-molten);
  color: white;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(255, 107, 53, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 53, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--color-off-white);
  border: 2px solid var(--color-off-white);
}

.btn--secondary:hover {
  background: var(--color-off-white);
  color: var(--color-near-black);
}

/* ------------------------------------------------
   Content Sections
   ------------------------------------------------ */
.section__header {
  margin-bottom: var(--space-lg);
}

.section__tag {
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__content {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 769px) {
  .section__content--split {
    grid-template-columns: 2fr 3fr;
    align-items: center;
  }

  .section__content--split-reverse {
    grid-template-columns: 3fr 2fr;
  }

  .order-first-desktop {
    order: -1;
  }

  .section__content--split-wide {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

/* Pain Points List */
.pain-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pain-point {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.pain-point__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-molten);
  line-height: 1;
  min-width: 2.5rem;
}

.pain-point__text {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Illustration Frame */
.illustration-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-frame-short {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  aspect-ratio: 5.4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Illustration Frame */
.illustration-frame-long {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-frame--dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.illustration-placeholder {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--color-molten);
  opacity: 0.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-md);
}

/* ------------------------------------------------
   Cards - The Loop
   ------------------------------------------------ */
.loop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

.loop-cards::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-molten) 0,
    var(--color-molten) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.3;
  z-index: 0;
}

@media (max-width: 768px) {
  .loop-cards {
    grid-template-columns: 1fr;
  }

  .loop-cards::before {
    display: none;
  }
}

.loop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--space-md);
  text-align: center;
  position: relative;
  z-index: var(--z-base);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.loop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.loop-card__stage {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-amber);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.loop-card__image {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-off-white);
}

.loop-card__desc {
  font-size: 0.9375rem;
  color: rgba(245, 243, 240, 0.7);
  line-height: 1.5;
}

/* ------------------------------------------------
   Benefit Cards
   ------------------------------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: white;
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.benefit-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-near-black);
}

.benefit-card__desc {
  font-size: 0.9375rem;
  color: rgba(26, 24, 23, 0.7);
  line-height: 1.5;
}

/* ------------------------------------------------
   Authenticity Points
   ------------------------------------------------ */
.auth-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.auth-point {
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-molten);
}

.auth-point__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-off-white);
}

.auth-point__desc {
  font-size: 1rem;
  color: rgba(245, 243, 240, 0.8);
  line-height: 1.6;
}

/* ------------------------------------------------
   News Section
   ------------------------------------------------ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__body {
  padding: var(--space-md);
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--color-amber);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.news-card__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-near-black);
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: rgba(26, 24, 23, 0.7);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-molten);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--duration-fast) var(--ease-out);
}

.news-card__link:hover {
  gap: 0.5rem;
}

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */
.footer {
  background: var(--color-warm-gray);
  color: var(--color-off-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

@media (max-width: 768px) {
  .footer__logo {
    justify-content: center;
  }
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(245, 243, 240, 0.6);
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .footer__nav {
    flex-direction: column;
    gap: var(--space-md);
  }
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(245, 243, 240, 0.8);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-molten);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-end;
}

@media (max-width: 768px) {
  .footer__contact {
    align-items: center;
  }
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--color-molten);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__email {
  font-size: 0.875rem;
  color: rgba(245, 243, 240, 0.8);
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(245, 243, 240, 0.5);
}

/* ------------------------------------------------
   Scroll Animations
   ------------------------------------------------ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 500ms; }
.stagger-7 { transition-delay: 600ms; }
.stagger-8 { transition-delay: 700ms; }
.stagger-9 { transition-delay: 800ms; }
.stagger-10 { transition-delay: 900ms; }

/* Hero specific animations */
.hero__animation-frame {
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero__title {
  animation: heroFadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero__tagline {
  animation: heroFadeUp 0.8s var(--ease-out) 0.6s both;
}

.hero .btn {
  animation: heroFadeUp 0.8s var(--ease-out) 0.8s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax */
.parallax-slow {
  will-change: transform;
}

/* Sticky sidebar */
@media (min-width: 769px) {
  .sticky-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

/* ------------------------------------------------
   Forms (shared)
   ------------------------------------------------ */
.eoi-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-off-white);
  letter-spacing: 0.05em;
}

.form-label--required::after {
  content: ' *';
  color: var(--color-molten);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-off-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(245, 243, 240, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-molten);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f3f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--color-warm-gray);
  color: var(--color-off-white);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-molten);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: rgba(245, 243, 240, 0.7);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-amber);
  text-decoration: underline;
}

.form-submit {
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

.eoi-form.is-submitting .btn {
  opacity: 0.7;
  pointer-events: none;
}

.eoi-form.is-submitting .btn::after {
  content: '...';
}

.form-success,
.form-error {
  text-align: center;
  padding: var(--space-lg);
  border-radius: 12px;
  display: none;
}

.form-success.is-visible,
.form-error.is-visible {
  display: block;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
  stroke: #22c55e;
}

.form-success__title {
  font-size: 1.25rem;
  color: var(--color-off-white);
  margin-bottom: var(--space-xs);
}

.form-success__desc {
  font-size: 1rem;
  color: rgba(245, 243, 240, 0.7);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-error__title {
  font-size: 1.125rem;
  color: #ef4444;
  margin-bottom: var(--space-xs);
}

.form-error__desc {
  font-size: 0.9375rem;
  color: rgba(245, 243, 240, 0.7);
}

/* ------------------------------------------------
   EOI Section
   ------------------------------------------------ */
.eoi-section {
  padding: var(--space-xl) 0;
}

.eoi-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: var(--space-xl);
}

@media (max-width: 640px) {
  .eoi-container {
    padding: var(--space-md);
    border-radius: 16px;
  }
}

.eoi-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.eoi-header__title {
  color: var(--color-off-white);
  margin-bottom: var(--space-sm);
}

.eoi-header__desc {
  font-size: 1rem;
  color: rgba(245, 243, 240, 0.7);
  line-height: 1.6;
}

/* ------------------------------------------------
   FAQ Section
   ------------------------------------------------ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
}

.faq-item__question {
  font-size: 1.125rem;
  color: var(--color-off-white);
  margin-bottom: var(--space-xs);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__answer {
  font-size: 1rem;
  color: rgba(245, 243, 240, 0.7);
  line-height: 1.6;
  padding-right: var(--space-lg);
}

/* Light section FAQ overrides */
.section--light .faq-item {
  border-bottom-color: rgba(26, 24, 23, 0.1);
}

.section--light .faq-item__question {
  color: var(--color-near-black);
}

.section--light .faq-item__answer {
  color: rgba(26, 24, 23, 0.7);
}

/* ------------------------------------------------
   Preloader
   ------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  width: 80px;
  height: 80px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ------------------------------------------------
   Grain Overlay (subtle texture)
   ------------------------------------------------ */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
