/* Raven preview site — all layout and components.
   Depends on raven-brand.css (tokens + typography only; load first).
*/


/* ============================================
   SHARED LAYOUT & COMPONENTS
   (navbar, footer, buttons, cards, modals, animations)
   ============================================ */

.section {
  overflow-x: hidden;
}

/* ============================================
   SHARED COMPONENTS
   ============================================ */

/* Buttons – base .btn + vars above; change :root --glass-btn-* to style all glass buttons */
.btn {
  cursor: pointer;
  font-family: 'Libre Franklin', sans-serif;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--glass-btn-bg) !important;
  color: var(--white) !important;
  border: 1px solid var(--glass-btn-border) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.btn--primary:hover {
  background: var(--glass-btn-bg-hover) !important;
  border-color: var(--glass-btn-border-hover) !important;
  color: var(--white) !important;
}

.btn--secondary {
  background: var(--glass-btn-bg);
  color: var(--moon-silver);
  border: 1px solid var(--glass-btn-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.btn--secondary:hover {
  background: var(--glass-btn-bg-hover);
  border-color: var(--glass-btn-border-hover);
  color: var(--white);
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Icons – size/color for SVG wrappers */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.icon svg {
  width: 1em;
  height: 1em;
}

/* Cards – feature cards; .card__img, .card__title, .card__text */
.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Section layout – .section__title, .section__subtitle, .section__content, .section__bg-video, .section__overlay */
.section__content {
  position: relative;
  z-index: 2;
}

.section--hero {
  padding-top: 100px;
  overflow: hidden;
}

/* Try Raven Prism section: full-screen cta.jpg + two cards */
.section--reserve.try-section {
  position: relative;
  background-color: var(--umbra-black);
  overflow: hidden;
}

.try-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.try-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.try-section .section__content {
  z-index: 2;
}

.try-section__subline {
  max-width: 36em;
}

.try-card.feature-card {
  transform: none;
  height: 100%;
}

.try-card .try-card__title {
  font-size: 1.5rem;
}

.try-card .try-card__subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

.try-card .try-card__subline {
  font-size: 0.875rem;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.try-card .try-card__subline--reveal {
  opacity: 0;
}

.try-card .try-card__subline--reveal.is-visible {
  opacity: 0.85;
}

.try-card .try-card__footer {
  opacity: 0.8;
}

/* Form inputs */
.form__input.email-input {
  padding-right: 60px;
  border-radius: 15px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  box-shadow: var(--glass-shadow);
}

.floating-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  border-radius: 20px;
  padding: 0.75rem 2rem;
  z-index: 1030;
  background: rgba(13, 13, 13, 0.55) !important;
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

@media (max-width: 991px) {
  .floating-navbar {
    width: 95%;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .floating-navbar {
    top: 15px;
    width: calc(100% - 30px);
    border-radius: 10px;
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand {
    padding: 0.4rem 1rem;
  }
  
  .navbar-brand img {
    height: 25px;
  }
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--white) !important;
}

.navbar-brand img {
  height: 30px;
  width: auto;
}

.floating-navbar .navbar-toggler {
  border-color: var(--moon-silver);
}

.floating-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28218, 221, 229, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--moon-silver) !important;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--white) !important;
}

.nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--moon-silver);
  transition: width 0.3s ease;
}

.nav-link:not(.dropdown-toggle):hover::after {
  width: 80%;
}

.floating-navbar .dropdown-menu {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.35rem 0;
  margin-top: 0.5rem;
  box-shadow: var(--glass-shadow);
}

