:root {
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --bg: #0a0a0f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   JEMMA GLOW — applied to every "jemma" mention
   ============================================ */

.jemma-glow {
  text-shadow:
    0 0 12px rgba(168, 85, 247, 0.4),
    0 0 30px rgba(168, 85, 247, 0.15);
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem;
  position: relative;
}

.tagline {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3rem;
  animation: fade-up 3s ease-out 1s both;
}

/* Scroll cue — bouncing chevron */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fade-up 1.5s ease-out 2.5s both;
}

.scroll-cue svg {
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
}

/* ============================================
   ORB
   ============================================ */

.orb-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
}

.orb {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-glow {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.15) 0%,
    rgba(147, 51, 234, 0.05) 40%,
    transparent 70%
  );
  animation: glow-pulse 4s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  animation: ring-breathe 4s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.4),
    0 0 80px rgba(168, 85, 247, 0.2),
    0 0 120px rgba(147, 51, 234, 0.1),
    inset 0 0 30px rgba(168, 85, 247, 0.15),
    inset 0 0 60px rgba(147, 51, 234, 0.05);
}

/* ============================================
   SUMMIT CALLOUT
   ============================================ */

.summit {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.summit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(
    ellipse 60% 50% at 50% 55%,
    rgba(147, 51, 234, 0.20) 0%,
    rgba(147, 51, 234, 0.10) 30%,
    rgba(147, 51, 234, 0.03) 55%,
    transparent 75%
  );
  pointer-events: none;
}

.summit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(168, 85, 247, 0.4),
    transparent
  );
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.summit-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 1.25rem;
  position: relative;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.4);
}

.summit-headline {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  position: relative;
}

.summit-details {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  position: relative;
}

.summit-hint {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.5rem;
  position: relative;
}

.summit-hint-link {
  color: var(--purple-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.35);
  padding: 0.5rem 0.25rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.summit-hint-link:hover,
.summit-hint-link:focus {
  color: var(--purple-300);
  border-bottom-color: var(--purple-300);
}

/* ============================================
   HERO BELOW — headline + clarifier
   ============================================ */

#content {
  position: relative;
}

.hero-below {
  max-width: 880px;
  margin: 0 auto;
  padding: 6rem 2rem 6rem;
  text-align: center;
}

.hero-below h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #b4a0e8;
  margin-bottom: 2.25rem;
  text-shadow:
    0 0 18px rgba(168, 85, 247, 0.25),
    0 0 40px rgba(147, 51, 234, 0.12);
}

.hero-below .clarifier {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 740px;
  margin: 0 auto;
}

/* ============================================
   SECTION SEPARATOR — reusable purple gradient
   ============================================ */

.section-separator {
  width: 100%;
  max-width: 960px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(168, 85, 247, 0.08) 15%,
    rgba(168, 85, 247, 0.4) 50%,
    rgba(168, 85, 247, 0.08) 85%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

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

.pillars-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 16px;
  padding: 2.25rem 2.25rem;
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.06),
    0 0 60px rgba(147, 51, 234, 0.03);
}

.pillar h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.pillar h3 .pillar-name {
  color: var(--purple-400);
}

.pillar h3 .dash {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

.pillar p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

/* Anchor line below pillars */
.anchor-line {
  text-align: center;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
  padding-top: 0.5rem;
}

.anchor-line em {
  font-style: italic;
  color: var(--purple-400);
  text-shadow:
    0 0 12px rgba(168, 85, 247, 0.35),
    0 0 24px rgba(168, 85, 247, 0.15);
}

/* ============================================
   EXPERTISE / ABOUT JEMMA
   ============================================ */

.expertise-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 16px;
  padding: 3rem 2.75rem;
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.06),
    0 0 60px rgba(147, 51, 234, 0.03);
  text-align: left;
}

.expertise-card .section-title {
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.expertise-card .section-title .jemma-glow {
  color: var(--purple-400);
}

.expertise-subsection {
  margin-bottom: 2rem;
}

.expertise-subsection:last-child {
  margin-bottom: 0;
}

.expertise-subsection .subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-400);
  display: inline;
}

.expertise-subsection .sub-dash {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  margin: 0 0.4rem;
  font-size: 0.95rem;
}

