/* RS Box — Apple-inspired product page */

:root {
  --bg: #0a0a12;
  --bg-elevated: #0e0e18;
  --glow-blue: rgba(56, 139, 253, 0.42);
  --glow-violet: rgba(168, 85, 247, 0.38);
  --bg-soft: #f5f5f7;
  --text: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.72);
  --text-dark: #1d1d1f;
  --text-dark-muted: #6e6e73;
  --accent: #a855f7;
  --accent-soft: rgba(168, 85, 247, 0.15);
  --accent-deep: #7c3aed;
  --border: rgba(255, 255, 255, 0.08);
  --nav-h: 52px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-apple: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: transparent;
  color: var(--text);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  overflow-x: clip;
  width: 100%;
  min-width: 0;
}

/* Fond lumineux (bleu haut-gauche, violet bas-droite) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 130% 100% at -20% -15%, var(--glow-blue) 0%, transparent 48%),
    radial-gradient(ellipse 110% 95% at 120% 115%, var(--glow-violet) 0%, transparent 46%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(30, 30, 55, 0.35) 0%, transparent 65%);
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Avertissement file:// — uniquement si le serveur local est absent */
.file-banner[hidden] {
  display: none !important;
}

.file-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.file-banner__box {
  max-width: 28rem;
  padding: 2rem;
  border-radius: 20px;
  background: #1a1a1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.file-banner__box strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.file-banner__box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.file-banner__box code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.file-banner__btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.file-banner__btn:hover {
  opacity: 0.92;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease-out);
}