.floating-navbar .dropdown-item {
  color: var(--moon-silver);
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.floating-navbar .dropdown-item:hover,
.floating-navbar .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.floating-navbar .dropdown-item.disabled,
.floating-navbar .dropdown-item:disabled {
  color: rgba(218, 221, 229, 0.42);
  pointer-events: none;
  background: transparent;
  opacity: 1;
}

.floating-navbar .nav-dropdown-soon {
  margin-left: 0.35rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

@media (max-width: 991.98px) {
  .floating-navbar .dropdown-menu {
    margin-top: 0;
    margin-bottom: 0.5rem;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 0.75rem;
  }

  .floating-navbar .dropdown-item {
    padding-left: 0;
  }
}

/* ============================================
   PRISM BAR (white glass, hidden when not scrolling; subtle moving rainbow)
   ============================================ */

.prism-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  --prism-intensity: 0;
  --prism-offset: 0;
  /* Change this one variable to scale bar opacity (base + gradient) */
  --prism-bar-opacity: 1.5;
  /* Hidden when not scrolling; stretches with scroll speed */
  height: calc(var(--prism-intensity) * 160px);
  opacity: var(--prism-intensity);
  z-index: 1025;
  pointer-events: none;
  /* Base and gradient use --prism-bar-opacity so you can tweak in one place */
  background-color: rgba(235, 228, 255, calc(0.04 * var(--prism-bar-opacity)));
  /* Rainbow moves with scroll – opacity scaled by --prism-bar-opacity */
  background-image: linear-gradient(
    90deg,
    rgba(180, 120, 255, calc(0.08 * var(--prism-bar-opacity))),
    rgba(255, 100, 130, calc(0.06 * var(--prism-bar-opacity))),
    rgba(255, 180, 80, calc(0.06 * var(--prism-bar-opacity))),
    rgba(140, 100, 255, calc(0.1 * var(--prism-bar-opacity))),
    rgba(160, 90, 255, calc(0.12 * var(--prism-bar-opacity))),
    rgba(200, 120, 255, calc(0.12 * var(--prism-bar-opacity))),
    rgba(180, 100, 255, calc(0.1 * var(--prism-bar-opacity))),
    rgba(180, 120, 255, calc(0.08 * var(--prism-bar-opacity)))
  );
  background-size: 200% 100%;
  background-position: calc(var(--prism-offset) * 100%) 0;
  backdrop-filter: blur(var(--glass-blur-strong)) hue-rotate(calc(var(--prism-offset) * 80deg)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) hue-rotate(calc(var(--prism-offset) * 80deg)) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, calc(0.12 * var(--prism-bar-opacity)));
  box-shadow: 0 -2px 12px rgba(0, 0, 0, calc(0.08 * var(--prism-bar-opacity))), 0 0 0 1px rgba(255, 255, 255, calc(0.06 * var(--prism-bar-opacity))) inset;
  transition: height 0.08s ease-out, opacity 0.15s ease-out, background-position 0.12s ease-out;
  /* Gradient boundary: 0% opacity at top, 100% at bottom (no solid edge) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}

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

.site-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0;
  margin-top: 0;
  color: var(--moon-silver);
}

.site-footer__top {
  margin-bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.site-footer__lockup {
  display: inline-block;
  flex-shrink: 0;
  margin-left: auto;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.site-footer__lockup:hover {
  opacity: 1;
}

.site-footer__lockup-img {
  height: clamp(80px, 20vw, 112px);
  width: auto;
  display: block;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--moon-silver);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--white);
}

.site-footer__icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
}

.site-footer__icon--svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.site-footer__icon--svg svg {
  width: 24px;
  height: 24px;
  display: block;
  color: inherit;
}

.site-footer__link:hover .site-footer__icon,
.site-footer__link:hover .site-footer__icon--svg svg {
  opacity: 1;
}

.site-footer__link--icon-only {
  padding: 0.35rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.site-footer__made-in-line {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.site-footer__made-in-btn {
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  opacity: inherit;
  cursor: pointer;
}

.site-footer__made-in-btn:hover {
  color: inherit;
  text-decoration: underline;
  opacity: 1;
}

.site-footer__legal {
  flex: 1 1 16rem;
  max-width: 42rem;
  text-align: left;
}

.site-footer__legal-sentence {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1.75rem 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__legal {
    max-width: none;
  }

  .site-footer__lockup {
    margin-left: 0;
    align-self: flex-end;
  }

  .site-footer__legal-sentence {
    font-size: 0.8rem;
  }
}

/* Legacy button names (alias to shared) – use .btn--primary / .btn--secondary for new code */
.btn-indigo-violet,
.btn-purple {
  background-color: var(--indigo-violet);
  color: var(--white);
  border: none;
}

.btn-indigo-violet:hover,
.btn-purple:hover {
  background-color: var(--indigo-violet-hover);
  color: var(--white);
}

.btn-gray {
  background-color: var(--moon-silver);
  color: var(--umbra-black);
  border: none;
}

.btn-gray:hover {
  background-color: var(--moon-silver-hover);
  color: var(--umbra-black);
}
/* Opt Out modal – liquid glass */
.opt-out-modal {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: var(--moon-silver);
  padding: 0;
  overflow: hidden;
}

.opt-out-modal .modal-body.opt-out-modal__body {
  padding: 4rem 2.75rem 3.25rem 2.75rem;
  padding-top: 4rem;
}

.opt-out-modal .modal-header {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  padding: 0;
  border: none;
}

.opt-out-modal__close-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: var(--glass-btn-bg) !important;
  border: 1px solid var(--glass-btn-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.opt-out-modal__close-btn:hover {
  background: var(--glass-btn-bg-hover) !important;
  border-color: var(--glass-btn-border-hover);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.opt-out-modal__close-icon {
  display: block;
  line-height: 0;
}

.opt-out-modal__close-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.opt-out-modal__image-wrap {
  min-height: 200px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  margin-bottom: 2rem;
}

.opt-out-modal__image {
  display: block;
  object-fit: cover;
  max-height: 280px;
  width: 100%;
}

.opt-out-modal__placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg-strong);
  color: var(--moon-silver);
  font-size: 0.9rem;
  padding: 2rem;
}

.opt-out-modal__title {
  margin: 0;
  margin-bottom: 0.5rem;
}

.opt-out-modal__subtitle {
  margin: 0;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.opt-out-modal__text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.opt-out-modal__body-text {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  color: var(--moon-silver);
}

.demo-modal__body ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.demo-modal__body ul li {
  margin-bottom: 0.25rem;
}

.demo-modal__body p + p {
  margin-top: 1rem;
}


@media (max-width: 576px) {
  .opt-out-modal .modal-body.opt-out-modal__body {
    padding: 3.5rem 1.5rem 2.25rem 1.5rem;
    padding-top: 3.5rem;
  }

  .opt-out-modal .modal-header {
    top: 1rem;
    right: 1rem;
  }

  .opt-out-modal__close-btn {
    width: 44px;
    height: 44px;
  }
}
/* Base feature card (e.g. try section) – glass style */
.feature-card,
.card.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 95%;
  transform: scale(1);
}

.feature-card:hover {
  transform: scale(1.02);
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* Get to know Raven Prism: full-bg image card, title + subtitle at top, third line at bottom */
.feature-card--bg {
  position: relative;
  width: 100%;
  height: 30rem;
  min-height: 30rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--bg:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Shared feature card with bg image: inner div + vignette (no border gap) */
.feature-card--bg-image {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.feature-card__bg-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background-image: var(--feature-card-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.feature-card__bg-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 22%,
    rgba(0, 0, 0, 0.35) 40%,
    transparent 55%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.feature-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  gap: 0.25rem;
}

.feature-card__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.feature-card__subtitle {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.feature-card__line {
  margin: 0;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default: animate on load (for pages/sections without animate-on-scroll) */
.animate-fade-up {
  animation: fadeInUp 1s ease both;
}

.animate-fade-up-delay-1 {
  animation: fadeInUp 1s ease 0.2s both;
}

.animate-fade-up-delay-2 {
  animation: fadeInUp 1s ease 0.4s both;
}

/* Scroll-triggered: only animate when section has .in-view (set by Intersection Observer) */
.animate-on-scroll .animate-fade-up,
.animate-on-scroll .animate-fade-up-delay-1,
.animate-on-scroll .animate-fade-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
}

.animate-on-scroll.in-view .animate-fade-up {
  animation: fadeInUp 1s ease both;
}

.animate-on-scroll.in-view .animate-fade-up-delay-1 {
  animation: fadeInUp 1s ease 0.2s both;
}

.animate-on-scroll.in-view .animate-fade-up-delay-2 {
  animation: fadeInUp 1s ease 0.4s both;
}

/* ============================================
   SECTIONS – Hero
   ============================================ */

.hero-section {
  background-color: var(--pure-black);
  position: relative;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section--preview .hero-video.hero-video--intro-pending {
  opacity: 0;
}

.hero-section--preview .hero-video.hero-video--revealed {
  opacity: 1;
}

.hero-intro-still {
  position: absolute;
  inset: 0;
  background-image: var(--hero-intro-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hero-video-fade, 900ms) ease-in-out;
}

.hero-intro-still::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.hero-intro-still--visible {
  opacity: 1;
}

.hero-intro-still--fading {
  opacity: 0;
}

.hero-intro-still--done {
  display: none;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-overlay);
  z-index: 1;
}

.hero-section--preview {
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  --hero-video-fade: 900ms;
  --hero-exit: 0;
  --hero-video-scale: 1;
  --hero-video-ty: 0px;
  --hero-content-ty: 0px;
  --hero-content-drop-t: 0;
  --hero-content-pb-rest: 1.5rem;
  --hero-content-pb-end: 0.375rem;
  --hero-watch-collapse: 0;
  --hero-head-mb: clamp(0.3rem, 0.9vh, 0.55rem);
  --hero-watch-mt: 0.45rem;
  --hero-watch-btn-h: 42px;
  --hero-watch-sound-blur: 0px;
  --hero-watch-sound-opacity: 1;
  --hero-watch-sound-pointer: auto;
  --hero-scale-end: 1;
}

/* Preview hero: video scale + translateY from JS (--hero-video-scale, --hero-video-ty) so lift tracks final height & headline */
.hero-section--preview .hero-video,
.hero-section--preview .hero-intro-still {
  transform-origin: 50% 0;
  transform: translateY(var(--hero-video-ty, 0px)) scale(var(--hero-video-scale, 1));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-section--preview .hero-video {
  border-radius: calc(24px * var(--hero-exit));
  border: 1px solid rgba(255, 255, 255, calc(0.14 * var(--hero-exit)));
  box-shadow: 0 calc(20px * var(--hero-exit)) calc(50px * var(--hero-exit)) rgba(0, 0, 0, calc(0.4 * var(--hero-exit)));
  transition:
    opacity var(--hero-video-fade, 900ms) ease-in-out,
    transform 0.2s ease-out,
    border-radius 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform;
}

.hero-section--preview .hero-intro-still {
  transition:
    opacity var(--hero-video-fade, 900ms) ease-in-out,
    transform 0.2s ease-out;
  will-change: transform, opacity;
}

/* Preview hero: centered tagline + deck over video */
.hero-section--preview .preview-hero-head {
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: calc(var(--hero-head-mb) * (1 - var(--hero-watch-collapse, 0)));
  text-transform: none;
}

.hero-section--preview .preview-hero-deck {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  line-height: 1.25;
  opacity: 0.92;
}

.hero-section--preview .preview-hero-tagline {
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.5vw + 1.25rem, 5rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-align: center;
  text-transform: none !important;
  font-variant: normal;
}

.hero-section--preview .hero-watch-sound:not(.hero-watch-sound--hidden),
.hero-section--preview.hero-video-controls-active .hero-watch-sound.hero-watch-sound--hidden {
  margin-top: calc(var(--hero-watch-mt) * (1 - var(--hero-watch-collapse, 0))) !important;
  max-height: calc(var(--hero-watch-btn-h) * (1 - var(--hero-watch-collapse, 0)));
  overflow: hidden;
}

.hero-watch-sound {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(8, 8, 12, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  filter: blur(var(--hero-watch-sound-blur, 0px));
  opacity: var(--hero-watch-sound-opacity, 1);
  pointer-events: var(--hero-watch-sound-pointer, auto);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.35s ease,
    opacity 0.35s ease,
    visibility 0.35s ease,
    filter 0.35s ease;
}

/* Fade out on unmute; keep layout space so headline does not jump */
.hero-watch-sound.hero-watch-sound--hidden {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
  filter: none !important;
  transform: translateY(4px);
}

.hero-watch-sound:hover,
.hero-watch-sound:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 8, 12, 0.62);
}

.hero-watch-sound__icon {
  display: inline-flex;
  line-height: 0;
}

/* Full-screen desktop launch video (/video) — contain (full frame), rotates with viewport */
.video-page {
  margin: 0;
  background: #000;
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
}

.video-page-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.video-page__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.video-page__player {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  cursor: pointer;
  background: #000;
}

.video-page__play-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 8, 12, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.video-page__play-pause:hover,
.video-page__play-pause:focus-visible {
  background: rgba(8, 8, 12, 0.62);
  border-color: rgba(255, 255, 255, 0.72);
  outline: none;
}

.video-page__play-pause.is-playing {
  opacity: 0;
  pointer-events: none;
}

.video-page__stage:hover .video-page__play-pause.is-playing,
.video-page__play-pause.is-playing:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.video-page__play-pause-icon {
  display: none;
  line-height: 0;
}

.video-page__play-pause.is-paused .video-page__play-pause-icon--play,
.video-page__play-pause.is-playing .video-page__play-pause-icon--pause {
  display: inline-flex;
}

.video-page__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding:
    1rem
    max(1rem, env(safe-area-inset-right, 0px))
    max(1.25rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

.video-page__seek-wrap {
  width: min(32rem, 100%);
  margin: 0;
  pointer-events: auto;
}

.video-page__seek {
  display: block;
  width: 100%;
  height: 0.35rem;
  margin: 0;
  cursor: pointer;
  accent-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.video-page__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.video-page__seek::-moz-range-thumb {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.video-page__seek::-moz-range-track {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.video-page__cta {
  pointer-events: auto;
  text-decoration: none;
}

.hero-section--preview.hero-video-controls-active::before {
  pointer-events: none;
}

/* Keep headline above video; clicks pass through to controls underneath */
.hero-section--preview .section__content {
  transform: translateY(var(--hero-content-ty, 0px));
  padding-bottom: calc(
    var(--hero-content-pb-rest) * (1 - var(--hero-content-drop-t, 0)) +
    var(--hero-content-pb-end) * var(--hero-content-drop-t, 0)
  );
  will-change: transform;
}

.hero-section--preview.hero-video-controls-active .section__content {
  z-index: 4;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-section--preview {
    --hero-watch-mt: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section--preview {
    --hero-head-mb: clamp(0.15rem, 0.45vh, 0.3rem);
    --hero-watch-mt: 0.35rem;
    --hero-content-pb-rest: 0.875rem;
    --hero-content-pb-end: max(0.375rem, env(safe-area-inset-bottom, 0px));
  }

  /* Default: cover (desktop hero). After “Watch with sound”: mobile crop, full frame */
  .hero-section--preview .hero-video.hero-video--mobile-fit {
    object-fit: contain;
    object-position: center center;
  }

  /* Sit on the bottom edge of the contained video (letterbox strip) */
  .hero-section--preview.hero-section--mobile-fit .section__content {
    margin-bottom: 0;
  }

  .hero-section--preview.hero-section--mobile-fit {
    --hero-head-mb: 0;
    --hero-watch-mt: 0.65rem;
  }

  .preview-about-section > .container {
    --preview-phone-inline: calc(1.25rem + clamp(0.65rem, 2.5vw, 1.5rem));
  }

  /* No extra .row / .col gutter — inset comes only from padding (matches .preview-about-section) */
  .hero-section--preview .section__content > .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-section--preview .section__content > .row > [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
  }

  .preview-about-section > .container {
    padding-left: var(--preview-phone-inline) !important;
    padding-right: 1rem !important;
  }

  .hero-section--preview .preview-hero-tagline {
    white-space: normal;
    font-size: clamp(1.65rem, 5vw + 1rem, 2.75rem);
  }

  .hero-section--preview .preview-hero-deck {
    font-size: clamp(0.985rem, 2.35vw + 0.82rem, 1.2rem);
    margin-top: 0.25rem;
  }
}

.about-section {
  background-color: var(--moon-silver);
}

/* Preview page: long-form About (numbered blocks + figure) */
.preview-about-section {
  background-color: var(--pure-black);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  scroll-margin-top: 6rem;
}

.preview-about-inner {
  width: 100%;
  max-width: min(32rem, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .preview-about-inner {
    max-width: min(68rem, calc(100vw - 2rem));
  }
}

.preview-about-header {
  margin-top: clamp(0rem, 0.75vw, 0.5rem);
}

.preview-about-intro {
  font-size: 1.125rem;
  line-height: 1.65;
}

.preview-about-block {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.preview-about-block + .preview-about-block {
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
}

.preview-about-block__grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.preview-about-block__text {
  min-width: 0;
}

/* Single column through tablet / small laptop (below lg); two columns from 992px up */
@media (max-width: 991.98px) {
  .preview-about-block__grid {
    grid-template-columns: 1fr;
  }

  .preview-about-block__media-spacer {
    display: none;
  }

  /* Match prior mobile order: copy first, image below */
  .preview-about-block__text {
    order: -1;
  }

  .preview-about-block__figure {
    margin-left: auto;
    margin-right: auto;
    max-width: min(420px, 100%);
  }
}

@media (min-width: 992px) {
  .preview-about-block__grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    column-gap: clamp(1.25rem, 3vw, 2.125rem);
    row-gap: 0;
  }

  /* Empty left rail: same footprint as 16:9 image at column width */
  .preview-about-block__media-spacer {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
  }
}

.preview-about-block:last-child {
  margin-bottom: 0;
}

.preview-about-block__title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
}

.preview-about-block__num {
  display: block;
  font-weight: 400;
  color: var(--moon-silver);
  margin-bottom: 0.125rem;
}

.preview-about-block__name {
  display: block;
  font-weight: 700;
  color: var(--moon-silver);
  letter-spacing: 0.01em;
}

.preview-about-block__body {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.preview-about-block__figure {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.preview-about-block__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.preview-about-block__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-about-block__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.preview-about-block__caption {
  line-height: 1.5;
  opacity: 0.9;
}

.features-section {
  background: linear-gradient(135deg, var(--indigo-violet) 0%, var(--umbra-black) 100%);
}

/* ============================================
   SECTIONS – Intelligence, meet design
   ============================================ */

.intelligence-design-section {
  background-color: var(--pure-black);
  overflow: hidden;
}

.intelligence-design-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  transform: scale(0.6);
  transform-origin: center center;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 1.5s ease, border-radius 1.5s ease, border 1.5s ease, box-shadow 1.5s ease;
}

.intelligence-design-section.video-scaled-up .intelligence-design-video {
  transform: scale(1);
  border-radius: 0;
  border-color: transparent;
  box-shadow: none;
}

.intelligence-design-heading {
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  text-align: center;
}

.contact-section {
  background-color: var(--pure-black);
}

/* ============================================
   SECTIONS – Made for Creators
   ============================================ */

.maker-section-wrapper {
  position: relative;
  background-color: var(--pure-black);
}

/* Section 2: standalone first panel (full-height section) */
#section2.maker-section-wrapper {
  overflow: hidden;
}
#section2 .maker-panel-bg {
  position: absolute;
  inset: 0;
  background-image: var(--maker-panel-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#section2 .maker-panel-bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-image: var(--maker-panel-bg-mobile);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#section2 .maker-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-overlay);
}

/* Subtle radial prism bloom – light falling and refracting on one area */
#section2 .maker-panel-prism-bloom {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Soft warm core – light spot */
    radial-gradient(
      ellipse 70% 55% at 62% 28%,
      rgba(255, 252, 248, 0.22) 0%,
      rgba(255, 250, 242, 0.1) 30%,
      rgba(255, 248, 240, 0.04) 55%,
      transparent 75%
    ),
    /* Prism fringe – cool edge */
    radial-gradient(
      ellipse 85% 65% at 68% 32%,
      transparent 35%,
      rgba(200, 228, 255, 0.06) 48%,
      rgba(180, 218, 255, 0.02) 60%,
      transparent 72%
    ),
    /* Prism fringe – warm edge */
    radial-gradient(
      ellipse 80% 60% at 56% 35%,
      transparent 40%,
      rgba(255, 230, 210, 0.05) 52%,
      rgba(255, 220, 200, 0.02) 65%,
      transparent 78%
    );
}

#section2 .maker-panel-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* ============================================
   SECTIONS – Your Craft slideshow
   ============================================ */

.maker-slideshow-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: var(--pure-black);
}

.maker-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--umbra-black);
}

/* 4 background layers stacked (absolute), one visible by idx */
.maker-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.maker-slide-bg.maker-slide-bg-active {
  opacity: 1;
  z-index: 1;
}

.maker-slide-bg-inner {
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.55s ease;
}

.maker-slide-bg:not(.maker-slide-bg-active) .maker-slide-bg-inner {
  filter: blur(8px);
}

.maker-slide-bg.maker-slide-bg-active .maker-slide-bg-inner {
  filter: blur(0);
}

.maker-slide-bg-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-overlay);
}

.maker-slide-bg .maker-slide-bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg-mobile);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.55s ease;
}

.maker-slide-bg:not(.maker-slide-bg-active) .maker-slide-bg-mobile {
  filter: blur(8px);
}

.maker-slide-bg.maker-slide-bg-active .maker-slide-bg-mobile {
  filter: blur(0);
}

.maker-slide-bg-has-video .maker-slide-bg-inner.maker-slide-bg-video-wrap {
  background-image: none;
}

.maker-slide-bg-video-wrap .maker-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maker-slide-bg-video-wrap .maker-bg-video-mobile {
  display: none;
}

/* Top overlay: text + 4 buttons (liquid glass gradient) */
.maker-slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 55%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.maker-slideshow-overlay .container {
  pointer-events: none;
}

.maker-slide-copy {
  display: none;
}

.maker-slide-copy.maker-slide-copy-active {
  display: block;
}

.maker-slideshow-overlay .maker-panel-heading {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.maker-slideshow-nav {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  pointer-events: auto;
}

.maker-slideshow-buttons {
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.maker-slide-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 1rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-btn-border);
  background: var(--glass-btn-bg);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.maker-slide-btn:hover {
  background: var(--glass-btn-bg-hover);
  border-color: var(--glass-btn-border-hover);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Active pill only: light background, dark text for contrast */
.maker-slide-btn.maker-slide-btn-active {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--umbra-black);
  box-shadow: var(--glass-shadow);
}

.maker-slideshow-and-more {
  width: 100%;
  text-align: left;
  margin-top: 0.5rem;
  pointer-events: auto;
}

.maker-slide-btn-text {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.35rem 0.75rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.maker-slide-btn-text:hover {
  color: var(--white);
  background: var(--glass-btn-bg-hover);
  border-color: var(--glass-btn-border-hover);
}

.maker-slide-btn-text.maker-slide-btn-text-active {
  color: var(--white);
  text-decoration: underline;
  background: var(--glass-btn-bg);
  border-color: var(--glass-btn-border);
}

.maker-slide-chevron {
  margin-left: 0.2em;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .maker-slide-bg .maker-slide-bg-mobile {
    display: block;
  }
  .maker-slide-bg .maker-slide-bg-inner:not(.maker-slide-bg-video-wrap) {
    background-image: none !important;
  }
  .maker-slide-bg-video-wrap .maker-bg-video-desktop {
    display: none;
  }
  .maker-slide-bg-video-wrap .maker-bg-video-mobile {
    display: block;
  }
  /* Section 2: use mobile bg image on small screens */
  #section2 .maker-panel-bg {
    background-image: none !important;
  }
  #section2 .maker-panel-bg-mobile {
    display: block;
  }
  /* Developer page hero: use mobile bg image on small screens */
  .developer-hero__bg {
    background-image: none !important;
  }
  .developer-hero__bg-mobile {
    display: block !important;
  }
  /* Section 2: move text overlay up on mobile */
  #section2 .maker-panel-overlay .container {
    transform: translateY(-250px);
  }
  /* Section 3 (slideshow): move text overlay up on mobile */
  #section3 .maker-slideshow-overlay .container {
    transform: translateY(-150px);
  }
  /* Perpetual power (Raven Wings): shift bg video left on phone */
  .raven-wings-bg-video {
    left: -110%!important;
  }
  /* Eye Control: shift bg video left on phone */
  .eye-control-bg-video {
    left: -40%!important;
  }
  /* Opt out by default: shift bg left on phone */
  .section--opt-out.opt-out-section {
    background-position-x: 70%!important;
  }
}

