/* === Clara Futura World — Interactive Homepage === */
:root {
  --deep-navy: #0C2137;
  --surface: #122C45;
  --surface-2: #183552;
  --amber: #F2B54D;
  --silver: #A4AEB7;
  --cream: #E8E5DD;
  --muted: #B5BEC6;
  --faint: #B5BEC6;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--deep-navy);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Particle Canvas === */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(12, 33, 55, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(164, 174, 183, 0.1);
}
.nav-logo img {
  height: 45px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: color 180ms var(--ease-out);
}
.nav-links a:hover { color: var(--amber); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
/* Iframe mode: fixed hero height (vh is unreliable inside iframe) */
body.iframe-mode .hero {
  min-height: 800px;
  max-height: 900px;
}
body.iframe-mode .nav {
  display: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,33,55,0.5) 0%, rgba(12,33,55,0.8) 100%);
}

/* Hero frequency waves */
.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
}
.wave-svg {
  width: 100%;
  height: 100%;
}
.wave-1 {
  animation: waveShift1 8s ease-in-out infinite;
}
.wave-2 {
  animation: waveShift2 10s ease-in-out infinite;
}
.wave-3 {
  animation: waveShift3 12s ease-in-out infinite;
}
.wave-4 {
  animation: waveShift4 14s ease-in-out infinite;
}
.wave-5 {
  animation: waveShift5 6s ease-in-out infinite;
}
.wave-6 {
  animation: waveShift6 18s ease-in-out infinite;
}
@keyframes waveShift1 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-30px); }
}
@keyframes waveShift2 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}
@keyframes waveShift3 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-15px); }
}
@keyframes waveShift4 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}
@keyframes waveShift5 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}
@keyframes waveShift6 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(25px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Portrait with animated rings + FX canvas */
.hero-portrait-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 2.5rem;
}
.portrait-fx-canvas {
  position: absolute;
  inset: -80px;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  pointer-events: none;
  z-index: 0;
}
.hero-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
}
.portrait-ring {
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  border: 1px solid rgba(242, 181, 77, 0.25);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.portrait-ring-2 {
  inset: -24px;
  border-radius: 28px;
  border-color: rgba(242, 181, 77, 0.15);
  animation-delay: 1.5s;
}
.portrait-ring-3 {
  inset: -40px;
  border-radius: 34px;
  border-color: rgba(164, 174, 183, 0.08);
  animation-delay: 3s;
  animation-duration: 5s;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.hero h1 {
  font-size: clamp(2.75rem, 1rem + 5vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 40px rgba(242,181,77,0.25), 0 0 80px rgba(242,181,77,0.1);
}
.text-amber { color: var(--amber); }

.hero-tagline {
  font-size: clamp(1.125rem, 0.8rem + 0.8vw, 1.5rem);
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--amber);
  color: var(--deep-navy);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.cta-primary:hover {
  background: #e5a83e;
  transform: translateY(-1px);
}
/* Gold pulsating CTA */
.cta-gold {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--amber);
  color: var(--deep-navy);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  position: relative;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.cta-gold:hover {
  background: #e5a83e;
  transform: translateY(-1px);
}
.cta-pulse {
  animation: ctaGlow 2.8s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(242, 181, 77, 0.3),
      0 0 20px rgba(242, 181, 77, 0.1);
  }
  50% {
    box-shadow:
      0 0 16px rgba(242, 181, 77, 0.6),
      0 0 40px rgba(242, 181, 77, 0.25),
      0 0 60px rgba(242, 181, 77, 0.1);
  }
}

.cta-secondary {
  display: inline-block;
  padding: 0.875rem 2rem;
  color: var(--amber);
  text-decoration: none;
  border: 1px solid rgba(242, 181, 77, 0.4);
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.cta-secondary:hover {
  background: rgba(242, 181, 77, 0.1);
  border-color: var(--amber);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--amber) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* === Labels === */
.label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* === Sections === */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.section-dark {
  background: var(--deep-navy);
}
.section-surface {
  background: var(--surface);
}
.section h2 {
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 3rem;
}

/* === Services Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(164, 174, 183, 0.12);
  border-radius: 16px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), border-color 200ms, box-shadow 200ms;
}
.service-card:hover {
  border-color: rgba(242, 181, 77, 0.3);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-num {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 1rem;
}
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

/* Pulse animation for service icon */
.pulse-dot {
  animation: pulseDot 3s ease-in-out infinite;
}
.pulse-ring {
  animation: pulseRingAnim 3s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pulseRingAnim {
  0%, 100% { r: 6; opacity: 0.8; }
  50% { r: 14; opacity: 0; }
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === Wave Divider === */
.wave-divider {
  position: relative;
  z-index: 1;
  height: 80px;
  background: var(--surface);
  overflow: hidden;
}
.wave-divider-tall {
  height: 140px;
}
.wave-divider-dark {
  background: var(--deep-navy);
}
.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* === Research Cards === */
.research-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.research-card {
  position: relative;
  background: var(--deep-navy);
  border: 1px solid rgba(164, 174, 183, 0.15);
  border-radius: 14px;
  padding: 1.75rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), border-color 200ms;
}
.research-card:hover {
  border-color: rgba(242, 181, 77, 0.3);
}
.research-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.research-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(242,181,77,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.research-card h4 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.research-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.research-tag {
  display: inline-block;
  font-size: 0.6875rem;
  color: var(--amber);
  border: 1px solid rgba(242, 181, 77, 0.4);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  letter-spacing: 0.03em;
}
.research-card-link { margin: 0.85rem 0 0; }
.research-card-link .link-arrow { font-size: 0.875rem; }
.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.link-arrow {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: opacity 180ms;
}
.link-arrow:hover { opacity: 0.7; }

/* === Ecosystem Grid === */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.eco-card {
  background: var(--surface);
  border: 1px solid rgba(164, 174, 183, 0.12);
  border-radius: 14px;
  padding: 1.75rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), border-color 200ms, box-shadow 200ms;
}
.eco-card:hover {
  border-color: rgba(242, 181, 77, 0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.eco-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.eco-card h4 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.eco-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === Patent === */
.patent-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--deep-navy);
  border: 1px solid rgba(164, 174, 183, 0.15);
  border-radius: 14px;
  padding: 2rem;
  margin-top: 2rem;
}
.patent-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}
.patent-icon svg {
  width: 100%;
  height: 100%;
}
.patent-text h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.patent-meta {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

/* === Contact === */
.contact-container {
  text-align: center;
}
.tagline {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--silver);
  margin: 2rem 0 2.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(164, 174, 183, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 180ms var(--ease-out);
}
.contact-item:hover {
  border-color: rgba(242, 181, 77, 0.3);
}
.contact-label {
  font-size: 0.6875rem;
  color: var(--faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-value {
  font-size: 0.9375rem;
  color: var(--amber);
  font-weight: 500;
}
.tm-notice {
  font-size: 0.6875rem;
  color: var(--faint);
  max-width: 600px;
  margin: 2rem auto 1.5rem;
  line-height: 1.6;
  opacity: 0.7;
}
.address {
  font-size: 0.875rem;
  color: var(--faint);
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid rgba(164, 174, 183, 0.1);
  background: var(--deep-navy);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  font-size: 0.8125rem;
  color: var(--faint);
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--faint);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.footer-links a:hover { color: var(--amber); }

/* === Responsive === */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .research-cards { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav { padding: 0.75rem 1.25rem; }
  .nav-logo img { height: 36px; }
  .hero-portrait-wrap { width: 260px; height: 260px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .patent-card { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
  .research-links { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 90vh; padding: 5rem 1.25rem 3rem; }
  body.iframe-mode .hero { min-height: 700px; max-height: 800px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-portrait-wrap { width: 220px; height: 220px; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-line { animation: none; opacity: 0.5; }
  .portrait-ring { animation: none; opacity: 0.3; }
  .service-card, .research-card, .eco-card {
    opacity: 1 !important;
    transform: none !important;
  }
  #particleCanvas { display: none; }
}

/* === Ambient Music Button === */
.ambient-music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001; /* above nav (100) */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(242,181,77,0.5);
  background: rgba(12,33,55,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.ambient-music-btn:hover {
  border-color: #F2B54D;
  background: rgba(242,181,77,0.15);
  transform: scale(1.08);
}
.ambient-music-btn:active {
  transform: scale(0.95);
}
.ambient-icon {
  width: 18px;
  height: 18px;
}
.ambient-icon-play {
  margin-left: 2px; /* visually centre the triangle */
}

/* Pulsing rings around button */
.ambient-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(242,181,77,0.4);
  transform: translate(-50%, -50%) scale(1);
  animation: ambientPulse 2.5s ease-out infinite;
  pointer-events: none;
}
.ambient-pulse-ring-2 {
  animation-delay: 1.25s;
}
/* When playing, rings go green-ish amber glow */
.ambient-music-btn.is-playing .ambient-pulse-ring {
  border-color: rgba(242,181,77,0.6);
}
@keyframes ambientPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Keep button visible in iframe mode (WordPress embed) — adjust position slightly */
body.iframe-mode .ambient-music-btn {
  bottom: 16px;
  right: 16px;
}
.iframe-mode-disabled-ambient {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .ambient-music-btn {
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
  body.iframe-mode .ambient-music-btn {
    bottom: 10px;
    right: 10px;
  }
  .ambient-icon {
    width: 14px;
    height: 14px;
  }
}

/* ============================================================
   === Premium Polish: Preloader + Custom Cursor + Poetic Hero
   ============================================================ */

/* --- Elegant Preloader --- */
.cf-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: radial-gradient(ellipse at center, #122C45 0%, #0C2137 60%, #081827 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.9s;
  pointer-events: auto;
}
.cf-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.iframe-mode .cf-preloader { display: none; }

.cf-pre-svg {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 0 18px rgba(242, 181, 77, 0.35));
}
.cf-pre-arc {
  animation: cf-arc-draw 2.4s cubic-bezier(0.5, 0, 0.15, 1) infinite;
  transform-origin: 100px 100px;
}
@keyframes cf-arc-draw {
  0%   { stroke-dashoffset: 502; transform: rotate(-90deg); }
  50%  { stroke-dashoffset: 0;   transform: rotate(90deg); }
  100% { stroke-dashoffset: -502; transform: rotate(270deg); }
}
.cf-pre-pulse {
  transform-origin: 100px 100px;
  animation: cf-pre-pulse 2.4s ease-in-out infinite;
}
@keyframes cf-pre-pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.96); }
  50%      { opacity: 0.8; transform: scale(1.06); }
}
.cf-pre-logo {
  animation: cf-pre-glow 2.8s ease-in-out infinite;
}
@keyframes cf-pre-glow {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.cf-pre-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.65em;
  color: rgba(232, 229, 221, 0.55);
  text-indent: 0.65em;
  text-transform: uppercase;
}

/* --- Custom Amber Cursor --- */
.cf-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: #F2B54D;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.3s, background 0.3s, transform 0.05s linear;
  mix-blend-mode: normal;
  box-shadow: 0 0 12px rgba(242, 181, 77, 0.7);
  opacity: 0;
}
.cf-cursor-outer {
  position: fixed;
  top: 0; left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 181, 77, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s, opacity 0.3s, width 0.25s, height 0.25s;
  opacity: 0;
}
body.cf-cursor-ready .cf-cursor,
body.cf-cursor-ready .cf-cursor-outer { opacity: 1; }
body.cf-cursor-hover .cf-cursor-outer {
  border-color: rgba(242, 181, 77, 0.8);
  background: rgba(242, 181, 77, 0.08);
  width: 52px;
  height: 52px;
}
body.cf-cursor-hover .cf-cursor {
  background: #F5C870;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 18px rgba(242, 181, 77, 0.9);
}
/* Custom cursor IS enabled in iframe mode — keep circle+dot everywhere */

/* Don't hide native cursor on touch devices */
@media (pointer: fine) {
  body.cf-cursor-ready,
  body.cf-cursor-ready a,
  body.cf-cursor-ready button,
  body.cf-cursor-ready [role="button"] {
    cursor: none;
  }
}
@media (pointer: coarse) {
  .cf-cursor, .cf-cursor-outer { display: none; }
}

/* --- Hero Poetic Lines --- */
.hero-poetic {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-weight: 200;
  line-height: 1.25;
  text-shadow: 0 0 40px rgba(242,181,77,0.18);
}
.poetic-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  color: var(--cream);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(18px);
  animation: cf-poetic-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.poetic-line.line-1 {
  font-size: clamp(1.35rem, 0.8rem + 1.8vw, 2.25rem);
  animation-delay: 0.2s;
}
.poetic-line.line-2 {
  font-size: clamp(1.15rem, 0.7rem + 1.5vw, 1.85rem);
  color: var(--amber);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
  animation-delay: 0.55s;
}
.poetic-line.line-3 {
  font-size: clamp(0.85rem, 0.55rem + 0.9vw, 1.2rem);
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: none;
  animation-delay: 0.9s;
}
@keyframes cf-poetic-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .poetic-line.line-1 { letter-spacing: 0.03em; }
  .poetic-line.line-3 { letter-spacing: 0.12em; }
  .cf-pre-svg { width: 140px; height: 140px; }
  .cf-pre-label { font-size: 0.6rem; letter-spacing: 0.5em; text-indent: 0.5em; }
}

/* ============================================================
   === Collapsible Section Headers (Click-to-Reveal)
   ============================================================ */

/* Section with collapsibles: the whole top header area becomes clickable */
.section.is-collapsible > .container > .cf-header-trigger {
  position: relative;
  cursor: pointer;
  padding-right: 4rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover state — lift + amber glow on h2 */
.section.is-collapsible > .container > .cf-header-trigger:hover .cf-head-h2 {
  color: var(--amber);
  text-shadow: 0 0 22px rgba(242, 181, 77, 0.35);
}
.section.is-collapsible > .container > .cf-header-trigger:hover .cf-head-label {
  color: var(--amber);
  letter-spacing: 0.4em;
}
.section.is-collapsible > .container > .cf-header-trigger:hover .cf-toggle-icon {
  border-color: var(--amber);
  background: rgba(242, 181, 77, 0.12);
  transform: translateY(-50%) scale(1.1);
}

.cf-head-label, .cf-head-h2 {
  transition: color 0.4s ease, letter-spacing 0.4s ease, text-shadow 0.4s ease;
}

/* Label underline reveal on hover */
.cf-head-label {
  display: inline-block;
  position: relative;
}
.cf-head-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.section.is-collapsible > .container > .cf-header-trigger:hover .cf-head-label::after {
  width: 100%;
}

/* Toggle indicator (chevron/plus) — sits to the right */
.cf-toggle-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 181, 77, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, background 0.3s;
  background: rgba(242, 181, 77, 0.04);
}
.cf-toggle-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.section.is-open .cf-toggle-icon svg {
  transform: rotate(45deg); /* + becomes ×  */
}
.section.is-open .cf-toggle-icon {
  border-color: var(--amber);
  background: rgba(242, 181, 77, 0.18);
}

/* Tiny hint text under the header prompting the user */
.cf-head-hint {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
  transition: color 0.35s ease, opacity 0.35s ease;
  opacity: 0.75;
}
.section.is-collapsible > .container > .cf-header-trigger:hover .cf-head-hint {
  color: var(--amber);
  opacity: 1;
}
.section.is-open .cf-head-hint {
  opacity: 0;
  pointer-events: none;
}

/* Collapsible body wrapper — uses grid-rows trick for smooth height animation */
.cf-section-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease,
              margin-top 0.5s ease;
  opacity: 0;
  margin-top: 0;
}
.section.is-open .cf-section-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 2.5rem;
}
.cf-section-body > .cf-section-body-inner {
  overflow: hidden;
  min-height: 0;
}

/* Staggered child reveal inside opened section */
.section.is-open .cf-section-body-inner > * {
  animation: cf-section-child-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.section.is-open .cf-section-body-inner > *:nth-child(1) { animation-delay: 0.25s; }
.section.is-open .cf-section-body-inner > *:nth-child(2) { animation-delay: 0.35s; }
.section.is-open .cf-section-body-inner > *:nth-child(3) { animation-delay: 0.45s; }
.section.is-open .cf-section-body-inner > *:nth-child(4) { animation-delay: 0.55s; }
@keyframes cf-section-child-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Collapsed state — keep enough top padding so label isn't hidden
   under the fixed nav (~82px) when a user scrolls or anchor-jumps. */
.section.is-collapsible.is-closed {
  padding-top: 6rem;
  padding-bottom: 5rem;
  transition: padding 0.6s ease;
  scroll-margin-top: 100px;
}
.section.is-collapsible.is-open {
  padding-top: 7rem;
  padding-bottom: 7rem;
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .section.is-collapsible > .container > .cf-header-trigger {
    padding-right: 3rem;
  }
  .cf-toggle-icon {
    width: 36px;
    height: 36px;
  }
  .cf-head-hint {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
}

/* ============================================================
   === Pulsating-Light Animation on Closed Collapsible Tabs
   === Draws the eye to the "click to expand" affordance
   ============================================================ */

/* Base pulse on the toggle icon ring when section is CLOSED — BRIGHTER, WIDER */
.section.is-collapsible.is-closed .cf-toggle-icon {
  animation: cf-tab-pulse 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 181, 77, 0.6);
}
@keyframes cf-tab-pulse {
  0%, 100% {
    border-color: rgba(242, 181, 77, 0.55);
    background: rgba(242, 181, 77, 0.08);
    box-shadow: 0 0 0 0 rgba(242, 181, 77, 0);
  }
  50% {
    border-color: rgba(255, 200, 90, 1);
    background: rgba(242, 181, 77, 0.28);
    box-shadow: 0 0 40px 8px rgba(242, 181, 77, 0.75),
                0 0 80px 20px rgba(242, 181, 77, 0.35),
                0 0 0 14px rgba(242, 181, 77, 0.18);
  }
}

/* Soft radiating ring behind the icon — wider ripple */
.section.is-collapsible.is-closed .cf-toggle-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(242, 181, 77, 0.85);
  animation: cf-tab-ring 2.6s ease-out infinite;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(242, 181, 77, 0.5);
}
@keyframes cf-tab-ring {
  0% {
    transform: scale(1);
    opacity: 0.95;
    border-width: 2px;
  }
  80%, 100% {
    transform: scale(3.2);
    opacity: 0;
    border-width: 0.5px;
  }
}

/* Second, wider radiating ring — staggered for continuous ripple */
.section.is-collapsible.is-closed .cf-toggle-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 181, 77, 0.6);
  animation: cf-tab-ring 2.6s ease-out infinite;
  animation-delay: 1.3s;
  pointer-events: none;
}

/* Subtle breathing glow on the hint text "Click to expand" — brighter */
.section.is-collapsible.is-closed .cf-head-hint {
  animation: cf-hint-breathe 3s ease-in-out infinite;
}
@keyframes cf-hint-breathe {
  0%, 100% {
    color: var(--faint);
    opacity: 0.7;
    text-shadow: 0 0 0 rgba(242, 181, 77, 0);
  }
  50% {
    color: rgba(255, 210, 120, 1);
    opacity: 1;
    text-shadow: 0 0 20px rgba(242, 181, 77, 0.75), 0 0 40px rgba(242, 181, 77, 0.4);
  }
}

/* Pause all pulsing on hover — hover state takes over */
.section.is-collapsible.is-closed > .container > .cf-header-trigger:hover .cf-toggle-icon,
.section.is-collapsible.is-closed > .container > .cf-header-trigger:hover .cf-head-hint {
  animation-play-state: paused;
}
.section.is-collapsible.is-closed > .container > .cf-header-trigger:hover .cf-toggle-icon::before {
  animation-play-state: paused;
  opacity: 0;
}

/* Staggered delay so pulses don't all fire in unison */
.section.is-collapsible.is-closed:nth-of-type(2n) .cf-toggle-icon,
.section.is-collapsible.is-closed:nth-of-type(2n) .cf-head-hint,
.section.is-collapsible.is-closed:nth-of-type(2n) .cf-toggle-icon::before {
  animation-delay: 0.9s;
}
.section.is-collapsible.is-closed:nth-of-type(3n) .cf-toggle-icon,
.section.is-collapsible.is-closed:nth-of-type(3n) .cf-head-hint,
.section.is-collapsible.is-closed:nth-of-type(3n) .cf-toggle-icon::before {
  animation-delay: 1.6s;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .section.is-collapsible.is-closed .cf-toggle-icon,
  .section.is-collapsible.is-closed .cf-toggle-icon::before,
  .section.is-collapsible.is-closed .cf-head-hint {
    animation: none;
  }
}

/* ============================================================
   === HERO LANES — Audience-led entry (restructure Apr 2026)
   ============================================================ */

.hero-content--lanes {
  max-width: 980px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-portrait-wrap--corner {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.75rem;
  border-radius: 10px;
  overflow: visible;
  opacity: 0;
  animation: hero-lane-fade 0.8s ease-out 0.1s forwards;
}

/* Golden spiral mark — replaces the Clara portrait */
.hero-spiral-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: hero-lane-fade 0.9s ease-out 0.1s forwards;
  filter: drop-shadow(0 0 18px rgba(242, 181, 77, 0.18));
}
.hero-spiral {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 62% 58%;
  animation: hero-spiral-drift 28s linear infinite;
}
.hero-spiral-glow-path {
  animation: hero-spiral-pulse 4.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes hero-spiral-drift {
  to { transform: rotate(360deg); }
}
@keyframes hero-spiral-pulse {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-spiral { animation: none; }
  .hero-spiral-glow-path { animation: none; opacity: 0.30; }
}
.hero-portrait-wrap--corner .hero-portrait {
  border-radius: 10px;
  object-position: center 20%;
}
.hero-portrait-wrap--corner .portrait-ring {
  inset: -5px;
  border-radius: 13px;
}
.hero-portrait-wrap--corner .portrait-ring-2 {
  inset: -12px;
  border-radius: 16px;
}
.hero-portrait-wrap--corner .portrait-fx-canvas {
  display: none; /* disable heavy FX on restrained hero */
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: hero-lane-fade 0.8s ease-out 0.25s forwards;
}

.hero-question {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 auto 3rem;
  max-width: 880px;
  text-shadow: 0 0 40px rgba(242,181,77,0.15);
  opacity: 0;
  animation: hero-lane-fade 1s ease-out 0.4s forwards;
}

.hero-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
  max-width: 960px;
}

.hero-lane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem 3rem;
  min-height: 200px;
  text-align: left;
  background: rgba(18, 44, 69, 0.45);
  border: 1px solid rgba(164, 174, 183, 0.12);
  border-radius: 10px;
  text-decoration: none;
  color: var(--cream);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out),
              background 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-lane-rise 0.9s var(--ease-out) forwards;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-lane[data-lane="orgs"]     { animation-delay: 0.6s; }