.nav.is-light {
  background: rgba(245, 245, 247, 0.8);
  color: var(--text-dark);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Marque RS Box + One */
.brand-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.brand-title__main {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-title__edition {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.brand-title--nav {
  align-items: flex-start;
  font-size: 1rem;
}

.brand-title--nav .brand-title__edition {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  margin-top: 0.05rem;
}

.brand-title--hero {
  margin: 0.25rem 0 1rem;
}

.brand-title--hero .brand-title__main {
  font-size: clamp(3.5rem, 12vw, 7rem);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-title--hero .brand-title__edition {
  font-size: clamp(1.1rem, 3.5vw, 1.65rem);
  margin-top: 0.15rem;
}

.nav__links {
  display: none;
  gap: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.9;
}

.nav__links a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav__cta {
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .nav__links {
    gap: 2.35rem;
    font-size: 1rem;
  }

  .nav__cta {
    font-size: 0.92rem;
    padding: 0.42rem 1.05rem;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease-apple), background 0.25s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  transform: scale(1.03);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-left: 0.75rem;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--large {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  background: transparent;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(56, 139, 253, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 75% 65% at 100% 100%, rgba(168, 85, 247, 0.26) 0%, transparent 52%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
}

.hero__title {
  margin: 0;
}

.hero__lead {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions .btn--ghost {
  margin-left: 0;
}

.hero__scroll-hint {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ── Story scroll + annotations ── */
.story {
  position: relative;
  background: transparent;
}

.story__intro {
  text-align: center;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 3rem) 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.story__intro-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.story__intro-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.story__scroll-track {
  height: 550vh;
}

.story__scroll-track--tall {
  height: 600vh;
}

.story__intro--compact {
  padding-bottom: 1rem;
}

.story--part2 {
  border-top: 1px solid var(--border);
}

.story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.story__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.story__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.story__video {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.story__callouts,
.callout,
.callout__card,
.callout__dot,
.callout__line {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.story__callouts .callout__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.callout {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease-apple);
}

.callout--visible .callout__dot {
  transform: scale(1);
  opacity: 1;
}

.callout--visible .callout__line {
  stroke-dashoffset: 0;
}

.callout--visible .callout__card {
  opacity: 1;
  transform: translate(var(--card-tx, -50%), var(--card-ty, -100%)) translateY(0);
}

.callout__line {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.6s var(--ease-apple);
}

.callout__dot {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.25), 0 0 20px rgba(168, 85, 247, 0.5);
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.45s var(--ease-apple), opacity 0.35s;
  z-index: 2;
}

.callout__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: callout-ping 2s ease-out infinite;
}

@keyframes callout-ping {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.callout__card {
  position: absolute;
  max-width: min(220px, 38vw);
  padding: 0.75rem 1rem;
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  z-index: 3;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(8px);
  transition: opacity 0.4s var(--ease-apple), transform 0.45s var(--ease-apple);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.callout__title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  color: #fff;
}

.callout__text {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.story__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      transparent 20%,
      transparent 50%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 38%, transparent 62%, rgba(0, 0, 0, 0.25) 100%);
}

.story__tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.5rem, 10vh, 3.5rem);
  z-index: 5;
  min-height: 2.75rem;
  text-align: center;
  pointer-events: none;
}

.story__tagline-text {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-apple), transform 0.55s var(--ease-apple);
  font-size: clamp(1.2rem, 4.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.story__tagline.is-phase-1 .story__tagline-text--a {
  opacity: 1;
  transform: translateY(0);
}

.story__tagline.is-phase-2 .story__tagline-text--a {
  opacity: 0;
  transform: translateY(-8px);
}

.story__tagline.is-phase-2 .story__tagline-text--b {
  opacity: 1;
  transform: translateY(0);
}

.story__headline {
  position: absolute;
  left: clamp(1.25rem, 5vw, 4rem);
  top: calc(var(--nav-h) + 0.75rem);
  max-width: min(22rem, 40vw);
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  box-sizing: border-box;
}

.story__headline-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.story__headline-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 28rem;
}

.story__headline--swap .story__headline-title,
.story__headline--swap .story__headline-lead,
.story__headline--swap .eyebrow {
  animation: headline-in 0.5s var(--ease-apple) both;
}

@keyframes headline-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 6;
}

.story__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.08s linear;
}

/* ── Mobile (téléphone) ── */
@media (max-width: 768px) {
  .nav {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .hero {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(4rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__content {
    max-width: 100%;
  }

  .brand-title--hero .brand-title__main {
    font-size: clamp(2.5rem, 13vw, 3.75rem);
  }

  .hero__lead {
    max-width: 100%;
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 18rem;
    gap: 0.65rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 18rem;
    margin: 0;
  }

  .story__intro {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2.5rem max(1.25rem, env(safe-area-inset-left, 0px)) 1.25rem;
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    text-align: center;
    box-sizing: border-box;
  }

  .story__intro-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    hyphens: auto;
  }

  .story__intro-lead {
    font-size: 0.95rem;
  }

  .story__sticky {
    width: 100%;
    left: 0;
    right: 0;
  }

  .story__headline {
    left: max(1.25rem, env(safe-area-inset-left, 0px));
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    top: calc(var(--nav-h) + 0.5rem);
    max-width: none;
  }

  .story__headline-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    margin-bottom: 0.25rem;
  }

  .story__headline-lead {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .story__headline .eyebrow {
    margin-bottom: 0.4rem;
  }

  .story__tagline {
    bottom: max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  }

  .story__vignette {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 22%,
      transparent 58%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .callout__card {
    max-width: min(200px, 72vw);
    padding: 0.55rem 0.7rem;
    border: none;
    box-shadow: none;
  }

  .callout__text {
    font-size: 0.65rem;
  }

  .product-detail,
  .connector,
  .workshop,
  .model-section,
  .kickstarter,
  .project-hero,
  .project-section,
  .project-cta {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  .features--inset {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .features__showcase {
    gap: 1.5rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .story,
  .product-detail,
  .connector,
  .workshop,
  .model-section,
  .kickstarter,
  .project-hero,
  .project-section,
  .project-cta {
    width: 100%;
    max-width: 100%;
  }

  .model-section {
    padding-left: 0;
    padding-right: 0;
  }

  .model-section__inner {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  .model-section__viewport {
    border: none;
    border-radius: 0;
    max-height: none;
    width: 100%;
  }

  .feature-card {
    border-radius: 16px;
    box-shadow: none;
    padding: 1.5rem 1.25rem;
  }

  .feature-card--dev {
    border: 1px dashed rgba(168, 85, 247, 0.28);
  }

  .workshop__grid {
    grid-template-columns: 1fr;
  }

  .connector__visual {
    overflow: hidden;
  }
}

/* ── Page produit (entre séquences) ── */
.product-detail {
  background: var(--bg-soft);
  color: var(--text-dark);
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.product-detail__hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(3.5rem, 8vh, 5rem);
}

.product-detail__hero h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.product-detail__lead {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
}

.product-detail__rows {
  max-width: 900px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-detail__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail__row--reverse {
  direction: rtl;
}

.product-detail__row--reverse > * {
  direction: ltr;
}

.product-detail__row h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.product-detail__row p {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
  max-width: 32rem;
}

.product-detail__stat {
  text-align: center;
  min-width: 100px;
}

.product-detail__stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.product-detail__stat-label {
  font-size: 0.75rem;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-ownership {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 6vh, 4rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  background: linear-gradient(145deg, #faf5ff 0%, #fff 55%, #f5f5f7 100%);
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.product-ownership__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.product-ownership__header h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.product-ownership__lead {
  font-size: 0.98rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
}

.product-ownership__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-ownership__item {
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-ownership__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.product-ownership__item p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.45;
  margin: 0;
}

.product-detail__resume {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .product-detail__row,
  .product-detail__row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ── Features ── */
.features {
  background: transparent;
  color: var(--text-dark);
  padding: 0 0 clamp(3rem, 6vh, 4rem);
}

.features--inset {
  max-width: 1100px;
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.features__header h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.features__header-lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.features__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
}

.features__visual {
  line-height: 1;
  text-align: center;
}

.features__visual-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
  color: inherit;
}

.features__console-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
  transition: transform 0.3s var(--ease-apple), filter 0.3s var(--ease-apple);
}

.features__visual-button:hover .features__console-img {
  transform: scale(1.015);
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.18));
}

.features__zoom-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.42rem 0.85rem;
  border-radius: 980px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.08);
  color: var(--text-dark-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.features__spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.features__spec {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.features__spec:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.08);
}

.features__spec-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.features__spec strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.features__spec p {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  line-height: 1.45;
  margin: 0;
}

.features__grid-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
}

.feature-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(168, 85, 247, 0.12);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.feature-card--dev {
  background: #fafafa;
  border: 1px dashed rgba(168, 85, 247, 0.35);
}

.feature-card--dev .feature-card__icon {
  color: var(--text-dark-muted);
}

body.is-lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 24px;
  background: rgba(12, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox__title {
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lightbox__image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.lightbox__caption {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .features__showcase {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox__dialog {
    width: min(100%, 100vw - 1.5rem);
    padding: 0.9rem;
  }
}

/* ── Connector ── */
.connector {
  background: transparent;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.connector__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .connector__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.connector__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.connector__copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.connector__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.connector__list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.connector__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.connector__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.connector__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.connector__device {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  border-radius: 50%;
}

.connector__device img {
  width: 120px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.connector__pulse {
  position: absolute;
  inset: -20%;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.connector__caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Workshop ── */
.workshop {
  background: transparent;
  color: var(--text);
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.workshop__hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(4rem, 8vh, 5rem);
}

.workshop__hero h2 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.workshop__hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.workshop__flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.workshop__step {
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-apple), transform 0.6s var(--ease-apple);
}

.workshop__step.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.workshop__step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.workshop__step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workshop__step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.workshop__types {
  text-align: center;
  margin-bottom: 2.5rem;
}

.workshop__types-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.workshop__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.workshop__tags li {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 980px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.workshop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.workshop__card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-apple), transform 0.55s var(--ease-apple), box-shadow 0.3s;
}

.workshop__card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.workshop__card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(168, 85, 247, 0.25);
}

.workshop__card-thumb {
  height: 120px;
  background: linear-gradient(135deg, #1a1a22, #252530);
}

.workshop__card-thumb--violet {
  background: linear-gradient(135deg, #2d1f4e, #4a2d7a);
}

.workshop__card-thumb--cyan {
  background: linear-gradient(135deg, #3b1f5c, #6d28d9);
}

.workshop__card-thumb--amber {
  background: linear-gradient(135deg, #3d2e0f, #7a5a1a);
}

.workshop__card-thumb--muted {
  background: linear-gradient(135deg, #222228, #333340);
}

.workshop__card-body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}

.workshop__card-type {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.workshop__card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.35rem 0 0.25rem;
}

.workshop__card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.workshop__card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.workshop__card-btn {
  margin: 0 1.25rem 1.25rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.workshop__card-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.workshop__card-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.workshop__card--draft {
  border-style: dashed;
  opacity: 0.85;
}

.workshop__offline {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

@media (min-width: 700px) {
  .workshop__offline {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.workshop__offline-copy h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workshop__offline-copy p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.workshop__offline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.workshop__offline-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.workshop__offline-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ── 3D placeholder ── */
.model-section {
  background: transparent;
  padding: clamp(4rem, 10vh, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-top: 1px solid var(--border);
}

.model-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.model-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.model-section__hint {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.model-section__hint code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.45em;
  border-radius: 6px;
}

.model-section__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  max-height: min(72vh, 560px);
  border-radius: 20px;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, #2a2a3a 0%, #12121c 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.model-viewer__canvas-host {
  position: absolute;
  inset: 0;
}

.model-viewer__canvas-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.model-viewer__canvas-host canvas:active {
  cursor: grabbing;
}

.model-section__viewport.is-loaded .model-loader {
  opacity: 0;
  pointer-events: none;
}

.model-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 10, 12, 0.92);
  transition: opacity 0.5s var(--ease-apple);
}

.model-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.model-loader__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.model-loader__track {
  width: min(240px, 60%);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.model-loader__bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.15s linear;
}

/* ── Kickstarter / achat ── */
.kickstarter {
  text-align: center;
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 2rem);
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(5, 206, 120, 0.1), transparent),
    radial-gradient(ellipse 55% 35% at 50% 0%, rgba(168, 85, 247, 0.1), transparent);
  border-top: 1px solid var(--border);
}

.kickstarter .eyebrow {
  color: #34d399;
  letter-spacing: 0.12em;
}

.kickstarter h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.kickstarter__lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.kickstarter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.kickstarter__contact {
  margin-left: 0;
}

.kickstarter__note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.btn--kickstarter {
  background: #05ce78;
  color: #052e1c;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(5, 206, 120, 0.25);
}

.btn--kickstarter:hover {
  transform: scale(1.03);
  background: #04b96c;
  color: #041f14;
}

/* ── Page projet RS Connector ── */
.project-hero {
  padding: calc(var(--nav-h) + 4.5rem) clamp(1.5rem, 5vw, 4rem) 4rem;
}

.project-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.project-hero__copy h1,
.project-section__intro h2,
.project-cta h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.project-hero__copy h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.project-hero__lead,
.project-section__intro p,
.project-cta__lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.6;
}

.project-hero__lead {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.project-hero__actions,
.project-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.project-hero__actions .btn--ghost,
.project-cta__actions .btn--ghost {
  margin-left: 0;
}

.project-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.project-hero__device {
  width: min(360px, 76vw);
  height: min(360px, 76vw);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 72%);
}

.project-section,
.project-cta {
  padding: 0 clamp(1.5rem, 5vw, 4rem) 4.5rem;
}

.project-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.project-section__intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.project-section__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.project-flow__card {
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.project-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-flow__card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.project-flow__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-cta {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  text-align: center;
}

.project-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0 auto 0.9rem;
  max-width: 13ch;
}

.project-cta__lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.project-cta__actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .project-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-hero__copy h1,
  .project-section__intro,
  .project-cta h2,
  .project-cta__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .project-hero__actions {
    justify-content: center;
  }
}

/* ── Pied de page ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(6, 6, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 3.5rem) clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.site-footer__brand-name em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.site-footer__tagline,
.site-footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 22rem;
}

.site-footer__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.site-footer__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-footer__link--accent {
  color: var(--accent);
}

.site-footer__link--accent:hover {
  opacity: 0.85;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  transition: border-color 0.25s, background 0.25s;
}

.site-footer__social:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
}

.site-footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  color: #fff;
}

.site-footer__social-icon svg {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
}

.site-footer__bar {
  border-top: 1px solid var(--border);
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.site-footer__bar a {
  color: var(--accent);
  font-weight: 500;
}

.site-footer__bar a:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll-hint,
  .connector__pulse,
  .callout__dot::after { animation: none; }
  .callout__line { stroke-dashoffset: 0; transition: none; }
  .workshop__step,
  .workshop__card { opacity: 1; transform: none; transition: none; }
}


/* ── Kickstarter countdown + notification ── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.kickstarter__countdown {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.kickstarter__countdown-status {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.kickstarter__countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.kickstarter__countdown-grid span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.85rem 0.55rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kickstarter__countdown-grid strong {
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.kickstarter__countdown-grid em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.kickstarter__notify {
  width: min(100%, 620px);
  margin: 1.6rem auto 0;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(10, 10, 18, 0.7);
  text-align: left;
}

.kickstarter__notify-label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.kickstarter__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.kickstarter__form-row input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 980px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  outline: none;
}

.kickstarter__form-row input[type="email"]:focus {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.16);
}

.kickstarter__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.kickstarter__consent input {
  margin-top: 0.16rem;
  accent-color: var(--accent);
}

.kickstarter__form-status {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  color: #34d399;
  font-size: 0.82rem;
}

.kickstarter__form-status.is-error {
  color: #fca5a5;
}

@media (max-width: 640px) {
  .kickstarter__countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kickstarter__form-row {
    grid-template-columns: 1fr;
  }

  .kickstarter__form-row .btn {
    width: 100%;
  }
}
