/* Landing écosystème ORELC — autonome, sans dépendance Bootstrap Academy */

:root {
  --orelc-ink: #0b1f2a;
  --orelc-ink-soft: #1a3544;
  --orelc-lagoon: #1a8f8f;
  --orelc-lagoon-deep: #0f5f5f;
  --orelc-amber: #e8a838;
  --orelc-coral: #e06b4a;
  --orelc-sand: #f4efe6;
  --orelc-sand-deep: #e8dfd0;
  --orelc-paper: #fbf8f3;
  --orelc-muted: #5c6b73;
  --orelc-line: rgba(11, 31, 42, 0.12);
  --orelc-shadow: 0 18px 50px rgba(11, 31, 42, 0.12);
  --orelc-radius: 18px;
  --orelc-font-display: "Fraunces", Georgia, serif;
  --orelc-font-body: "Outfit", system-ui, sans-serif;
  --orelc-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  background-color: #FBF8F3;
}

body.orelc-landing-body {
  margin: 0;
  font-family: var(--orelc-font-body);
  color: var(--orelc-ink);
  background: #FBF8F3;
  background-color: #FBF8F3;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[v-cloak] {
  display: none !important;
}

.landing-boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0b1f2a 0%, #1a5a5a 55%, #e8a838 160%);
  color: #fff;
}

.landing-boot__mark {
  font-family: var(--orelc-font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.landing-boot__hint {
  opacity: 0.75;
  font-weight: 300;
}

.orelc-landing {
  overflow-x: hidden;
}

/* —— Header —— */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 243, 0.88);
  border-bottom: 1px solid var(--orelc-line);
  scroll-margin-top: 0;
}

.landing-header__inner {
  max-width: var(--orelc-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--orelc-ink);
  line-height: 1.15;
  min-width: 0;
}

.landing-brand__name {
  font-family: var(--orelc-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.landing-brand__tagline {
  font-family: var(--orelc-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--orelc-muted);
  white-space: normal;
  overflow: visible;
  max-width: none;
}

.landing-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--orelc-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orelc-lagoon);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 143, 143, 0.28);
}

.btn--primary:hover {
  background: var(--orelc-lagoon-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--orelc-ink);
  border-color: var(--orelc-line);
}

.btn--ghost:hover {
  background: rgba(11, 31, 42, 0.04);
}

.btn--ink {
  background: var(--orelc-ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--orelc-ink-soft);
}

.btn--amber {
  background: var(--orelc-amber);
  color: var(--orelc-ink);
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

/* —— Hero —— */
.landing-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(232, 168, 56, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(26, 143, 143, 0.45), transparent 50%),
    linear-gradient(155deg, #07151c 0%, #0b3a4a 42%, #1a6b6b 78%, #2a4a3a 100%);
  overflow: hidden;
}

.landing-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.landing-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: float-orb 9s ease-in-out infinite;
}

.landing-hero__orb--1 {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 18%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.55), transparent 70%);
}

.landing-hero__orb--2 {
  width: 160px;
  height: 160px;
  left: 8%;
  bottom: 22%;
  background: radial-gradient(circle, rgba(224, 107, 74, 0.4), transparent 70%);
  animation-delay: -3s;
}

.landing-hero__inner {
  width: 100%;
  max-width: var(--orelc-max);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.08fr);
  gap: 2rem 2.25rem;
  align-items: center;
}

.landing-hero__copy {
  text-align: left;
  animation: hero-in 0.9s ease both;
}