/* Developer hero: show mobile bg from 992px down (tablets + phones) */
@media (max-width: 991px) {
  .developer-hero__bg {
    background-image: none !important;
  }
  .developer-hero__bg-mobile {
    display: block !important;
  }
}

.maker-panel-heading em,
.maker-subheading em {
  font-style: italic;
}

.maker-subheading {
  max-width: 32em;
  pointer-events: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ============================================
   SECTIONS – Opt out by default
   ============================================ */

.opt-out-section {
  background-image: var(--opt-out-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.opt-out-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-overlay);
  z-index: 1;
}

.opt-out-section__overlay {
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}


/* ============================================
   SECTIONS – Features (carousel & cards)
   ============================================ */


/* Enterprise features only: larger cards → larger type, especially bottom line */
.section--features-enterprise {
  padding-top: 4rem;
}
.section--features-enterprise .feature-card__subtitle {
  font-size: 1.05rem !important;
}
.section--features-enterprise .feature-card__title {
  font-size: 2rem !important;
}
.section--features-enterprise .feature-card__line {
  font-size: 1.3rem !important;
  line-height: 1.6 !important;
}

.sensory-carousel-wrapper {
  position: relative;

}

.sensory-carousel-container {
  min-width: 100vw;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sensory-carousel-container::-webkit-scrollbar {
  display: none;
}

.sensory-carousel {
  display: flex;
  width: auto;
  margin: 0;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.75rem;
  padding-right: max(2rem, 200vw);
  transition: transform 0.5s ease;
}

.sensory-carousel-item {
  flex: 0 0 20rem;
  min-width: 0;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--glass-btn-bg);
  border: 1px solid var(--glass-btn-border);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.carousel-btn:hover {
  background: var(--glass-btn-bg-hover);
  border-color: var(--glass-btn-border-hover);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  /* Clip carousel on mobile so 130% width doesn’t cause page horizontal scroll (index + developer capabilities) */
  .sensory-carousel-wrapper,
  .sensory-carousel-wrapper--cards {
    overflow-x: hidden;
    width: 100%;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-controls {
    gap: 0.75rem;
  }
}



/* ============================================
   SECTIONS – 3D Model viewer
   ============================================ */

#section5.section-black,
.opt-out-section,
.eye-control-section,
.section-video-wrapper,
.about-page-section,
.enterprise-page-section,
.error-page-section {
  background-color: var(--pure-black);
}

.about-page-section,
.enterprise-page-section {
  padding-top: 100px;
}

.about-page-section {
  padding-top: 280px !important;
  padding-bottom: 4rem !important;
}
.about-page-section__title {
  margin-bottom: 4rem !important;
}
.about-page-section {
  transition: padding 1.0s ease, min-height 1.0s ease, align-items 1.0s ease;
}
.about-page-section #about-glass-container {
  transition: min-height 1.0s ease;
  overflow: visible;
  container-type: inline-size;
  container-name: about-glass;
}
/* About glass: bg and content separated (absolute / relative) */
.about-glass__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  pointer-events: none;
  transform-origin: center center;
  transform: scaleX(var(--about-glass-scale, 1));
  transition: transform 0.12s ease-out;
}
.about-glass__content {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
}
/* Removed: section stretch + glass min-height at breakpoint (was causing sudden jump).
   At breakpoint we only scale the bg horizontally now. Re-add below if you want full-height glass. */
/* .about-page-section.about-glass-expanded { min-height: 100vh !important; align-items: stretch; padding-top: 2rem !important; padding-bottom: 2rem !important; } */
/* .about-page-section.about-glass-expanded .container.section__content { flex: 1; display: flex; flex-direction: column; } */
/* .about-page-section.about-glass-expanded #about-glass-container { min-height: calc(100vh - 4rem); flex: 1; } */

.error-page-section .error-page__code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-page-section .about-glass__content {
  padding: 5rem 3rem !important;
}

@media (max-width: 576px) {
  .about-page-section .about-glass__content {
    padding-bottom: 7rem !important;
    padding-top: 2.5rem !important;
  }
  .about-page-section .about-glass__content .d-flex.flex-wrap {
    gap: 1rem !important;
    margin-top: 0.5rem !important;
  }
}

/* About page: image cards (2×2 grid) – glassmorphism, image + caption */
.about-image-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.about-image-card:hover {
  border-color: var(--glass-border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.about-image-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.about-image-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* One center-aligned sentence under each image row */
.about-image-row-caption {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* About Core team section – same background as about */
.about-core-team-section {
  background-color: var(--pure-black);
}

/* Flip wrapper: same height as card, perspective for 3D */
.about-team-card-flip {
  min-height: 36rem;
  height: 36rem;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}
.about-team-card-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.about-team-card-flip.is-flipped .about-team-card-flip__inner {
  transform: rotateY(180deg);
}
.about-team-card-flip__front,
.about-team-card-flip__back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.about-team-card-flip__back {
  transform: rotateY(180deg) translateZ(0);
  -webkit-transform: rotateY(180deg) translateZ(0);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.about-team-card-flip__back-bg {
  position: absolute;
  inset: 0;
  background-image: var(--feature-card-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
  transform: translateZ(0.1px);
  -webkit-transform: translateZ(0.1px);
}
.about-team-card-flip__back-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.15);
}
.about-team-card-flip__back-glass {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem 1.75rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border);
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.about-team-card-flip__back-glass .about-team-card__name {
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.about-team-card-flip__back-glass .about-team-card__title {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 1.25rem;
}
.about-team-card-flip__back-line {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  line-height: 1.6;
  opacity: 0.95;
}
.about-team-card-flip__back-line:last-child {
  margin-bottom: 0;
}
.about-team-card-flip__back-more {
  width: 100%;
  text-align: right;
}
.about-team-card-flip__more-link {
  font-size: 1rem;
}
.about-team-card-flip__more-link:hover {
  opacity: 0.9;
  color: var(--white);
}

/* Core team cards – same glassiness as feature_card.html: bg image + vignette + content at bottom */
.about-team-card {
  position: relative;
  min-height: 36rem;
  height: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-team-card-flip:hover .about-team-card-flip__front .about-team-card {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.about-team-card-flip.is-flipped:hover .about-team-card-flip__front .about-team-card {
  transform: none;
}
.about-team-card .feature-card__bg-inner {
  border-radius: inherit;
  transform: translateZ(0.1px);
  -webkit-transform: translateZ(0.1px);
}
.about-team-card .feature-card__bg-inner::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 70%,
    rgba(0, 0, 0, 0.12) 100%
  );
}
/* Bottom strip: same glass as base .feature-card – blur, border, inset highlight */
.about-team-card__content {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-top: auto;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.about-team-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.about-team-card__title {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Team section is taller than the viewport on phone; skip scroll fade (IO + 3D flip). */
@media (max-width: 767.98px) {
  .about-core-team-section .animate-fade-up,
  .about-core-team-section .animate-fade-up-delay-1 {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.section-video-wrapper {
  background-color: transparent;
}

/* Product video section: header row, then main (video + overlay buttons) */
.section-video-inner {
  width: 100%;
  padding-top: 100px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: min(100vh - 4rem, 800px);
  justify-content: center;
  z-index: 1;
}

.section-video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

.section-video-heading {
  margin: 0;
  text-align: left;
  flex-shrink: 0;
}

.section-video-main {
  position: relative;
  width: 100%;
  height: 580px;
  flex: 1;
  min-height: 580px;
}

.section-video-canvas-wrap {
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.section-video-canvas-wrap .section-video-player {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.section-video-buttons-col {
  position: absolute;
  left: 2rem;
  top: 6rem;
  z-index: 10;
  pointer-events: auto;
}

.section-video-buttons-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-video-nav-keys {
  display: flex !important;
  flex-direction: column;
  gap: 0.25rem;
}

.section-video-nav-left,
.section-video-nav-right {
  display: none !important;
  flex-shrink: 0;
}

.section-video-nav-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-btn-border);
  border-radius: 50%;
  background: var(--glass-btn-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--white);
  box-shadow: var(--glass-shadow);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.section-video-nav-btn:hover {
  background: var(--glass-btn-bg-hover) !important;
  border-color: var(--glass-btn-border-hover);
  color: var(--white);
}

.section-video-close-btn {
  position: absolute;
  top: 3rem;
  right: 1rem;
  z-index: 11;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-btn-border);
  border-radius: 50%;
  background: var(--glass-btn-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--white);
  box-shadow: var(--glass-shadow);
  transition: background 0.2s, border-color 0.2s, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.section-video-close-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.section-video-close-btn:hover {
  background: var(--glass-btn-bg-hover) !important;
  border-color: var(--glass-btn-border-hover);
  color: var(--white);
}

.section-video-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}


/* ============================================
   SECTIONS – Raven Wings (perpetual power)
   ============================================ */

.raven-wings-section .raven-wings-bg-video {
  position: absolute;
  top: -10%;
  left: 40%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%; /* Adjust crop: left % (0=left, 50=center, 100=right), top % (0=top, 50=center, 100=bottom) */
  z-index: 0;
  display: block;
}
/* Optional: shift video position (e.g. if object-position isn’t enough) — uncomment and set values in % or px */
/* .raven-wings-section .raven-wings-bg-video { left: 0%; top: 0%; } */

/* ============================================
   SECTIONS – Eye Control (full-screen video)
   ============================================ */

.eye-control-section {
  padding: 0;
}
.eye-control-bg-video {
  position: absolute;
  top: 50%;
  left: 40%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.eye-control-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.eye-control-kicker {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--moon-silver);
}
.eye-control-subtitle {
  max-width: 32em;
}

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

@media (max-width: 768px) {
  .display-1 {
    font-size: 3rem !important;
  }
  
  .subtitle {
    font-size: 1.5rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }

  /* Section 6 (product video) responsive: stack header → main (video + overlay) → buttons row */
  .section-video-inner {
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 12px 2rem;
    min-height: 0;
  }

  .section-video-header {
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .section-video-heading {
    margin: 0;
  }

  .section-video-main {
    position: relative;
    height: 720px;
    min-height: 720px;
    flex: 0 0 auto;
    width: 100%;
  }

  .section-video-canvas-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    margin-bottom: 0;
  }

  .section-video-close-btn {
    top: 1rem;
    right: 1rem;
  }

  .section-video-buttons-col {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    transform: none;
    width: 95%;
    margin-left: 5%;
    margin-top: 0;
    padding: 0.75rem 0;
    z-index: 10;
    pointer-events: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  }

  .section-video-buttons-wrap {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    overflow: hidden;
  }

  .section-video-nav-keys {
    flex-direction: row;
    flex-shrink: 0;
  }

  .section-video-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    padding-bottom: 0.25rem;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .section-video-buttons::-webkit-scrollbar {
    display: none;
  }

  .section-video-buttons .video-view-btn {
    flex-shrink: 0;
  }

  .video-view-btn.active {
    min-width: min(374px, calc(95vw - 120px))!important;
    width: min(374px, calc(95vw - 120px))!important;
  }
}

@media (max-width: 480px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
}

/* ============================================
   SECTIONS – Reserve (contact / invite code)
   ============================================ */

.email-input {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-strong) !important;
  color: var(--white) !important;
  transition: all 0.3s ease;
  padding: 15px 30px;
  box-shadow: var(--glass-shadow);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.email-input:focus {
  background: var(--glass-bg-strong) !important;
  border-color: var(--indigo-violet) !important;
  color: var(--white) !important;
  box-shadow: 0 0 0 0.2rem rgba(136, 102, 222, 0.25), var(--glass-shadow) !important;
  outline: none !important;
}

.email-form-wrapper {
  position: relative;
  width: 100%;
  padding: 12px;
}

.email-submit-btn {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(136, 102, 222, 0.65);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-btn-border);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glass-shadow);
}

.email-submit-btn:hover {
  background: rgba(136, 102, 222, 0.85);
  border-color: var(--glass-btn-border-hover);
  color: var(--white);
}

/* Product video section: pill button expand/collapse */
.video-view-btn {
  border-radius: 30px !important;
  transition: width 0.4s linear, min-width 0.4s linear, opacity 0.25s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  min-width: 150px;
  width: 150px;
  min-height: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  padding: 0 1rem !important;
  overflow: hidden;
  background: var(--glass-btn-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-btn-border) !important;
  color: var(--white) !important;
  font-size: 1.05rem;
  box-sizing: border-box;
  box-shadow: var(--glass-shadow);
}

@media (max-width: 768px) {
  .section-video-nav-keys {
    display: none !important;
  }

  .section-video-nav-left,
  .section-video-nav-right {
    display: none !important;
  }

  .section-video-buttons-col.has-expanded .section-video-nav-left,
  .section-video-buttons-col.has-expanded .section-video-nav-right {
    display: inline-flex !important;
  }

  .section-video-buttons-col.has-expanded .section-video-buttons-wrap {
    width: 100%;
  }

  .section-video-buttons-col.has-expanded .section-video-buttons {
    flex: 1;
    min-width: 0;
    position: relative;
    justify-content: center;
    align-items: center;
  }

  .section-video-buttons-col.has-expanded .section-video-buttons .video-view-btn:not(.active):not(.expanding-now) {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .section-video-buttons-col.has-expanding .section-video-buttons .video-view-btn:not(.expanding-now) {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .section-video-buttons-col.has-expanded .video-view-btn:not(.active):not(.expanding-now) {
    opacity: 0;
    pointer-events: none;
  }

  .section-video-buttons-col.has-expanding .video-view-btn:not(.expanding-now) {
    opacity: 0;
    pointer-events: none;
  }
}

.video-view-btn-icon {
  flex-shrink: 0;
  width: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 300;
  transition: opacity 0.3s linear, visibility 0.3s linear;
}

.video-view-btn.active .video-view-btn-icon {
  display: none;
}

.video-view-btn-label {
  display: block;
  font-weight: 500;
  transition: opacity 0.2s linear 0s;
}

.video-view-btn.active .video-view-btn-label {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  transition: opacity 0s;
}

.video-view-btn-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.video-view-btn-detail {
  font-weight: 400;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: opacity 0s, max-height 1s linear 0s;
}

.video-view-btn.active .video-view-btn-detail {
  max-height: 20em;
  opacity: 0.9;
  position: static;
  transition: max-height 1s linear, opacity 0.2s linear 0.5s;
}

.video-view-btn:hover {
  background: var(--glass-btn-bg-hover) !important;
  border-color: var(--glass-btn-border-hover) !important;
  color: var(--white);
}

.video-view-btn.active {
  min-width: 374px;
  width: 374px;
  flex-shrink: 0;
  min-height: 0;
  height: auto;
  align-items: flex-end;
  padding: 1.25rem 1.5rem !important;
  border-radius: 30px !important;
  background: var(--glass-btn-bg-hover) !important;
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-btn-border-hover) !important;
  color: var(--white) !important;
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: width 0.4s linear, min-width 0.4s linear;
}

/* ============================================
   UNUSED ON INDEX – styles for other pages (Developer, Enterprise, Geek out, About, etc.)
   Keep here for those templates; change branding in shared components above.
   ============================================ */

.prism-section {
  background: linear-gradient(135deg, var(--indigo-violet) 0%, var(--umbra-black) 100%);
}

.developer-section {
  background-color: var(--umbra-black);
}

.docs-hero-section {
  min-height: 100vh;
  padding-top: 180px !important;
}

/* Developer page hero – dark background, no video */
.developer-hero {
  background-color: var(--pure-black);
  position: relative;
  overflow: hidden;
}

.developer-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.developer-hero__bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-mobile);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.developer-hero .section__content {
  z-index: 2;
}

/* Developer page code blocks – glass style */
.dev-code-inline,
.dev-code-block {
  background: var(--glass-btn-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.dev-code-block pre {
  font-size: 14px;
  line-height: 1.6;
}

.dev-code-block code {
  color: var(--moon-silver);
}

/* So Many Apps – horizontal scrolling (full width/height, heading overlay, slower speed) */
.app-montage-section {
  width: 100vw;
  min-width: 100%;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  background-color: var(--pure-black);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.app-montage-section__overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}

.app-montage-section__overlay::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120vmax;
  height: 120vmax;
  max-width: 200%;
  max-height: 200%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 25%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.12) 70%,
    transparent 85%
  );
  z-index: -1;
}

.app-montage-section__overlay .section__title {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1),
               0 4px 12px rgba(0, 0, 0, 1),
               0 8px 24px rgba(0, 0, 0, 0.9);
}

.app-montage-section__tracks {
  position: absolute;
  top: 20vh;
  left: 0;
  right: 0;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.875rem;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

/* App Montage Hero – legacy (kept for reference) */
.app-montage-hero {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-montage-hero__tracks {
  position: absolute;
  inset: 0;
  top: 100px;
  width: 100%;
  overflow: hidden;
  z-index: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.app-montage-hero__overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
}

.app-montage-hero__box {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  box-shadow: 0 0 100px 40px rgba(0, 0, 0, 0.35);
  border-radius: 1rem;
  padding: 1.5rem 2.5rem;
  max-width: 52rem;
  width: 90%;
  margin: 0 auto;
}

.app-montage-hero__subheading {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.app-montage-track {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: nowrap;
  width: max-content;
  padding: 0.5rem 0;
  flex-shrink: 0;
  min-height: 2.25rem;
  will-change: transform;
  contain: layout style paint;
}

/* Horizontal scroll – duration from JS (--montage-duration), translate only */
.app-montage-track--l {
  animation: app-montage-scroll-left var(--montage-duration) linear infinite;
}

.app-montage-track--r {
  animation: app-montage-scroll-right calc(var(--montage-duration) * 0.98) linear infinite;
}

.app-montage-track:nth-child(3n).app-montage-track--l { animation-duration: calc(var(--montage-duration) * 1.02); }
.app-montage-track:nth-child(3n).app-montage-track--r { animation-duration: calc(var(--montage-duration) * 0.97); }
.app-montage-track:nth-child(5n).app-montage-track--l { animation-duration: calc(var(--montage-duration) * 1.01); }
.app-montage-track:nth-child(5n).app-montage-track--r { animation-duration: calc(var(--montage-duration) * 0.99); }

.app-montage-track--dir-1 {
  animation: app-montage-scroll-left var(--montage-duration) linear infinite;
}

.app-montage-track--dir--1 {
  animation: app-montage-scroll-right calc(var(--montage-duration) * 0.98) linear infinite;
}

@keyframes app-montage-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes app-montage-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.app-montage-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--moon-silver);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  white-space: nowrap;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.app-montage-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.9;
}

.app-montage-item__text {
  /* text inherits from .app-montage-item */
}

.app-montage-cta {
  font-size: 1rem;
  animation: app-montage-cta-pulse 3s ease-in-out infinite;
  opacity: 0.85;
}

@keyframes app-montage-cta-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* So Many Apps – liquid glass grid (full viewport, heading overlay) */
.app-grid-section {
  min-height: 100vh;
  height: 100vh;
  background-color: var(--pure-black);
  padding-top: 0;
  overflow: hidden;
}

.app-grid-heading--overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}

.app-grid-wrapper {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.app-grid-card {
  aspect-ratio: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.app-grid-card:hover,
.app-grid-card:focus {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  outline: none;
}

.app-grid-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 0;
  transition: opacity 0.35s ease-in-out;
}

.app-grid-card__content--out {
  opacity: 0;
}

.app-grid-card__content--in {
  opacity: 1;
}

.app-grid-card__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.app-grid-card__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.app-grid-card__title {
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--moon-silver);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(50, 1fr);
    gap: 4px;
  }

  .app-grid-card__title {
    font-size: 0.65rem;
  }

  .app-grid-card__icon-wrap,
  .app-grid-card__icon {
    width: 20px;
    height: 20px;
  }
}

/* Developer quote block (MIT Reality Hack) */
.dev-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.dev-quote__text {
  font-weight: 400;
  line-height: 1.3;
}

/* Get Started merged section – pills and cards */
/* Get Started in Minutes – top 30vh heading, bottom 70vh video */
.get-started-video-section {
  background-color: var(--pure-black);
  display: flex;
  flex-direction: column;
}

.get-started-video-section__head {
  flex: 0 0 30vh;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.get-started-video-section__head-inner {
  max-width: 100vh;
}

.get-started-video-section__subtitle {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.get-started-video-section__subtitle--visible {
  opacity: 1;
}

.get-started-video-section__head .section__title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1),
               0 4px 12px rgba(0, 0, 0, 1),
               0 8px 24px rgba(0, 0, 0, 0.9);
}

.get-started-video-section__video-wrap {
  flex: 0 0 70vh;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.get-started-video-section__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

@media (max-width: 768px) {
  .get-started-video-section__video {
    transform: scale(1.35);
    transform-origin: center center;
  }
}

.get-started-merged .get-started-pill {
  min-height: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.get-started-merged .get-started-sim-card {
  border-left: 3px solid var(--indigo-violet);
}

.get-started-merged .dev-quote-card {
  border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.get-started-merged .dev-quote-card .dev-quote__text {
  font-size: 1.5rem;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .get-started-merged .dev-quote-card .dev-quote__text {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .dev-quote__text {
    font-size: 1.5rem;
  }
  .app-montage-item {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
  }
  .app-montage-item__icon {
    width: 16px;
    height: 16px;
  }
  .get-started-merged .get-started-pill {
    min-height: 4rem;
  }
}


.about-section {
  background-color: var(--moon-silver);
}

.features-section {
  background: linear-gradient(135deg, var(--indigo-violet) 0%, var(--umbra-black) 100%);
}

/* Maker sticky layout (not used on current index) */
.maker-sticky-zone {
  position: relative;
}

.maker-heading-block-wrap {
  padding-top: 30%;
  width: 100%;
}

.maker-title-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.maker-sticky-heading-bar {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-bottom: -100vh;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(to right, rgba(13, 13, 13, 0.45) 0%, rgba(13, 13, 13, 0) 55%);
}

.maker-sticky-heading-bar.maker-sticky-heading-released {
  position: absolute;
  top: var(--release-top);
  margin-bottom: 0;
}

.maker-slide-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
}

/* ============================================
   DEVELOPER PAGE
   ============================================ */

.dev-section {
  background-color: var(--pure-black);
  position: relative;
}

.dev-section .section__content {
  position: relative;
  z-index: 2;
}

/* Section 1: App Montage */
.dev-montage {
  padding-top: 100px;
}

.dev-montage-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.dev-montage-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: dev-montage-scroll 45s linear infinite;
  padding: 0.5rem 0;
}

.dev-montage-item {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  font-size: 0.95rem;
  color: var(--moon-silver);
  white-space: nowrap;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.dev-montage-more {
  font-size: 1rem;
  letter-spacing: 0.02em;
  animation: dev-montage-pulse 2.5s ease-in-out infinite;
}

@keyframes dev-montage-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes dev-montage-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Section 2: Why Build — pillars (left-aligned) */
.dev-quote {
  max-width: 32em;
  font-size: 1.25rem;
  line-height: 1.7;
}

.dev-pillar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dev-pillar:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
}

.dev-pillar-title {
  font-size: 1.15rem;
}

.dev-pillar-list li {
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}

.dev-pillar-list li + li {
  margin-top: 0.1rem;
}

/* Section 3: Real Proof */
.dev-proof-quote {
  max-width: 28em;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--white);
}

/* Section 4: DX */
.dev-checklist {
  font-size: 1.1rem;
}

.dev-check-item {
  color: var(--moon-silver);
}

.dev-dx-python {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.dev-dx-python ul li {
  padding: 0.25rem 0;
}

/* Developer page: code block */
.dev-code-block {
  font-family: 'Libre Franklin', monospace;
}

.dev-code-inline {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--moon-silver);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.dev-code-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  overflow-x: auto;
}

.dev-code-pre {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre;
}

.dev-code-pre code {
  color: var(--moon-silver);
  background: none;
  padding: 0;
}

/* Section 5: Simulator */
.dev-sim-list li {
  padding: 0.35rem 0;
}

.dev-sim-cta {
  font-family: 'PPValve', sans-serif;
}

/* Section 6: Community */
.dev-community-list li {
  padding: 0.35rem 0;
}

.dev-own-hardware {
  max-width: 32em;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

/* Keep Proof and Tagline centered */
.dev-proof .section__content,
.dev-tagline .section__content {
  text-align: center;
}

/* Tagline */
.dev-tagline {
  border-top: 1px solid var(--glass-border);
}