/* ==========================================================================
   GRID STROKE STUDIO (gridstroke.studio) - Brog Design System
   Exact 1:1 Architecture, Typography & Animation System from Brog Framer
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=League+Spartan:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@700;800&family=Italiana&display=swap');

:root {
  /* Brand Core Tokens */
  --bg: #151722;
  --bg-deep: #0a0b12;
  --bg-aubergine: #1c0320;
  --lime: #BEF24D;
  --lime-hover: #b0e53a;
  --lime-glow: rgba(190, 242, 77, 0.45);
  --lime-dim: rgba(190, 242, 77, 0.12);
  --ink: #FFFFFF;
  --ink-muted: #A898AC;
  --ink-dim: #736577;
  --hairline: rgba(255, 255, 255, 0.08);
  --panel-radius: 28px;
  
  /* Font Stacks: Bebas Neue for Headings & League Spartan for Subheadings */
  --font-heading: 'Bebas Neue', sans-serif;
  --font-subheading: 'League Spartan', -apple-system, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-editorial: 'League Spartan', sans-serif;
  --font-wordmark: 'Bebas Neue', sans-serif;
  --font-body: 'League Spartan', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background-color: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--lime);
  color: #19031c;
}

/* ==========================================================================
   FLUID SCROLL REVEAL ANIMATIONS (Agrumea Farm / Studio Naam Inspired)
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Mask Clip Reveal for Headings */
.reveal-text-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.reveal-text-clip > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-active .reveal-text-clip > span {
  transform: translateY(0%);
}

/* Image Scale-down Reveal */
.reveal-img-wrap {
  overflow: hidden;
  position: relative;
}

.reveal-img-wrap img {
  transform: scale(1.12);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-active .reveal-img-wrap img {
  transform: scale(1);
}

/* ==========================================================================
   BROG MINIMAL LOGO RAIL (White Section Monochrome Logos Marquee)
   ========================================================================== */
.brog-logo-rail {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2.5rem 0 2rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brog-logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brogLogoMarquee 32s linear infinite;
}

.brog-logo-rail:hover .brog-logo-track {
  animation-play-state: paused;
}

.brog-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
}

.brog-logo-item img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (min-width: 640px) {
  .brog-logo-item {
    padding: 0 3rem;
  }
  .brog-logo-item img {
    height: 80px;
    max-width: 240px;
  }
}

@media (min-width: 1024px) {
  .brog-logo-item {
    padding: 0 4rem;
  }
  .brog-logo-item img {
    height: 96px;
    max-width: 280px;
  }
}

.brog-logo-item img.lotus-rail-logo {
  height: 30px;
  max-width: 130px;
}

@media (min-width: 640px) {
  .brog-logo-item img.lotus-rail-logo { height: 38px; max-width: 160px; }
}

@media (min-width: 1024px) {
  .brog-logo-item img.lotus-rail-logo { height: 46px; max-width: 190px; }
}

.brog-logo-item img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes brogLogoMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CEREBRIUM-STYLE BRAND RAIL (Sleek Dark Glass Cards Marquee)
   ========================================================================== */
.cerebrium-brand-rail {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  padding: 1.5rem 0;
}

.brand-rail-track {
  display: flex;
  width: max-content;
  animation: cerebriumMarquee 38s linear infinite;
}

.cerebrium-brand-rail:hover .brand-rail-track {
  animation-play-state: paused;
}

.brand-badge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 150px;
  padding: 0 1.5rem;
  margin: 0 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-badge-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.brand-badge-card img {
  height: 26px;
  width: auto;
  max-width: 110px;
  object-contain: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.brand-badge-card:hover img {
  opacity: 1;
}

@keyframes cerebriumMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   REAL APP BADGES (Floating Physics & Non-colliding Positions)
   ========================================================================== */
.hero-app-badge {
  position: absolute;
  z-index: 15;
  pointer-events: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-app-badge:hover {
  transform: scale(1.18) rotate(4deg) !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)) !important;
}

@keyframes badgeFloatA {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes badgeFloatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(18px) rotate(-3.5deg); }
}

@keyframes badgeFloatC {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  50% { transform: translate(-12px, -15px) rotate(2deg); }
}

.badge-float-1 { animation: badgeFloatA 8s ease-in-out infinite; }
.badge-float-2 { animation: badgeFloatB 9.5s ease-in-out infinite; }
.badge-float-3 { animation: badgeFloatC 9s ease-in-out infinite; }