.expertise-subsection .inline-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  display: inline;
}

.expertise-subsection strong {
  color: #fff;
  font-weight: 400;
}

.expertise-subsection ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.expertise-subsection ul li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 1.25rem;
  position: relative;
}

.expertise-subsection ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: rgba(168, 85, 247, 0.6);
}

/* ============================================
   TECH FOUNDATION — quiet footnote
   ============================================ */

.tech-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
  text-align: left;
}

.tech-section .tech-content {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.4);
  max-width: 680px;
  margin: 0 auto;
  border-left: 2px solid rgba(168, 85, 247, 0.18);
  padding-left: 1.5rem;
}

/* ============================================
   CTA + FORM
   ============================================ */

.cta-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 8.75rem 2rem 7.5rem; /* ~140px top per Hila spec */
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 400;
  margin-bottom: 3rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.cta-section h2 .jemma-glow {
  color: var(--purple-400);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 16px;
  padding: 2.75rem 2.75rem;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.06);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-field input[type="text"],
.form-field input[type="email"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input:focus {
  border-color: var(--purple-500);
  background: rgba(255, 255, 255, 0.06);
}

.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px; /* generous tap target */
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.checkbox-option.muted-option {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.checkbox-option input[type="checkbox"] {
  accent-color: var(--purple-500);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.submit-btn {
  width: 100%;
  min-height: 48px;
  padding: 0.95rem;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--purple-300);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.1s ease;
  margin-top: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.submit-btn:hover,
.submit-btn:focus {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
}

.submit-btn:active {
  transform: translateY(1px);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.6);
}

.form-status.success {
  color: var(--purple-300);
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.form-status.error {
  color: #f9a8a8;
}

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

.site-footer {
  text-align: center;
  padding: 3rem 2rem 4rem;
}

.site-footer p {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--purple-400);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes ring-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 30px rgba(168, 85, 247, 0.4),
      0 0 80px rgba(168, 85, 247, 0.2),
      0 0 120px rgba(147, 51, 234, 0.1),
      inset 0 0 30px rgba(168, 85, 247, 0.15),
      inset 0 0 60px rgba(147, 51, 234, 0.05);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 50px rgba(168, 85, 247, 0.6),
      0 0 100px rgba(168, 85, 247, 0.3),
      0 0 160px rgba(147, 51, 234, 0.15),
      inset 0 0 40px rgba(168, 85, 247, 0.2),
      inset 0 0 80px rgba(147, 51, 234, 0.08);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

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

@media (max-width: 640px) {
  .orb-wrapper {
    width: 120px;
    height: 120px;
  }

  .summit {
    padding: 5rem 1.5rem;
  }

  /* New landing sections — mobile responsive */

  .hero-below {
    padding: 4rem 1.5rem 3.5rem;
  }

  .hero-below h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin-bottom: 1.75rem;
  }

  .hero-below .clarifier {
    font-size: 1rem;
    line-height: 1.7;
  }

  .pillars-section {
    padding: 1.5rem 1.5rem 3rem;
  }

  .pillars-grid {
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .pillar {
    padding: 1.75rem 1.5rem;
  }

  .pillar h3 {
    font-size: 1.1rem;
  }

  .anchor-line {
    font-size: 1.05rem;
    padding: 0 0.5rem;
  }

  .expertise-section {
    padding: 3rem 1.5rem 2.5rem;
  }

  .expertise-card {
    padding: 2.25rem 1.75rem;
  }

  .expertise-card .section-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .expertise-subsection {
    margin-bottom: 1.75rem;
  }

  .tech-section {
    padding: 1rem 1.5rem 3rem;
  }

  .tech-section .tech-content {
    padding-left: 1.25rem;
    font-size: 0.85rem;
  }

  .cta-section {
    padding: 6rem 1.5rem 5rem;
  }

  .cta-section h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem);
    margin-bottom: 2.25rem;
  }

  .form-container {
    padding: 2.25rem 1.75rem;
  }

  /* Stack form fields below 480px per Hila spec */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Summit hint link — full-line tap target on mobile */
  .summit-hint-link {
    display: block;
    padding: 0.75rem 0.5rem;
  }
}