.hero-lane[data-lane="research"] { animation-delay: 0.75s; }
.hero-lane[data-lane="advisors"] { animation-delay: 0.9s; }

/* Accent bar top */
.hero-lane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 32px;
  background: var(--amber);
  opacity: 0.55;
  transition: width 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}

.hero-lane:hover {
  border-color: rgba(242, 181, 77, 0.55);
  background: rgba(242, 181, 77, 0.06);
  transform: translateY(-3px);
}
.hero-lane:hover::before {
  width: 100%;
  opacity: 1;
}

.lane-num {
  font-family: 'Georgia', serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.lane-label {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color 0.3s var(--ease-out);
}
.hero-lane:hover .lane-label {
  color: var(--amber);
}

.lane-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.15rem;
}

/* Proof point — revealed on hover */
.lane-proof {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--amber);
  font-style: italic;
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease-out),
              max-height 0.45s var(--ease-out),
              margin-top 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
  overflow: hidden;
}
.hero-lane:hover .lane-proof {
  opacity: 0.95;
  max-height: 80px;
  margin-top: 0.35rem;
  transform: translateY(0);
}

.lane-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  font-size: 1.1rem;
  color: var(--faint);
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hero-lane:hover .lane-arrow {
  color: var(--amber);
  transform: translateX(4px);
}