/* ==========================================================================
   SHOWREEL CINEMA FRAME
   ========================================================================== */
.cinema-frame {
  position: relative;
  border-radius: 24px;
  background: #0d0112;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-frame:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   ASYMMETRICAL MEURA LUXURY EDITORIAL (No More Rigid Centered Grid!)
   ========================================================================== */
.meura-editorial-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .meura-editorial-container {
    grid-template-columns: 4.5fr 7.5fr;
    gap: 4rem;
  }
}

.meura-sticky-col {
  position: relative;
}

@media (min-width: 1024px) {
  .meura-sticky-col {
    position: sticky;
    top: 136px;
  }
}

.meura-collage-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(174, 144, 122, 0.3);
  background: #190204;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.meura-collage-card:hover {
  transform: translateY(-6px);
  border-color: #DED0BD;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   PACKAGE CARDS (Slide 1 & Slide 2 Layout)
   ========================================================================== */
.package-card {
  background-color: #240328;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(190, 242, 77, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.package-badge-tag {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.font-subheading, p, .subheading {
  font-family: var(--font-subheading);
  font-size: clamp(0.95rem, 1.08vw, 1.15rem);
  line-height: 1.62;
  letter-spacing: 0.01em;
}

/* Explicitly scale paragraph font sizes across cards, processes & FAQ items */
.brog-process-item p,
#methodology p,
#about p,
#social-mgmt p,
#faq-section p,
#invitations p,
#reels p,
.faq-item p,
.package-card p {
  font-size: clamp(0.92rem, 1.05vw, 1.12rem) !important;
  line-height: 1.62 !important;
}