.landing-hero__brand {
  font-family: var(--orelc-font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 0.85rem;
  background: linear-gradient(120deg, #fff 20%, #f4efe6 55%, #e8a838 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero__title {
  font-family: var(--orelc-font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 20ch;
  margin: 0 0 0.85rem;
}

.landing-hero__highlight {
  color: var(--orelc-amber);
  font-weight: 600;
}

.landing-hero__subtitle {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 38ch;
  margin: 0 0 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.landing-hero__lead {
  max-width: 48ch;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.landing-hero__lead-link,
.landing-hero__lead-link:link,
.landing-hero__lead-link:visited {
  color: var(--orelc-amber);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.9);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.landing-hero__lead-link:hover,
.landing-hero__lead-link:focus-visible {
  color: #f0bc55;
  text-decoration-color: #f0bc55;
  outline: none;
}

.landing-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.landing-hero__showcase {
  display: flex;
  justify-content: center;
  animation: hero-in 0.95s ease 0.12s both;
  overflow: visible;
}

/* —— Ecosystem orbit (Produit_apps layout) —— */
.ecosystem-orbit {
  --hub-x: 36%;
  --hub-y: 50%;
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1.05 / 1;
  isolation: isolate;
}

.ecosystem-orbit__hub {
  position: absolute;
  left: var(--hub-x);
  top: var(--hub-y);
  z-index: 2;
  width: min(58%, 300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 18px 48px rgba(7, 21, 28, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.ecosystem-orbit__hub img {
  width: 95%;
  height: 95%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.ecosystem-orbit__apps {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  padding: 0;
}

.ecosystem-orbit__app {
  --accent: #1a8f8f;
  --drag-x: 0px;
  --drag-y: 0px;
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  transform: translate(calc(-50% + var(--drag-x)), calc(-50% + var(--drag-y)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #fff;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  animation:
    orbit-enter 0.95s cubic-bezier(0.34, 1.45, 0.64, 1) calc(var(--i, 0) * 0.1s) both,
    orbit-float 4.2s ease-in-out calc(0.95s + var(--i, 0) * 0.1s) infinite;
}

/* After first entrance (or first drag), never replay orbit-enter */
.ecosystem-orbit__app.is-settled {
  animation: orbit-float 4.2s ease-in-out infinite;
}

.ecosystem-orbit__app.is-dragging,
.ecosystem-orbit__app.is-returning {
  z-index: 12;
  animation: none !important;
  touch-action: none;
}

.ecosystem-orbit__app.is-dragging {
  cursor: grabbing;
  transition: none;
  filter: drop-shadow(0 14px 22px rgba(7, 21, 28, 0.35));
}

.ecosystem-orbit__app.is-dragging .ecosystem-orbit__disc {
  transform: scale(1.08);
  transition: none;
}

.ecosystem-orbit__app.is-returning {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-orbit__app.is-returning .ecosystem-orbit__disc {
  transform: none;
}

@property --drag-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --drag-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.ecosystem-orbit__disc {
  width: clamp(3.6rem, 8.2vw, 4.65rem);
  height: clamp(3.6rem, 8.2vw, 4.65rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #e8eef5 58%, #d5e0eb 100%);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 10px 28px rgba(7, 21, 28, 0.28),
    0 0 0 1px rgba(11, 58, 74, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  animation: orbit-disc-pulse 0.95s cubic-bezier(0.34, 1.45, 0.64, 1) calc(var(--i, 0) * 0.1s) both;
}

.ecosystem-orbit__disc img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-orbit__mono {
  font-family: var(--orelc-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orelc-ink-soft);
}

.ecosystem-orbit__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-orbit__app:hover .ecosystem-orbit__disc,
.ecosystem-orbit__app:focus-visible .ecosystem-orbit__disc {
  transform: scale(1.14) translateY(-5px);
  border-color: #fff;
  box-shadow:
    0 16px 36px rgba(7, 21, 28, 0.38),
    0 0 0 4px var(--accent),
    0 0 28px rgba(232, 168, 56, 0.28);
}

.ecosystem-orbit__app:hover .ecosystem-orbit__disc img,
.ecosystem-orbit__app:focus-visible .ecosystem-orbit__disc img {
  transform: scale(1.06);
}

.ecosystem-orbit__app:hover .ecosystem-orbit__label,
.ecosystem-orbit__app:focus-visible .ecosystem-orbit__label {
  opacity: 1;
  transform: translateY(0);
}

.ecosystem-orbit__app:focus-visible {
  outline: none;
}

@keyframes orbit-enter {
  0% {
    opacity: 0;
    left: var(--hub-x);
    top: var(--hub-y);
    transform: translate(-50%, -50%) scale(0.15) rotate(-28deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14) rotate(5deg);
  }
  100% {
    opacity: 1;
    left: var(--ox);
    top: var(--oy);
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

@keyframes orbit-disc-pulse {
  0% {
    box-shadow:
      0 0 0 0 transparent,
      0 8px 20px rgba(7, 21, 28, 0.15);
  }
  55% {
    box-shadow:
      0 0 0 10px rgba(232, 168, 56, 0.22),
      0 14px 32px rgba(7, 21, 28, 0.3);
  }
  100% {
    box-shadow:
      0 10px 28px rgba(7, 21, 28, 0.28),
      0 0 0 1px rgba(11, 58, 74, 0.08);
  }
}

@keyframes orbit-float {
  0%,
  100% {
    translate: 0 0;
  }
  25% {
    translate: 3px -8px;
  }
  50% {
    translate: -2px -3px;
  }
  75% {
    translate: 2px -9px;
  }
}

@keyframes orbit-enter-row {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.7);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.landing-section {
  padding: 4.5rem 1.25rem;
}

.landing-section__inner {
  max-width: var(--orelc-max);
  margin: 0 auto;
}

.landing-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.landing-section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orelc-lagoon);
  margin-bottom: 0.65rem;
}

.landing-section h2 {
  font-family: var(--orelc-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.landing-section__lead {
  margin: 0;
  color: var(--orelc-muted);
  font-size: 1.05rem;
}

.landing-section--sand {
  background: linear-gradient(180deg, var(--orelc-sand) 0%, var(--orelc-paper) 100%);
}

.landing-section--ink {
  background: linear-gradient(160deg, #0b1f2a, #123844 60%, #0f4a4a);
  color: #fff;
}

.landing-section--ink .landing-section__lead,
.landing-section--ink .landing-section__eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.landing-section--ink .landing-section__eyebrow {
  color: var(--orelc-amber);
}

/* —— Apps grid —— */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.app-card {
  background: #fff;
  border: 1px solid var(--orelc-line);
  border-radius: var(--orelc-radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 8px 28px rgba(11, 31, 42, 0.05);
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  scroll-margin-top: 5.5rem;
}

.app-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--orelc-shadow);
  border-color: transparent;
}

.app-card__logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--orelc-sand);
}

.app-card__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__monogram {
  font-family: var(--orelc-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.app-card__name {
  font-family: var(--orelc-font-display);
  font-size: 1.45rem;
  margin: 0;
}

.app-card__slogan {
  margin: 0;
  font-weight: 600;
  color: var(--orelc-lagoon-deep);
  font-size: 0.95rem;
}

.app-card__desc {
  margin: 0;
  color: var(--orelc-muted);
  flex: 1;
  font-size: 0.95rem;
}

.app-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--orelc-sand-deep);
  color: var(--orelc-ink-soft);
}

.app-card__badge--classic {
  background: rgba(11, 31, 42, 0.08);
}

.app-card__badge--soon {
  background: rgba(232, 168, 56, 0.2);
  color: #8a5a10;
}

.btn--disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
  box-shadow: none;
}

.btn--disabled:hover {
  transform: none;
}

.ecosystem-orbit__app--soon:hover .ecosystem-orbit__disc,
.ecosystem-orbit__app--soon:focus-visible .ecosystem-orbit__disc {
  transform: scale(1.08) translateY(-3px);
}

/* —— Why / points —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  padding: 1.5rem;
  border-radius: var(--orelc-radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--orelc-line);
}

.why-card h3 {
  font-family: var(--orelc-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.why-card p {
  margin: 0;
  color: var(--orelc-muted);
}

/* —— Novelties —— */
.novelty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.novelty-item {
  padding: 1.25rem 1.15rem;
  border-left: 3px solid var(--orelc-amber);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
}

.novelty-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.novelty-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* —— Stats —— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--orelc-radius);
  background: #fff;
  border: 1px solid var(--orelc-line);
}

.stat-card__value {
  font-family: var(--orelc-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--orelc-lagoon);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card__label {
  color: var(--orelc-muted);
  font-size: 0.92rem;
}

/* —— Evolution timeline (interactive) —— */
.evo {
  display: grid;
  gap: 1.75rem;
}

.evo__track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0 0.75rem;
}

.evo__track::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orelc-lagoon), var(--orelc-amber), var(--orelc-coral));
  opacity: 0.55;
  z-index: 0;
}

.evo__node {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-family: var(--orelc-font-body);
  color: var(--orelc-muted);
  opacity: 0;
  transform: translateY(12px);
  animation: evo-node-in 0.55s ease forwards;
  min-width: 0;
}

.evo__node.is-active,
.evo__node:hover,
.evo__node:focus-visible {
  color: var(--orelc-ink);
}

.evo__node-date {
  display: block;
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--orelc-ink-soft);
  white-space: normal;
  max-width: 100%;
}

.evo__node.is-active .evo__node-date {
  color: var(--orelc-lagoon-deep);
}

.evo__dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--orelc-sand-deep);
  box-shadow: 0 6px 18px rgba(11, 31, 42, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.evo__icon {
  font-size: 1.35rem;
  line-height: 1;
}

.evo__node.is-active .evo__dot {
  border-color: var(--orelc-lagoon);
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(26, 143, 143, 0.28);
}

.evo__node:focus-visible .evo__dot {
  outline: 2px solid var(--orelc-amber);
  outline-offset: 3px;
}

.evo__node-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.evo__node-phase {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orelc-muted);
}

.evo__node.is-active .evo__node-phase {
  color: var(--orelc-lagoon);
}

.evo__node-title {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 8.75rem;
  display: block;
}

.evo__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--orelc-line);
  border-radius: calc(var(--orelc-radius) + 4px);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(11, 31, 42, 0.07);
  min-height: 280px;
}

.evo__media {
  margin: 0;
  min-height: 240px;
  flex: 1 1 auto;
  background: linear-gradient(145deg, #0b1f2a, #1a5a5a);
  overflow: hidden;
}

.evo__visual {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  min-width: 0;
  background: linear-gradient(145deg, #0b1f2a, #1a5a5a);
}

.evo__photo {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  animation: evo-fade 0.45s ease;
}

.evo__photo--slide-next {
  animation: evo-slide-next 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.evo__photo--slide-prev {
  animation: evo-slide-prev 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.evo__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem 0.7rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  background: rgba(7, 21, 28, 0.45);
}

.evo__thumbs::-webkit-scrollbar {
  height: 4px;
}

.evo__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.evo__thumb {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 3.35rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.evo__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evo__thumb:hover,
.evo__thumb:focus-visible {
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
}

.evo__thumb.is-active {
  opacity: 1;
  border-color: var(--orelc-amber);
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.35);
}

.evo__content {
  padding: 1.5rem 1.5rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  animation: evo-fade 0.4s ease;
}

.evo__year {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orelc-lagoon);
}

.evo__title {
  margin: 0;
  font-family: var(--orelc-font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.2;
}

.evo__subtitle {
  margin: 0;
  font-weight: 600;
  color: var(--orelc-lagoon-deep);
  font-size: 1rem;
}

.evo__desc {
  margin: 0;
  color: var(--orelc-muted);
  font-size: 0.98rem;
  max-width: 46ch;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.evo__desc p {
  margin: 0;
  line-height: 1.6;
}

.evo__epilogue {
  padding: 1.5rem 1.6rem;
  border-radius: var(--orelc-radius);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(232, 168, 56, 0.18), transparent 50%),
    linear-gradient(135deg, #0b1f2a, #144848);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.evo__epilogue h3 {
  margin: 0 0 0.55rem;
  font-family: var(--orelc-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.evo__epilogue-desc {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 62ch;
}

.evo__epilogue-desc p,
.evo__epilogue p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.6;
}

@keyframes evo-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes evo-slide-next {
  from {
    opacity: 0.35;
    transform: translateX(28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes evo-slide-prev {
  from {
    opacity: 0.35;
    transform: translateX(-28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes evo-node-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Desktop: airy timeline nodes — line centered on icons */
@media (min-width: 821px) {
  .evo__track {
    --evo-dot-size: 52px;
    gap: 0.65rem;
    padding: 0.5rem 0 1.15rem;
  }

  .evo__track::before {
    /* From center of first icon to center of last icon */
    left: calc(
      (100% - (var(--evo-phases, 7) - 1) * 0.65rem)
      / var(--evo-phases, 7)
      / 2
    );
    right: calc(
      (100% - (var(--evo-phases, 7) - 1) * 0.65rem)
      / var(--evo-phases, 7)
      / 2
    );
    /* track pad + node pad + date + gap + half icon */
    top: calc(
      0.5rem
      + 0.35rem
      + 1rem
      + 0.55rem
      + (var(--evo-dot-size) / 2)
    );
    transform: translateY(-50%);
    z-index: 0;
  }

  .evo__node {
    gap: 0.55rem;
  }

  .evo__dot {
    position: relative;
    z-index: 1;
  }

  .evo__node-title {
    color: var(--orelc-ink-soft);
  }

  .evo__node.is-active .evo__node-title {
    color: var(--orelc-lagoon-deep);
  }
}

/* Mobile / tablet: vertical timeline */
@media (max-width: 820px) {
  .evo__track {
    --evo-dot-size: 46px;
    --evo-node-pad-x: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding-left: 0.25rem;
  }

  .evo__track::before {
    left: calc(0.25rem + var(--evo-node-pad-x) + (var(--evo-dot-size) / 2));
    right: auto;
    top: 1.35rem;
    bottom: 1.35rem;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
    z-index: 0;
    background: linear-gradient(180deg, var(--orelc-lagoon), var(--orelc-amber), var(--orelc-coral));
  }

  .evo__node {
    display: grid;
    grid-template-columns: var(--evo-dot-size) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    justify-content: stretch;
    text-align: left;
    flex-direction: unset;
    flex-wrap: unset;
    gap: 0.22rem 1.5rem;
    padding: 0.55rem var(--evo-node-pad-x);
  }

  .evo__dot {
    grid-column: 1;
    grid-row: 1 / -1;
    justify-self: center;
    align-self: center;
    width: var(--evo-dot-size);
    height: var(--evo-dot-size);
    flex-shrink: 0;
    order: unset;
    position: relative;
    z-index: 1;
  }

  .evo__node-date {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    flex: unset;
    text-align: left;
    white-space: normal;
    margin: 0;
    line-height: 1.25;
  }

  .evo__node-meta {
    display: contents;
    order: unset;
    padding-left: 0;
    margin: 0;
  }

  .evo__node-phase {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    line-height: 1.25;
  }

  .evo__node-title {
    grid-column: 2;
    grid-row: 3;
    display: block;
    max-width: none;
    margin: 0;
    line-height: 1.3;
  }

  .evo__node:not(:has(.evo__node-phase)) .evo__node-title {
    grid-row: 2;
  }

  .evo__panel {
    grid-template-columns: 1fr;
    min-height: 0;
    scroll-margin-top: 5.25rem;
  }

  .evo__visual {
    min-height: 0;
  }

  .evo__media {
    min-height: 0;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .evo__media--swipeable {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .evo__media--swipeable .evo__photo {
    pointer-events: none;
    -webkit-user-drag: none;
  }

  .evo__photo {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(70vh, 420px);
    object-fit: contain;
    object-position: center;
  }

  .evo__thumb {
    width: 4rem;
    height: 3rem;
  }

  .evo__content {
    padding: 1.15rem 1.2rem 1.35rem;
  }
}

/* —— Academy CTA —— */
.academy-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--orelc-radius) + 4px);
  background:
    radial-gradient(ellipse at 90% 20%, rgba(232, 168, 56, 0.2), transparent 45%),
    linear-gradient(135deg, #0b1f2a, #144048);
  color: #fff;
}

.academy-cta h2 {
  font-family: var(--orelc-font-display);
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.academy-cta p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.academy-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.academy-cta__visual {
  display: grid;
  place-items: center;
  min-height: 160px;
}

.academy-cta__visual img {
  width: min(160px, 50vw);
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
  animation: float-orb 6s ease-in-out infinite;
}

/* —— Footer —— */
.landing-footer {
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--orelc-line);
  background: var(--orelc-sand);
}

.landing-footer__inner {
  max-width: var(--orelc-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--orelc-muted);
  font-size: 0.9rem;
}

.landing-footer a {
  color: var(--orelc-ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.landing-footer a:hover {
  color: var(--orelc-lagoon);
}

.landing-back-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--orelc-ink);
  background: var(--orelc-amber);
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.92);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    box-shadow 0.2s ease;
}

.landing-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.landing-back-top:hover,
.landing-back-top:focus-visible {
  box-shadow: 0 12px 32px rgba(11, 31, 42, 0.34);
  outline: none;
}

.landing-back-top:focus-visible {
  box-shadow:
    0 12px 32px rgba(11, 31, 42, 0.34),
    0 0 0 3px rgba(232, 168, 56, 0.45);
}

.landing-back-top__icon {
  display: block;
}

.landing-error {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

/* —— Reveal helpers —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Animations —— */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-orb {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(48px);
  }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .landing-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .landing-hero__showcase {
    order: -1;
  }

  .ecosystem-orbit {
    width: min(100%, 460px);
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .academy-cta {
    grid-template-columns: 1fr;
  }

  .academy-cta__visual {
    order: -1;
  }
}

@media (max-width: 720px) {
  .landing-hero__showcase {
    justify-content: flex-start;
    width: 100%;
  }

  .ecosystem-orbit {
    --hub-x: 28%;
    --hub-y: 24%;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 1 / 1.08;
    min-height: 300px;
    overflow: visible;
  }

  .ecosystem-orbit__hub {
    position: absolute;
    left: var(--hub-x);
    top: var(--hub-y);
    transform: translate(-50%, -50%);
    width: min(calc(38vw + 50px), 182px);
  }

  .ecosystem-orbit__apps {
    position: absolute;
    inset: 0;
    display: block;
    overflow: visible;
    padding: 0;
    touch-action: none;
  }

  .ecosystem-orbit__app {
    position: absolute;
    left: var(--ox);
    top: var(--oy);
    transform: translate(calc(-50% + var(--drag-x, 0px)), calc(-50% + var(--drag-y, 0px)));
    animation:
      orbit-enter 0.95s cubic-bezier(0.34, 1.45, 0.64, 1) calc(var(--i, 0) * 0.1s) both,
      orbit-float 4.2s ease-in-out calc(0.95s + var(--i, 0) * 0.1s) infinite;
  }

  .ecosystem-orbit__app.is-settled {
    animation: orbit-float 4.2s ease-in-out infinite;
  }

  .ecosystem-orbit__app.is-dragging,
  .ecosystem-orbit__app.is-returning {
    animation: none !important;
  }

  .ecosystem-orbit__label {
    opacity: 1;
    transform: none;
    font-size: 0.68rem;
  }

  .ecosystem-orbit__disc {
    width: clamp(3.6rem, 16.5vw, 4.4rem);
    height: clamp(3.6rem, 16.5vw, 4.4rem);
  }
}

@media (max-width: 640px) {
  .landing-header__inner {
    padding: 0.7rem 1rem;
  }

  .landing-brand {
    flex: 1;
    width: 100%;
  }

  .landing-brand__tagline {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .landing-hero__inner {
    padding: 4.25rem 1rem 2.75rem;
  }

  .landing-section {
    padding: 3.25rem 1rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .ecosystem-orbit__app {
    animation: none !important;
  }
}