.hero-lane:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Secondary row below lanes */
.hero-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  opacity: 0;
  animation: hero-lane-fade 1s ease-out 1.05s forwards;
}
.hero-tagline-small {
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.12em;
  font-weight: 400;
}
.hero-meet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(164,174,183,0.18);
  border-radius: 999px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.hero-meet-link:hover {
  color: var(--amber);
  border-color: rgba(242,181,77,0.5);
  background: rgba(242,181,77,0.06);
}
.hero-meet-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(242,181,77,0.18);
  color: var(--amber);
}

@keyframes hero-lane-fade {
  to { opacity: 1; }
}
@keyframes hero-lane-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-portrait-wrap--corner,
  .hero-spiral-wrap,
  .hero-eyebrow,
  .hero-question,
  .hero-lane,
  .hero-secondary {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Mobile lanes — stack */
@media (max-width: 820px) {
  .hero-lanes {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 460px;
  }
  .hero-lane {
    min-height: 0;
    padding: 1.25rem 1.25rem 2.25rem;
  }
  .lane-proof {
    /* On mobile, always show proof point (no hover) */
    opacity: 0.9;
    max-height: 60px;
    margin-top: 0.35rem;
    transform: none;
  }
  .hero-question {
    margin-bottom: 2rem;
  }
}

/* ============================================================
   === MANIFESTO OPENER — poetic lines moved into Section 2
   ============================================================ */
.manifesto-opener {
  text-align: center;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1rem;
}
.manifesto-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(14px);
}
.manifesto-line.manifesto-line-1 {
  font-size: clamp(1.2rem, 0.7rem + 1.5vw, 1.9rem);
}
.manifesto-line.manifesto-line-2 {
  font-size: clamp(1.05rem, 0.65rem + 1.2vw, 1.6rem);
  color: var(--amber);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.manifesto-line.manifesto-line-3 {
  font-size: clamp(0.75rem, 0.5rem + 0.7vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.22em;
}
/* Reveal when scrolled into view */
.manifesto-opener.is-visible .manifesto-line {
  animation: cf-poetic-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.manifesto-opener.is-visible .manifesto-line-1 { animation-delay: 0.05s; }
.manifesto-opener.is-visible .manifesto-line-2 { animation-delay: 0.35s; }
.manifesto-opener.is-visible .manifesto-line-3 { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .manifesto-line { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .manifesto-line.manifesto-line-1 { letter-spacing: 0.03em; }
  .manifesto-line.manifesto-line-3 { letter-spacing: 0.12em; }
}

/* ============================================================
   === RESTRAINT PASS — subtle delay on first-screen effects
   ============================================================ */

/* 1. Hide old hero-only poetic block (now in manifesto-opener) */
.hero-poetic { display: none !important; }

/* 2. Music button: quiet at first, brighter after user scrolls or hovers */
.ambient-music-btn {
  opacity: 0.4;
  transition: opacity 0.6s var(--ease-out), border-color 0.3s, background 0.3s, transform 0.2s;
}
body.cf-scrolled .ambient-music-btn,
.ambient-music-btn:hover,
.ambient-music-btn:focus-visible {
  opacity: 1;
}
/* Suppress pulse rings on first screen */
body:not(.cf-scrolled) .ambient-pulse-ring {
  animation-play-state: paused;
  opacity: 0;
}

/* 3. Tab pulsation: only after user has engaged (scrolled past hero) */
body:not(.cf-engaged) .section.is-collapsible.is-closed .cf-toggle-icon {
  animation: none;
  box-shadow: 0 0 0 0 rgba(242,181,77,0);
}
body:not(.cf-engaged) .section.is-collapsible.is-closed .cf-toggle-icon::before,
body:not(.cf-engaged) .section.is-collapsible.is-closed .cf-toggle-icon::after {
  animation: none;
  opacity: 0;
}
body:not(.cf-engaged) .section.is-collapsible.is-closed .cf-head-hint {
  animation: none;
}

/* 4. Cursor: slightly slower fade-in on first appearance */
body.cf-cursor-ready .cf-cursor,
body.cf-cursor-ready .cf-cursor-outer {
  /* transform has NO transition — snaps instantly to cursor (no trailing). */
  transition: opacity 0.5s var(--ease-out), border-color 0.25s, background 0.3s, width 0.18s, height 0.18s;
}

/* ============================================================
   === HERO COPY REFRESH (Apr 2026) — new headline + subheading
   ============================================================ */

/* Longer main headline — tighten size + leading */
.hero-question {
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem);
  line-height: 1.18;
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-weight: 250;
}

/* Subheading lede */
.hero-sub-lede {
  font-size: clamp(0.95rem, 0.8rem + 0.45vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  opacity: 0;
  animation: hero-lane-fade 1s ease-out 0.5s forwards;
}

/* Lane: add sub-label styling adjustments */
.lane-desc {
  line-height: 1.5;
}

/* ============================================================
   === PROOF STRIP
   ============================================================ */
.proof-strip {
  position: relative;
  padding: 3rem 0 2rem;
  background: linear-gradient(to bottom, rgba(12,33,55,0.85), rgba(18,44,69,0.5));
  border-top: 1px solid rgba(242,181,77,0.12);
  border-bottom: 1px solid rgba(242,181,77,0.08);
  z-index: 3;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.proof-item {
  position: relative;
  padding-top: 1.5rem;
}
.proof-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 28px;
  background: var(--amber);
  opacity: 0.75;
}
.proof-kicker {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.proof-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.proof-text strong {
  color: var(--cream);
  font-weight: 500;
}
.proof-text em {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 820px) {
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 520px;
  }
  .proof-strip {
    padding: 2rem 0 1.5rem;
  }
}

/* ============================================================
   === ECOSYSTEM CARDS — refresh for "One vision, four brands"
   ============================================================ */
.eco-card {
  position: relative;
  padding: 2rem 1.75rem 2.5rem;
}
.eco-card-num {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.25em;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.eco-card-tag {
  margin-bottom: 1rem;
}
.eco-card h4 {
  /* keep existing h4 styling but nudge */
  margin-bottom: 0.9rem;
}
.eco-card-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.eco-card:hover .eco-card-link {
  opacity: 1;
  transform: translateX(4px);
}
.eco-card-link span {
  transition: margin-left 0.3s var(--ease-out);
}
.eco-card:hover .eco-card-link span {
  margin-left: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-sub-lede { opacity: 1; }
}

/* ============================================================
   === HERO BRAND HEADLINE (Apr 2026) — Deeply Human. Deeply AI.™
   ============================================================ */
.hero-question--brand {
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem);
  font-weight: 250;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  text-shadow:
    0 0 40px rgba(242,181,77,0.18),
    0 0 90px rgba(242,181,77,0.08);
}
.hero-brand-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-brand-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-brand-line:nth-child(1) { animation-delay: 0.25s; }
.hero-brand-line:nth-child(2) { animation-delay: 0.55s; }

.hero-brand-line--amber {
  color: var(--amber);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.hero-tm {
  font-size: 0.32em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 0.15em;
  color: var(--amber);
  opacity: 0.85;
  top: -0.2em;
  position: relative;
}

@keyframes hero-brand-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-line { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 640px) {
  .hero-question--brand {
    font-size: clamp(1.9rem, 1rem + 5.5vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    gap: 0.08em;
  }
}

/* ============================================================
   === MOBILE HERO FIT (Apr 2026) — compress to single phone screen
   ============================================================ */
@media (max-width: 768px) {
  /* Shrink hero padding + let iframe height grow naturally */
  .hero {
    padding: 3rem 1.25rem 2rem;
    min-height: auto;
    justify-content: flex-start;
  }
  body.iframe-mode .hero {
    min-height: 0;
    max-height: none;
    padding: 2.25rem 1.25rem 1.75rem;
  }
  /* Portrait smaller + tighter margin */
  .hero-portrait-wrap--corner {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.85rem;
  }
  .hero-spiral-wrap {
    width: 84px;
    height: 84px;
    margin: 0 auto 0.85rem;
  }
  /* Eyebrow tighter */
  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    margin-bottom: 0.75rem;
  }
  /* Subhead tighter */
  .hero-sub-lede {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
    max-width: 340px;
  }
  /* Lanes — reduce padding, shorter proof so cards stay compact */
  .hero-lane {
    padding: 1rem 1.1rem 1.75rem;
  }
  .lane-label {
    font-size: 1.1rem;
  }
  .lane-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .lane-proof {
    font-size: 0.7rem;
    max-height: 50px;
  }
  .lane-arrow {
    bottom: 0.9rem;
    right: 1.1rem;
    font-size: 1rem;
  }
  .hero-lanes {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .hero-secondary {
    gap: 1rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-question--brand {
    font-size: 1.85rem;
    letter-spacing: -0.005em;
    line-height: 1.02;
  }
  .hero-portrait-wrap--corner {
    width: 64px;
    height: 64px;
    margin-bottom: 0.7rem;
  }
  .hero-spiral-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 0.7rem;
  }
  .hero-eyebrow {
    font-size: 0.58rem;
    margin-bottom: 0.6rem;
  }
  .hero-sub-lede {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }
}

/* === Clara Nexus launch banner === */
.launch-banner {
  position: relative;
  background: linear-gradient(180deg, #0C2137 0%, #0E2640 100%);
  border-top: 1px solid rgba(242, 181, 77, 0.18);
  border-bottom: 1px solid rgba(242, 181, 77, 0.18);
  padding: 64px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.launch-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 720px 280px at 18% 50%, rgba(242, 181, 77, 0.10), transparent 70%),
    radial-gradient(ellipse 520px 240px at 82% 50%, rgba(164, 174, 183, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.launch-spark {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 200px;
  height: 200px;
  transform: translateY(-50%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  animation: launch-spark-pulse 6s ease-in-out infinite;
}
.launch-spark-cross {
  transform-origin: 40px 40px;
  animation: launch-spark-rotate 24s linear infinite;
}
@keyframes launch-spark-pulse {
  0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(1); }
  50%      { opacity: 0.85; transform: translateY(-50%) scale(1.06); }
}
@keyframes launch-spark-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.launch-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: left;
}
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(242, 181, 77, 0.10);
  border: 1px solid rgba(242, 181, 77, 0.40);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.launch-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(242, 181, 77, 0.7);
  animation: launch-pill-blink 2.4s ease-in-out infinite;
}
@keyframes launch-pill-blink {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
.launch-headline {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.launch-headline-main {
  display: block;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 500;
}
.launch-headline-sub {
  display: block;
  font-style: italic;
  color: var(--amber);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 6px;
  font-weight: 400;
}
.launch-lede {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 0 28px;
}
.launch-lenses {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: none;
  max-width: 980px;
}
.launch-lens {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 18px;
  background: rgba(232, 229, 221, 0.03);
  border: 1px solid rgba(242, 181, 77, 0.18);
  border-radius: 10px;
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.launch-lens:hover {
  border-color: rgba(242, 181, 77, 0.38);
  background: rgba(232, 229, 221, 0.05);
  transform: translateY(-2px);
}
.launch-lens-num {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber);
  opacity: 0.85;
}
.launch-lens-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.launch-lens-body {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.launch-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.launch-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--amber);
  color: #0C2137;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(242, 181, 77, 0.28), 0 0 0 0 rgba(242, 181, 77, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
  position: relative;
}
.launch-cta:hover,
.launch-cta:focus-visible {
  background: #ffc870;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(242, 181, 77, 0.42), 0 0 0 6px rgba(242, 181, 77, 0.10);
}
.launch-cta:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.launch-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.launch-cta:hover .launch-cta-arrow,
.launch-cta:focus-visible .launch-cta-arrow {
  transform: translateX(4px);
}
.launch-meta {
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .launch-banner {
    padding: 48px 0 48px;
  }
  .launch-spark {
    width: 140px;
    height: 140px;
    right: -30px;
    top: 24px;
    opacity: 0.45;
    transform: none;
    animation: none;
  }
  .launch-pill { font-size: 0.66rem; margin-bottom: 16px; }
  .launch-lede { font-size: 0.94rem; margin-bottom: 22px; }
  .launch-cta { padding: 12px 22px; font-size: 0.92rem; }
  .launch-meta { font-size: 0.76rem; }
  .launch-actions { gap: 16px; }
  .launch-lenses { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .launch-lens { padding: 16px; }
  .launch-lens-title { font-size: 1.18rem; }
  .launch-lens-body { font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-spark, .launch-spark-cross, .launch-pill-dot { animation: none; }
}