@media (max-width: 640px) {
  p, .font-subheading {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
  .brog-process-item p {
    font-size: 0.92rem !important;
  }
}

.font-editorial {
  font-family: var(--font-editorial);
}

.font-wordmark {
  font-family: var(--font-wordmark);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   MINIMALIST HERO LOGO REVEAL ENGINE
   "Only use the logo video in the centre of the page nothing else.
    Make it appear from nothing with a line beneath it."
   ========================================================================== */
.hero-minimal-stage {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #240528;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

/* 1. Logo container appears smoothly from nothing */
.hero-logo-centerpiece {
  opacity: 0;
  transform: scale(0.92);
  filter: blur(12px);
  animation: heroLogoFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  will-change: opacity, transform, filter;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes heroLogoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

/* 2. The Line Beneath It expands from center */
.hero-reveal-line {
  width: 100%;
  max-width: 720px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #BEF24D 18%, #BEF24D 82%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  animation: heroLineExpand 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
  will-change: transform;
  margin-top: 1.75rem;
}

@keyframes heroLineExpand {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* 3. Subtle minimal scroll prompt */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: heroCueFade 1s ease 2.2s forwards, heroCueBounce 2.5s ease-in-out 3.2s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-scroll-cue:hover {
  color: #BEF24D;
}

@keyframes heroCueFade {
  to { opacity: 0.8; }
}

@keyframes heroCueBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Hero Tool Pills */
.hero-tool-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-tool-pill:hover {
  background: rgba(190, 242, 77, 0.08);
  border-color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-luxury {
  font-family: var(--font-serif-luxury);
}

.font-ornate {
  font-family: var(--font-serif-ornate);
}

.font-script {
  font-family: var(--font-script);
}

/* Arched Invitation Frames */
.arched-card {
  border-radius: 130px 130px 20px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 201, 181, 0.35);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.arched-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(176, 16, 95, 0.4);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 12, 0.94);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   BROG DESIGN SYSTEM (brog.framer.website 1:1 Architecture)
   ========================================================================== */
.brog-section {
  padding: 6rem 1.5rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .brog-section {
    padding: 8rem 2.5rem;
  }
}

/* Brog Floating Pill Navbar */
/* ==========================================================================
   BROG FULL-WIDTH HEADER & SLIDE-OVER DRAWER
   ========================================================================== */
.brog-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgba(20, 2, 23, 0.92) 0%, rgba(20, 2, 23, 0.5) 70%, rgba(20, 2, 23, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
  .brog-header {
    padding: 1.75rem 4rem;
  }
}

@media (min-width: 1280px) {
  .brog-header {
    padding: 2rem 5rem;
  }
}

@media (min-width: 1536px) {
  .brog-header {
    padding: 2.25rem 6rem;
  }
}

/* ==========================================================================
   REACTBITS STAGGERED MENU (JS + TAILWIND)
   ========================================================================== */
.sm-scope {
  --sm-accent: #BEF24D;
}

/* Minimalist 2-Line Hamburger Menu Button (Reverted to Clean Transparent Style & Sticky Across All Sections) */
.sm-toggle {
  position: fixed !important;
  top: 1.25rem;
  right: 1.75rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.sm-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
  .sm-toggle {
    top: 1.75rem;
    right: 4rem;
  }
}

@media (min-width: 1280px) {
  .sm-toggle {
    top: 2rem;
    right: 5rem;
  }
}

@media (min-width: 1536px) {
  .sm-toggle {
    top: 2.25rem;
    right: 6rem;
  }
}

.sm-toggle:focus-visible {
  outline: 2px solid #BEF24D;
  outline-offset: 2px;
}

.sm-hamb-top,
.sm-hamb-bot {
  display: block;
  height: 2px;
  background-color: #ffffff;
  border-radius: 9999px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease;
  transform-origin: center;
}

.sm-hamb-top {
  width: 24px;
}

.sm-hamb-bot {
  width: 16px;
}

.sm-toggle:hover .sm-hamb-top,
.sm-toggle:hover .sm-hamb-bot {
  background-color: #BEF24D;
}

.sm-toggle:hover .sm-hamb-bot {
  width: 24px;
}

/* Morph to an X when menu is open */
.sm-toggle.is-open .sm-hamb-top {
  transform: translateY(4px) rotate(45deg);
  background-color: #BEF24D !important;
}

.sm-toggle.is-open .sm-hamb-bot {
  width: 24px !important;
  transform: translateY(-4px) rotate(-45deg);
  background-color: #BEF24D !important;
}

/* ==========================================================================
   HERO AMBIENT BACKGROUND CAROUSEL (DIM LIGHT)
   ========================================================================== */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  filter: grayscale(35%) brightness(0.7) contrast(115%);
}

.hero-carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: heroCarouselMarquee 50s linear infinite;
  will-change: transform;
}

@keyframes heroCarouselMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-carousel-card {
  width: 260px;
  height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.hero-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   REACTBITS 3D DEPTHTEXT LOGO STYLES
   ========================================================================== */
.depth-text-root {
  display: inline-block;
  perspective: 900px;
  perspective-origin: 50% 48%;
  isolation: isolate;
  user-select: none;
}

.depth-text-stage {
  position: relative;
  display: inline-grid;
  place-items: center;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
  --depth-text-grow: 1;
}

.depth-text-layer {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

.sm-prelayers {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(300px, 42vw, 520px);
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
}

.sm-prelayer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  will-change: transform;
}

.staggered-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: clamp(300px, 42vw, 520px);
  height: 100%;
  background: #120115;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2.25rem 2rem 2.25rem;
  overflow-y: auto;
  z-index: 95;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform;
}

.sm-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sm-panel-itemWrap {
  position: relative;
  overflow: hidden;
  line-height: 1;
}

.sm-panel-item {
  position: relative;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.75vw, 2.75rem);
  cursor: pointer;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  display: inline-block;
  text-decoration: none;
  padding-right: 2.75rem;
}

.sm-panel-item:hover {
  color: var(--sm-accent, #BEF24D);
}

.sm-panel-itemLabel {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 100%;
}

.sm-panel-list[data-numbering] {
  counter-reset: smItem;
}

.sm-panel-list[data-numbering] .sm-panel-item::after {
  counter-increment: smItem;
  content: counter(smItem, decimal-leading-zero);
  position: absolute;
  top: 0.2em;
  right: 0.25rem;
  font-family: monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--sm-accent, #BEF24D);
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
  opacity: var(--sm-num-opacity, 0);
  transition: opacity 0.3s ease;
}

.sm-socials {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sm-socials-title {
  margin: 0;
  font-size: 0.8rem;
  font-family: monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sm-accent, #BEF24D);
}

.sm-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sm-socials-link {
  font-size: 0.95rem;
  font-family: monospace;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  padding: 2px 0;
  display: inline-block;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.sm-socials-link:hover {
  color: var(--sm-accent, #BEF24D);
  opacity: 1;
}

@media (max-width: 1024px) {
  .staggered-menu-panel,
  .sm-prelayers {
    width: 100%;
    left: 0;
    right: 0;
  }
}

.brog-navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: rgba(20, 2, 23, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  max-width: 95vw;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Brog Portfolio Project Card */
.brog-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.brog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 242, 77, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.brog-card-media {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #0d0112;
}

.brog-card-media img,
.brog-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.brog-card:hover .brog-card-media img,
.brog-card:hover .brog-card-media video {
  transform: scale(1.04);
}

.brog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.brog-tag-lime {
  background: rgba(190, 242, 77, 0.1);
  border-color: rgba(190, 242, 77, 0.3);
  color: var(--lime);
}

/* Brog Stat & Metric Cards */
.brog-stat-box {
  padding: 2.25rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brog-stat-box:hover {
  border-color: rgba(190, 242, 77, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

/* Brog Process Item */
.brog-process-item {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brog-process-item:hover {
  background: rgba(190, 242, 77, 0.035);
  border-color: rgba(190, 242, 77, 0.25);
  transform: translateY(-4px);
}

/* ==========================================================================
   SITE LOAD INTRO OVERLAY (3 Overlapping Product Cards -> Fullscreen Hero)
   ========================================================================== */
#site-loader-stage {
  perspective: 1200px;
}

.loader-card {
  transform: translateY(120vh) rotate(0deg);
  opacity: 0;
  will-change: transform, opacity, border-radius;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease,
              border-radius 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s ease;
}

.loader-card-1.is-entered {
  transform: translateY(0) rotate(-6deg);
  opacity: 1;
  z-index: 10;
}

.loader-card-2.is-entered {
  transform: translateY(0) rotate(5deg);
  opacity: 1;
  z-index: 20;
}

.loader-card-3 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
}

.loader-card-3.is-entered {
  transform: translateY(0) rotate(0deg) scale(1);
  opacity: 1;
  z-index: 30;
}

/* Card 3 (Pure Logo) smoothly docks & expands to the right half of the hero */
.loader-card-3.is-docking {
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s ease !important;
  z-index: 35 !important;
}

#site-loader-stage.is-done {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Hero elements reveal cascade */
.hero-col-left,
.hero-col-right {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-brand-title,
.hero-studio-title {
  letter-spacing: -0.045em;
}

.hero-trademark {
  font-family: var(--font-body);
}

/* Hero Left Disciplines: Clean minimal highlight on hover, zero neon glow */
.hero-discipline-item {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease;
  transform: none !important;
  cursor: pointer;
  display: block;
  user-select: none;
}

.hero-discipline-item:hover {
  color: #BEF24D !important;
  transform: none !important;
}

/* ==========================================================================
   INFINITE 3D SPIRAL STYLING (Surrounding Grid Stroke Logo)
   ========================================================================== */
.spiral-card {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.spiral-card:hover {
  border-color: #BEF24D !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
  opacity: 1 !important;
  filter: brightness(1.1) !important;
  z-index: 999999 !important;
}

.spiral-card img {
  transition: transform 0.4s ease;
}

.spiral-card:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   FLEX CAROUSEL STYLES (OGL Liquid Refraction Lens)
   ========================================================================== */
.flex-carousel-container {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.flex-carousel-container:active,
.flex-carousel-container[data-dragging] {
  cursor: grabbing !important;
}

.flex-carousel-container[data-hover="open"] {
  cursor: zoom-in;
}

.flex-carousel-container[data-hover="close"] {
  cursor: zoom-out;
}

@keyframes flex-carousel-title {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flex-carousel-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-flex-title {
  animation: flex-carousel-title 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-flex-reveal {
  animation: flex-carousel-reveal 900ms ease both;
}

.digit-roller {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
  vertical-align: top;
}

.digit-strip {
  display: flex;
  flex-direction: column;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.digit-strip span {
  display: inline-block;
  height: 1.1em;
  line-height: 1.1em;
  text-align: center;
}

/* Fallback card styles if WebGL2 is not supported */
.flex-card-fallback {
  flex-shrink: 0;
  width: min(85%, 680px);
  aspect-ratio: 1464 / 600;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.flex-card-fallback:hover {
  transform: scale(1.02);
  border-color: #2BA3C9;
}

/* ==========================================================================
   Royal Weddings Touch & Coarse Pointer Support
   ========================================================================== */
@media (hover: none), (pointer: coarse) {
  #invitations .video-preview-container video {
    filter: brightness(0.72) !important;
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #invitations .video-preview-container.is-touch-active video {
    filter: brightness(1) !important;
    transform: scale(1.03);
  }
  #invitations .video-preview-container.is-touch-active > div {
    background-color: transparent !important;
  }
}

/* Sun Drunk Scroll Protection: allow natural vertical scroll chaining on all devices */
#ecommerce,
#ecommerce #sundrunk-flex-carousel,
#ecommerce #sundrunk-flex-carousel * {
  overscroll-behavior: auto !important;
  touch-action: pan-y;
}

/* Landscape desktop full-viewport snap for Sun Drunk */
@media (min-width: 1024px) and (orientation: landscape) {
  #ecommerce {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
  }
  #ecommerce #sundrunk-flex-carousel {
    flex: none !important;
    height: calc(100vh - 14rem) !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
  }
  #ecommerce #sundrunk-flex-carousel > * {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

/* Mobile & Tablet devices (< 1024px): wrap Sun Drunk comfortably without trapped scroll */
@media (max-width: 1023px) {
  #ecommerce {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 2.5rem !important;
  }
  #ecommerce #sundrunk-flex-carousel {
    height: 380px !important;
    min-height: 280px !important;
    flex: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 640px) {
  #ecommerce {
    padding-bottom: 2rem !important;
  }
  #ecommerce #sundrunk-flex-carousel {
    height: 290px !important;
    min-height: 240px !important;
  }
}

/* ==========================================================================
   Full-Page Single Section Snap Engine (Desktop >= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  html {
    scroll-behavior: auto !important; /* Smooth scroll smoothly managed by GSAP */
  }

  body {
    overflow-x: hidden;
  }

  /* Sections fill at least full viewport height, allowing natural expansion without cropping */
  section.sticky-stage-section:not(#three-d) {
    min-height: 100vh !important;
    height: auto;
    overflow: visible;
    box-sizing: border-box !important;
  }

  /* Keep inner content bounded and centered without forced clipping */
  section.sticky-stage-section:not(#three-d) > div {
    max-height: none;
  }

  /* Simulation track remains 450vh for smooth video scrubbing */
  #three-d {
    height: 450vh !important;
    min-height: 450vh !important;
  }
}

/* ==========================================================================
   Infinite Menu 3D Spherical Showcase (Meura Branding)
   ========================================================================== */
.infinite-menu-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  container-type: inline-size;
}

.infinite-menu-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.infinite-menu-container canvas:active {
  cursor: grabbing;
}

.infinite-menu-container h2 {
  font-family: var(--font-heading), 'Bebas Neue', sans-serif !important;
  font-size: clamp(2rem, 3.4vw, 4.2rem) !important;
  line-height: 0.95 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
}

.infinite-menu-container p {
  font-family: var(--font-sans), 'League Spartan', sans-serif !important;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.8));
}

.infinite-menu-container [data-moving="true"] h2,
.infinite-menu-container [data-moving="true"] p,
.infinite-menu-container [data-moving="true"] button,
.infinite-menu-container [data-moving="true"] a {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.infinite-menu-container [data-moving="false"] h2,
.infinite-menu-container [data-moving="false"] p,
.infinite-menu-container [data-moving="false"] button,
.infinite-menu-container [data-moving="false"] a {
  opacity: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (orientation: portrait) and (max-width: 1023px) {
  #branding {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 2rem !important;
  }
  #branding #meura-infinite-menu {
    height: 520px !important;
    min-height: 460px !important;
  }
}

/* ==========================================================================
   FolderFloat Packages Styling & Scrollbar Utilities
   ========================================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#packages-folder-float {
  width: 100%;
  overflow: visible;
  padding-bottom: 3rem;
}

#social-mgmt,
#motion,
#hero,
#about {
  min-height: 100vh;
  height: auto !important;
  overflow: visible !important;
}

#lets-create {
  min-height: 100vh;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

@media (max-height: 680px), (max-width: 1023px) {
  #lets-create {
    min-height: 100vh !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}






/* Safety net: never allow horizontal page overflow on any device */
html, body { overflow-x: clip; max-width: 100%; }
