/* ─── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ─── Reset & Design Tokens ───────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #f0f0f2;
  --bg-2:     #e4e5ea;
  --fg:       #0d0d11;
  --fg-2:     #383a42;
  --fg-3:     #6e717d;
  --fg-4:     #9ea2b0;

  --border:   rgba(13, 13, 17, 0.09);
  --border-2: rgba(13, 13, 17, 0.18);

  --blue:     #4169e1;
  --indigo:   #6366f1;
  --radius:   18px;
  --global-border-radius: 20px;
  --pad-x:    clamp(24px, 5vw, 64px);
}

html {
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ─── LUSION.CO EXACT VERTICAL SCROLL INDICATOR (`#scroll-indicator`) ─── */
#scroll-indicator {
  position: fixed;
  width: 6px;
  height: 20vh;
  top: 40vh;
  right: 16px;
  background-color: #0000001a;
  border-radius: 3px;
  pointer-events: none !important;
  user-select: none;
  z-index: 9800;
  transition: background-color 0.25s ease;
}

#scroll-indicator.is-dark-bg {
  background-color: #ffffff1a;
}

@media (max-width: 812px) {
  #scroll-indicator {
    width: 2px;
    border-radius: 1px;
    right: 6px;
  }
}

#scroll-indicator-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background-color: var(--fg);
  transform-origin: 0 0;
  border-radius: 3px;
  pointer-events: none !important;
  will-change: transform, height;
  transition: background-color 0.25s ease;
}

#scroll-indicator.is-dark-bg #scroll-indicator-bar {
  background-color: #ffffff;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  cursor: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Preloader Counter Overlay ──────────────────────────── */
#loading-container {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 36px var(--pad-x);
  pointer-events: none;
}

#loading-content {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 0.9;
  color: #ffffff;
  mix-blend-mode: difference;
  font-variant-numeric: tabular-nums;
}

/* ─── Lusion Custom Cursor (Dot + Follower Ring/Pill) ────── */
.lusion-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4169e1;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}

.lusion-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid rgba(65, 105, 225, 0.55);
  background: rgba(65, 105, 225, 0.04);
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, width, height, background-color;
  transition:
    width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.lusion-cursor-ring[data-mode="hover"] {
  width: 52px;
  height: 52px;
  background: rgba(65, 105, 225, 0.12);
  border-color: rgba(65, 105, 225, 0.85);
}

.lusion-cursor-ring[data-mode="reel"],
.lusion-cursor-ring[data-mode="view"] {
  width: 86px;
  height: 86px;
  background: #0d0d11;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.lusion-cursor-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lusion-cursor-ring[data-mode="reel"] .lusion-cursor-label,
.lusion-cursor-ring[data-mode="view"] .lusion-cursor-label {
  opacity: 1;
  transform: scale(1);
}

/* ─── Zero-Blur Ambient Radial Aura ──────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(65, 105, 225, 0.11) 0%, transparent 55%),
    radial-gradient(circle at 68% 32%, rgba(232, 155, 175, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 70%, rgba(238, 205, 100, 0.09) 0%, transparent 60%);
  pointer-events: none;
}

.blob--hero {
  width: 68vw;
  height: 68vw;
  max-width: 860px;
  max-height: 860px;
  top: -12%;
  right: -10%;
  z-index: -1;
}

/* ─── Shared Typography Tokens ───────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section-title {
  display: block;
  font-size: clamp(36px, 5.2vw, 74px);
  font-weight: 800;
  letter-spacing: -2.2px;
  line-height: 1.02;
  color: var(--fg);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 15px 34px;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(65, 105, 225, 0.28);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--border-2);
  background: rgba(13, 13, 17, 0.03);
}

/* ─── HEADER (Immersive Lusion x Blue Binary Command Bar) ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  background: transparent;
  pointer-events: none;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  padding: 12px var(--pad-x);
}

.header > * {
  pointer-events: auto;
}

/* ─── LEFT CLUSTER: Brand Mark + Live Telemetry Pill ─── */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(13, 13, 17, 0.08);
  box-shadow: 0 6px 24px rgba(13, 13, 17, 0.04);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--fg);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.logo:hover {
  transform: translateY(-1px);
  border-color: rgba(65, 105, 225, 0.35);
  box-shadow: 0 10px 28px rgba(65, 105, 225, 0.14);
}

.logo-prism {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(65, 105, 225, 0.1);
  color: var(--fg);
  transition: transform 0.55s cubic-bezier(0.35, 0, 0, 1), background 0.3s ease;
}

.logo:hover .logo-prism {
  transform: rotate(90deg) scale(1.06);
  background: rgba(65, 105, 225, 0.18);
}

.logo-roll-wrap {
  position: relative;
  display: inline-block;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
}

.logo-roll-primary,
.logo-roll-clone {
  display: block;
  transition: transform 0.48s cubic-bezier(0.35, 0, 0, 1);
}

.logo-roll-primary b {
  font-weight: 600;
  color: var(--fg-3);
  margin-left: 2px;
}

.logo-roll-clone {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--blue);
}

.logo-roll-clone b {
  font-weight: 800;
  color: var(--fg);
  margin-left: 2px;
}

.logo:hover .logo-roll-primary,
.logo:hover .logo-roll-clone {
  transform: translate3d(0, -100%, 0);
}

/* Live Telemetry Pill */
.header-telemetry {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(13, 13, 17, 0.08);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: var(--fg-2);
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.header-telemetry:hover {
  border-color: rgba(65, 105, 225, 0.35);
  background: rgba(255, 255, 255, 0.82);
}

.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: telemetryPulse 2.2s infinite ease-in-out;
}

@keyframes telemetryPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.16);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.3);
  }
}

.telemetry-fps {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.telemetry-sep {
  opacity: 0.35;
}

.telemetry-clock {
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.telemetry-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(13, 15, 23, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 9500;
  pointer-events: none;
}

.telemetry-popover-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.5);
}

.telemetry-popover-row b {
  color: #ffffff;
  font-weight: 700;
}

/* ─── CENTER CLUSTER: Floating Glassmorphic Dock ─── */
.header-dock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(13, 13, 17, 0.085);
  box-shadow:
    0 10px 32px rgba(13, 13, 17, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-2);
  z-index: 1;
  transition: color 0.25s ease;
}

.dock-link--active,
.dock-link:hover {
  color: var(--fg);
}

.dock-active-pill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.11);
  border: 1px solid rgba(65, 105, 225, 0.24);
  z-index: -1;
}

.dock-link-num {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--blue);
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.dock-link-roll {
  position: relative;
  display: inline-block;
  height: 1.2em;
  line-height: 1.2em;
  overflow: hidden;
}

.dock-link-text,
.dock-link-clone {
  display: block;
  transition: transform 0.42s cubic-bezier(0.35, 0, 0, 1);
}

.dock-link-clone {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.dock-link:hover .dock-link-text,
.dock-link:hover .dock-link-clone {
  transform: translate3d(0, -100%, 0);
}

.dock-link-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.14);
  color: var(--blue);
  line-height: 1.3;
}

.dock-progress-track {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1.5px;
  background: rgba(13, 13, 17, 0.05);
  overflow: hidden;
  pointer-events: none;
}

.dock-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4169e1, #7c9aff);
  transform-origin: 0 50%;
}

/* ─── RIGHT CLUSTER: Sound Wave, Let's Talk & Menu ─── */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-sound-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(13, 13, 17, 0.09);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    border-color 0.25s ease;
}

.header-sound-btn:hover {
  transform: scale(1.06);
  border-color: rgba(65, 105, 225, 0.4);
}

.header-sound-btn.is-playing {
  border-color: rgba(65, 105, 225, 0.55);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.14);
}

.header-sound-btn canvas {
  width: 34px;
  height: 34px;
  display: block;
}

/* Exact Lusion.co `#header-right-talk-btn` Choreography */
.lusion-talk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fg);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  overflow: hidden;
  transition:
    background-color 0.35s cubic-bezier(0.35, 0, 0, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.lusion-talk-btn:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(65, 105, 225, 0.32);
}

.lusion-talk-arrow {
  position: absolute;
  left: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(-18px, 0, 0) scale(0.6);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.35, 0, 0, 1),
    opacity 0.32s ease;
}

.lusion-talk-text {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.35, 0, 0, 1);
}

.lusion-talk-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-left: 9px;
  transform: scale(1);
  transition:
    transform 0.38s cubic-bezier(0.35, 0, 0, 1),
    opacity 0.28s ease;
}

.lusion-talk-btn:hover .lusion-talk-arrow {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.lusion-talk-btn:hover .lusion-talk-text {
  transform: translate3d(14px, 0, 0);
}

.lusion-talk-btn:hover .lusion-talk-dot {
  transform: scale(0);
  opacity: 0;
}

/* Exact Lusion.co `#header-right-menu-btn` (`MENU ••` <-> `CLOSE`) */
.lusion-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(13, 13, 17, 0.09);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--fg);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease;
}

.lusion-menu-btn:hover,
.lusion-menu-btn.is-open {
  background: #e2e4ec;
  border-color: rgba(13, 13, 17, 0.18);
}

.lusion-menu-roll {
  position: relative;
  display: inline-block;
  height: 1.2em;
  line-height: 1.2em;
  overflow: hidden;
}

.lusion-menu-text,
.lusion-menu-close {
  display: block;
  transition: transform 0.42s cubic-bezier(0.35, 0, 0, 1);
}

.lusion-menu-close {
  position: absolute;
  top: 100%;
  left: 0;
}

.lusion-menu-btn.is-open .lusion-menu-text,
.lusion-menu-btn.is-open .lusion-menu-close {
  transform: translate3d(0, -100%, 0);
}

.lusion-menu-dots {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  transition: transform 0.42s cubic-bezier(0.35, 0, 0, 1);
}

.lusion-menu-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.35s ease;
}

.lusion-menu-btn:hover .lusion-menu-dots,
.lusion-menu-btn.is-open .lusion-menu-dots {
  transform: rotate(90deg);
}

/* ─── DARK-SECTION ADAPTATION (`.header--dark`) ─── */
.header--dark .logo,
.header--dark .header-telemetry,
.header--dark .header-dock,
.header--dark .header-sound-btn,
.header--dark .lusion-menu-btn {
  background: rgba(20, 23, 34, 0.74);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f0f2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.header--dark .logo-prism {
  color: #f0f0f2;
}

.header--dark .logo-roll-primary b,
.header--dark .telemetry-clock,
.header--dark .dock-link {
  color: rgba(240, 240, 242, 0.65);
}

.header--dark .telemetry-fps,
.header--dark .dock-link--active,
.header--dark .dock-link:hover,
.header--dark .logo-roll-clone b {
  color: #ffffff;
}

.header--dark .dock-active-pill {
  background: rgba(65, 105, 225, 0.24);
  border-color: rgba(100, 136, 255, 0.4);
}

.header--dark .lusion-talk-btn {
  background: #f0f0f2;
  color: #0d0d11;
}

.header--dark .lusion-talk-btn:hover {
  background: var(--blue);
  color: #ffffff;
}

/* ─── FLOATING LUSION COMMAND MENU DRAWER ─── */
.header-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9150;
  background: rgba(10, 12, 20, 0.22);
  backdrop-filter: blur(4px);
}

.header-drawer {
  position: fixed;
  top: 70px;
  right: var(--pad-x);
  width: min(360px, calc(100vw - 32px));
  z-index: 9250;
  padding: 20px;
  border-radius: 22px;
  background: rgba(245, 246, 250, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(13, 13, 17, 0.1);
  box-shadow: 0 28px 70px rgba(10, 12, 22, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-top-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--fg-3);
  padding: 0 8px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  position: relative;
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  overflow: hidden;
  color: var(--fg);
  transition: color 0.3s ease;
}

.drawer-link-bg {
  position: absolute;
  inset: 0;
  background: var(--fg);
  border-radius: 14px;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.38s cubic-bezier(0.35, 0, 0, 1);
  z-index: 0;
}

.drawer-link:hover .drawer-link-bg {
  transform: scaleY(1);
  transform-origin: 50% 0%;
}

.drawer-link:hover {
  color: #ffffff;
}

.drawer-link.is-active {
  background: rgba(65, 105, 225, 0.09);
}

.drawer-link-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-link-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--blue);
}

.drawer-link:hover .drawer-link-num {
  color: #8da8ff;
}

.drawer-link-roll {
  position: relative;
  height: 1.25em;
  line-height: 1.25em;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  overflow: hidden;
}

.drawer-link-text,
.drawer-link-clone {
  display: block;
  transition: transform 0.42s cubic-bezier(0.35, 0, 0, 1);
}

.drawer-link-clone {
  position: absolute;
  top: 100%;
  left: 0;
}

.drawer-link:hover .drawer-link-text,
.drawer-link:hover .drawer-link-clone {
  transform: translate3d(0, -100%, 0);
}

.drawer-link-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.14);
  color: var(--blue);
}

.drawer-link:hover .drawer-link-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.drawer-link-arrow {
  margin-left: auto;
  transform: translate3d(-10px, 0, 0);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.35, 0, 0, 1),
    opacity 0.28s ease;
}

.drawer-link:hover .drawer-link-arrow {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.drawer-divider {
  height: 1px;
  background: rgba(13, 13, 17, 0.08);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-box-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--fg-3);
  padding: 0 4px;
}

.drawer-copy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 13, 17, 0.09);
  background: rgba(255, 255, 255, 0.75);
  color: var(--fg);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.drawer-copy-btn:hover {
  border-color: var(--blue);
  background: #ffffff;
}

.drawer-copy-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.12);
  color: var(--blue);
}

.drawer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-social-pill {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(13, 13, 17, 0.05);
  color: var(--fg-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-social-pill:hover {
  background: var(--fg);
  color: #ffffff;
}

.drawer-social-pill--accent {
  background: rgba(65, 105, 225, 0.12);
  color: var(--blue);
}

.drawer-social-pill--accent:hover {
  background: var(--blue);
  color: #ffffff;
}

@media (max-width: 1180px) {
  .header-telemetry {
    display: none;
  }
}

@media (max-width: 960px) {
  .header-dock {
    display: none;
  }
}

/* ─── HERO (Uncluttered Editorial + Dedicated 3D Lab Card) ── */
.hero {
  position: relative;
  padding: 136px var(--pad-x) 64px;
  background: transparent;
  overflow: visible;
}

.hero-top {
  position: relative;
  z-index: 12;
  max-width: 1080px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--border-2);
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.hero-title {
  font-size: clamp(52px, 8.2vw, 120px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -3.5px;
  color: var(--fg);
  margin: 18px 0 28px;
}

.hero-line {
  display: block;
}

.hero-line--stroke {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 13, 17, 0.48);
}

/* The "." fullstop anchor right beside the letter "I" in "TRIPATHI" where the Off+Brand Liquid Blob sits at scrollY=0 */
.hero-period-anchor {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  border-radius: 50%;
  background: transparent;
  margin-left: 0.11em;
  flex-shrink: 0;
  box-shadow: none;
}

.hero-sub-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dedicated 3D Physics Stage Card below Hero Headline */
.hero-stage-wrap {
  margin-top: 44px;
  position: relative;
  z-index: 12;
}

.hero-markers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hero-marker {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-3);
  line-height: 1;
}

.hero-marker-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--fg-3);
}

.hero-physics-card {
  position: relative;
  width: 100%;
  height: 46vh;
  min-height: 330px;
  max-height: 460px;
  border-radius: 22px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.physics-card-tag {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 8;
}

.physics-card-tag--tl { top: 18px; left: 24px; }
.physics-card-tag--tr { top: 18px; right: 24px; color: #7da4ff; }
.physics-card-tag--bl { bottom: 18px; left: 24px; }
.physics-card-tag--br { bottom: 18px; right: 24px; }

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee-section {
  padding: 18px 0;
  background: rgba(228, 229, 234, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  white-space: nowrap;
  overflow: hidden;
}

.marquee-inner {
  display: inline-flex;
}

.marquee-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--blue);
  margin-left: 28px;
}

/* ─── REEL SECTION (Bold Ideas + Expanding 3D Wiggle Video) ── */
.reel-section {
  position: relative;
  padding: 110px var(--pad-x) 96px;
  background: transparent;
}

.reel-section-label {
  display: inline-block;
  margin-bottom: 18px;
}

.reel-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(((100% - 22vw) / 12) * 5 + 12vw);
  gap: clamp(28px, 3vw, 48px);
  align-items: flex-start;
  margin-bottom: 11vh;
}

.reel-headline-col {
  max-width: 720px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.reel-headline-col .about-headline {
  font-size: clamp(34px, 5.2vw, 96px);
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-top: -0.05em;
  margin-bottom: 20px;
}

.about-headline {
  font-size: clamp(46px, 7.2vw, 108px);
  font-weight: 900;
  letter-spacing: -3.5px;
  line-height: 0.94;
  color: var(--fg);
  margin-bottom: 20px;
}

.about-headline em {
  font-style: normal;
  color: var(--fg-3);
}

.reel-subtext {
  font-size: 15px;
  color: var(--fg-2);
  max-width: 480px;
  line-height: 1.65;
}

.reel-start-col {
  width: 100%;
  max-width: none;
  justify-self: end;
}

.reel-start-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}

/* Compact 16:9 launch slot where the 3D Wiggle Video begins (#home-reel-thumb size & 20px corner radius) */
.reel-start-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--global-border-radius, 20px);
  border: none !important;
  box-shadow: none !important;
  outline: none;
  background: transparent !important;
}

/* Expanded Full-Width Play Reel Stage (#video-panel-end) */
.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  min-height: clamp(240px, 38vw, 380px);
  /* Transparent so the 3D WebGL Wiggle Video in Scene3D is 100% visible with zero dark box overlay! */
  background: transparent !important;
  border-radius: var(--global-border-radius, 20px);
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.reel-frame:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.reel-mobile-native-video {
  display: none;
}

.reel-hud-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  pointer-events: none;
}

.reel-frame--playing .reel-hud-layer {
  background: transparent !important;
}

.reel-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: clamp(28px, 4.8vw, 68px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  text-transform: uppercase;
  user-select: none;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.reel-play-btn {
  width: clamp(56px, 6.5vw, 84px);
  height: clamp(56px, 6.5vw, 84px);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d11;
  font-size: clamp(18px, 2.2vw, 26px);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 12px 36px rgba(0, 0, 0, 0.3);
}

.reel-corner {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.reel-corner--tl { top: 22px; left: 26px; }
.reel-corner--tr { top: 22px; right: 26px; }
.reel-corner--bl { bottom: 22px; left: 26px; }
.reel-corner--br { bottom: 22px; right: 26px; color: #93b4ff; }

/* ─── WORK / PROJECTS ────────────────────────────────────── */
.work-section {
  padding: 110px var(--pad-x);
  background: transparent;
  border-top: 1px solid var(--border);
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
  flex-wrap: wrap;
}

.work-header-right {
  text-align: right;
}

.all-work-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
  border-bottom: 1.5px solid var(--border-2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.all-work-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.all-work-link sup {
  font-size: 10px;
  margin-left: 4px;
  color: var(--blue);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 38px;
  row-gap: clamp(104px, 17vh, 172px);
}

.project-card {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.project-card--offset {
  margin-top: 0;
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10.2;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.project-thumb--lusion-portal {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.project-thumb-hud {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  pointer-events: none;
}

.project-thumb-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
}

.project-thumb-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(13, 13, 17, 0.55);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-meta {
  padding: 18px 4px 0;
}

.project-tags-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.project-tags {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}

.project-year {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-3);
}

.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-title {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.6px;
}

.project-arrow {
  font-size: 18px;
  color: var(--fg-3);
  transition: transform 0.25s ease, color 0.25s ease;
}

.project-card:hover .project-arrow {
  transform: translate(3px, -3px);
  color: var(--blue);
}

/* ─── PROJECT CASE STUDY MODAL ───────────────────────────── */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-modal-card {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.project-modal-hero {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(13, 13, 17, 0.8);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.project-modal-body {
  padding: 32px;
}

.project-modal-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 8px 0 14px;
  color: var(--fg);
}

.project-modal-desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 22px;
}

.project-modal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-metric-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(65, 105, 225, 0.1);
  color: var(--blue);
}

/* ─── MANIFESTO ──────────────────────────────────────────── */
.manifesto-section {
  padding: 130px var(--pad-x);
  background: rgba(228, 229, 234, 0.65);
  color: var(--fg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1040px;
}

.manifesto-text {
  font-size: clamp(24px, 3.3vw, 48px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -1.4px;
  color: var(--fg);
  margin: 24px 0 48px;
}

.manifesto-word {
  transition: opacity 0.15s;
}

.manifesto-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.manifesto-body p {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.8;
  max-width: 540px;
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats-section {
  padding: 96px var(--pad-x);
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.stat-item {
  padding: 44px 32px;
  background: rgba(245, 245, 247, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}

.stat-item:hover {
  background: #ffffff;
}

.stat-number {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 900;
  letter-spacing: -2.5px;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ─── DOMAINS OF STUDY / FOCUS ───────────────────────────── */
.awards-section {
  padding: 100px var(--pad-x);
  background: transparent;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.awards-header {
  margin-bottom: 52px;
}

.awards-table {
  border-top: 1px solid var(--border);
}

.awards-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 72px;
  align-items: center;
  padding: 22px 12px;
  border-bottom: 1px solid var(--border);
  cursor: default;
  border-radius: 8px;
  transition: background 0.2s;
}

.awards-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
}

.awards-org {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.awards-award {
  font-size: 15px;
  color: var(--fg-2);
  font-weight: 500;
}

.awards-count {
  font-size: 11px;
  color: var(--fg-3);
  text-align: right;
}

.awards-count sup {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
}

/* ─── CAPABILITIES (Dark Editorial Contrast) ─────────────── */
.capabilities-section {
  padding: 110px var(--pad-x);
  background: #0f1118;
  color: #f0f0f2;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.capabilities-header {
  margin-bottom: 56px;
}

.capabilities-header .section-label {
  color: #7da4ff;
}

.capabilities-header .section-title {
  color: #f0f0f2;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.capability-item {
  padding: 38px 30px;
  background: #0b0d13;
  cursor: default;
  transition: background 0.25s;
}

.capability-item:hover {
  background: #131722;
}

.cap-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #4169e1;
  margin-bottom: 16px;
}

.cap-title {
  font-size: 20px;
  font-weight: 800;
  color: #f0f0f2;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.cap-desc {
  font-size: 14px;
  color: rgba(240, 240, 242, 0.55);
  line-height: 1.7;
}

/* ─── PROCESS ────────────────────────────────────────────── */
.process-section {
  position: relative;
  padding: 110px var(--pad-x);
  background: transparent;
  border-top: 1px solid var(--border);
}

.process-header {
  margin-bottom: 56px;
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.process-item:first-child {
  border-top: 1px solid var(--border);
}

.process-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  padding-top: 8px;
}

.process-title {
  font-size: clamp(24px, 3.3vw, 44px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.process-desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.8;
  max-width: 600px;
}

/* ─── FOOTER (Fits cleanly in 1 Whole Screen / 100vh) ────── */
.footer {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #f0f0f2;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ─── LIQUID LAYER STACKING DISCIPLINE ─────────────────────
   - Section background fills sit at z-index: 1 (below BlueRibbon:2, Scene3D:8, LusionFluidCursor:9)
   - LusionFluidCursor sits at z-index: 9
   - All website typography & UI sit at z-index: 12 (strictly ABOVE the liquid so text is NEVER distorted)
─────────────────────────────────────────────────────────── */
.marquee-section,
.manifesto-section,
.capabilities-section,
.footer {
  position: relative;
  background: transparent !important;
}

.marquee-section::before,
.manifesto-section::before,
.capabilities-section::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.marquee-section::before {
  background: rgba(228, 229, 234, 0.7);
}

.manifesto-section::before {
  background: rgba(228, 229, 234, 0.65);
}

.capabilities-section::before {
  background: #0f1118;
}

.footer::before {
  background: #0b0d13;
}

main section > *,
.marquee-track,
.section-divider,
.footer > * {
  position: relative;
  z-index: 12;
}

.footer-cta {
  padding: clamp(58px, 8.2vh, 84px) var(--pad-x) clamp(16px, 2.4vh, 28px);
  position: relative;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-cta-text {
  margin-bottom: 0;
}

.footer-headline {
  display: block;
  font-size: clamp(32px, min(5.4vw, 7.8vh), 82px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 0.92;
  color: #f0f0f2;
  text-transform: uppercase;
}

.footer-headline--stroke {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #f0f0f2;
  color: #0b0d13;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.footer-cta-btn:hover {
  background: var(--blue);
  color: #ffffff;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--blue), #8888ff, transparent);
  transform-origin: left;
  margin: 0 var(--pad-x);
  flex-shrink: 0;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: clamp(16px, 2.6vh, 28px) var(--pad-x);
  position: relative;
  z-index: 12;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #f0f0f2;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: rgba(255, 255, 255, 0.4);
}

.footer-address {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.footer-col-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col-link:hover {
  color: #ffffff;
}

.footer-wordmark {
  font-size: clamp(44px, min(9.5vw, 11.5vh), 124px);
  font-weight: 900;
  letter-spacing: -4px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  padding: 0 var(--pad-x);
  line-height: 0.88;
  user-select: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 1.5vh, 16px) var(--pad-x) clamp(14px, 2.2vh, 22px);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── OFF+BRAND LIQUID ORB & ORBITAL RINGS (`itsoffbrand.com`) ─── */
.orb-w {
  z-index: 2;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
  position: fixed;
  inset: 0%;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  z-index: -1;
  border-radius: 100%;
  width: 80vh;
  min-width: 38em;
  height: 80vh;
  min-height: 38em;
  position: absolute;
  pointer-events: none;
}

.orb-outline-w {
  z-index: -2;
  width: 80vh;
  min-width: 38em;
  height: 80vh;
  min-height: 38em;
  position: absolute;
  pointer-events: none;
}

.orb-outline-w.is-2 {
  width: 100vh;
  min-width: 48em;
  height: 100vh;
  min-height: 48em;
}

.orb-outline-r {
  width: 100%;
  height: 100%;
}

.orb-outline {
  border: 1px dashed rgba(111, 111, 111, 0.42);
  border-radius: 100%;
  width: 100%;
  height: 100%;
}

/* ─── RESPONSIVE BREAKPOINTS (TABLETS, PHONES & LANDSCAPE MOBILE) ─── */
@media (max-width: 1024px), (pointer: coarse) {
  /* Disable real-time GPU backdrop-filter Gaussian blur & 85px CSS blur blobs over the 60fps WebGL canvases on all phones & tablets */
  .header-brand-pill,
  .header-sound-btn,
  .lusion-sound-btn,
  .lusion-talk-btn,
  .lusion-menu-btn,
  .header-drawer,
  .hero-eyebrow,
  .hero-physics-card,
  .project-modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header-drawer {
    background: rgba(245, 246, 250, 0.98) !important;
  }

  .blob {
    display: none !important;
  }

  /* Use GPU-composited solid orbital ring border on touch/tablet/mobile instead of CPU-rasterized dashed paths */
  .orb-outline {
    border-style: solid;
    border-color: rgba(111, 111, 111, 0.22);
  }

  #lusion-fluid-gui,
  .lil-gui.root {
    display: none !important;
  }
}

/* Tablet Portrait & Landscape (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --pad-x: 32px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .header {
    padding: 16px 28px;
  }

  .hero {
    min-height: auto;
    padding: 112px 32px 56px;
  }

  .hero-title {
    font-size: clamp(54px, 9.2vw, 92px);
    letter-spacing: -2.4px;
    line-height: 0.87;
  }

  #hero-line-2-clip {
    padding-left: clamp(24px, 7vw, 84px) !important;
  }

  .hero-sub-bar {
    gap: 24px;
    padding-top: 24px;
  }

  .hero-physics-card {
    height: 42vh;
    min-height: 280px;
    max-height: 380px;
    border-radius: 22px;
  }

  .reel-section {
    padding: 88px 32px 72px;
  }

  .reel-header-row {
    grid-template-columns: minmax(0, 1fr) calc(((100% - 22vw) / 12) * 5 + 12vw);
    gap: clamp(20px, 2.6vw, 32px);
    align-items: start;
    margin-bottom: clamp(48px, 8vh, 88px);
  }

  .reel-headline-col .about-headline {
    font-size: clamp(30px, 4.8vw, 58px);
    letter-spacing: -0.035em;
    margin-bottom: 14px;
  }

  .reel-subtext {
    font-size: clamp(13.5px, 1.45vw, 15px);
    line-height: 1.55;
  }

  .work-section {
    padding: 88px 32px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 52px;
  }

  .project-card--offset {
    margin-top: 44px;
  }

  .project-title {
    font-size: 21px;
  }

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

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

  .footer {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

@media (max-width: 960px) {
  .header-nav a:not(.header-cta) {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 18px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  /* Disable real-time GPU backdrop-filter Gaussian blur over the 60fps WebGL canvases on mobile */
  .header-brand-pill,
  .header-sound-btn,
  .lusion-sound-btn,
  .lusion-talk-btn,
  .lusion-menu-btn,
  .header-drawer,
  .hero-eyebrow,
  .hero-physics-card,
  .project-modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header-drawer {
    background: rgba(245, 246, 250, 0.98) !important;
  }

  /* Use GPU-composited solid orbital ring border on mobile instead of CPU-rasterized dashed paths */
  .orb,
  .orb-outline-w {
    width: 86vw;
    min-width: 260px;
    height: 86vw;
    min-height: 260px;
  }

  .orb-outline-w.is-2 {
    width: 106vw;
    min-width: 320px;
    height: 106vw;
    min-height: 320px;
  }

  .orb-outline {
    border-style: solid;
    border-color: rgba(111, 111, 111, 0.22);
  }

  /* ── Floating Debug Controls on Mobile ── */
  #lusion-fluid-gui {
    display: none !important;
  }

  .lil-gui.root {
    display: none !important;
  }

  /* ── Top Header & Command Drawer ── */
  .header {
    padding: 12px 14px;
  }

  .header-inner {
    gap: 8px;
  }

  .header-brand-pill {
    padding: 5px 12px 5px 5px;
    gap: 8px;
  }

  .header-brand-mark {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .header-brand-name {
    font-size: 11.5px;
    letter-spacing: 1px;
  }

  .header-brand-sub {
    display: none;
  }

  .header-right {
    gap: 6px;
  }

  .lusion-sound-btn {
    width: 36px;
    height: 36px;
  }

  .lusion-talk-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.8px;
    gap: 7px;
  }

  .lusion-talk-dot-wrap {
    width: 14px;
    height: 14px;
  }

  .lusion-menu-btn {
    height: 36px;
    padding: 0 13px;
    font-size: 10.5px;
    letter-spacing: 1px;
    gap: 7px;
  }

  .header-drawer {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 18px 16px;
    border-radius: 20px;
    gap: 14px;
  }

  .header-drawer-link {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .header-drawer-title {
    font-size: 17px;
  }

  .header-drawer-email {
    padding: 11px 14px;
    font-size: 11px;
    word-break: break-all;
  }

  /* ── Hero Section & 24-Icon 3D Physics Stage ── */
  .hero {
    min-height: auto;
    padding: 90px 18px 40px;
  }

  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 1.4px;
    padding: 7px 12px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.38;
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(38px, 12.2vw, 66px);
    letter-spacing: -1.8px;
    line-height: 0.88;
    margin: 14px 0 20px;
  }

  #hero-line-2-clip {
    padding-left: clamp(12px, 5.5vw, 38px) !important;
  }

  .hero-sub-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.58;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    padding: 13px 16px;
    font-size: 12px;
    text-align: center;
  }

  .hero-stage-wrap {
    margin-top: 28px;
    gap: 12px;
  }

  .hero-physics-card {
    height: 60vh;
    min-height: 440px;
    max-height: 580px;
    border-radius: 18px;
  }

  .hero-scroll {
    display: none;
  }

  /* ── Section Headings & Typography ── */
  .section-title {
    font-size: clamp(32px, 9.8vw, 50px);
    letter-spacing: -1.5px;
    line-height: 0.94;
  }

  .about-headline {
    font-size: clamp(34px, 10.2vw, 52px);
    letter-spacing: -1.6px;
    line-height: 0.92;
    margin-bottom: 18px;
  }

  .about-lead {
    font-size: 15px;
    line-height: 1.62;
  }

  /* ── Interactive Showreel Section (`#reel`) ── */
  .reel-section {
    padding: 64px 18px 56px;
  }

  .reel-header-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .reel-headline-col .about-headline {
    font-size: clamp(34px, 10.2vw, 52px);
    letter-spacing: -1.6px;
    white-space: normal;
    margin-top: 0;
    margin-bottom: 16px;
  }

  .reel-start-col {
    display: none;
  }

  .reel-mobile-native-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
  }

  .reel-hud-layer {
    opacity: 1 !important;
    transform: none !important;
    z-index: 2;
  }

  .reel-frame {
    min-height: 225px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .reel-text {
    font-size: clamp(19px, 5.8vw, 30px);
    letter-spacing: -0.8px;
    gap: 12px;
    padding: 0 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .reel-play-btn {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .reel-corner {
    font-size: 8.5px;
    letter-spacing: 1.4px;
  }

  .reel-corner--tl,
  .reel-corner--tr {
    top: 12px;
  }

  .reel-corner--bl,
  .reel-corner--br {
    bottom: 12px;
  }

  .reel-corner--tl,
  .reel-corner--bl {
    left: 14px;
  }

  .reel-corner--tr,
  .reel-corner--br {
    right: 14px;
  }

  /* ── Featured Work / 12 3D WebGL Project Cards (`#projects`) ── */
  .work-section {
    padding: 68px 18px;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
    padding-bottom: 20px;
  }

  .work-header-right {
    text-align: left;
  }

  .work-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .project-card--offset {
    margin-top: 0;
  }

  .project-thumb {
    aspect-ratio: 16 / 10.2;
    border-radius: 14px;
  }

  .project-meta {
    padding: 14px 2px 0;
  }

  .project-meta-top {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .project-title {
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .project-arrow-inline {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  /* ── Project Case Study Modal ── */
  .project-modal-backdrop {
    padding: 14px;
  }

  .project-modal-card {
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 18px;
  }

  .project-modal-hero {
    height: 185px;
  }

  .project-modal-body {
    padding: 20px 18px 22px;
  }

  .project-modal-title {
    font-size: 22px;
  }

  .project-modal-desc {
    font-size: 14px;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  .project-modal-actions {
    flex-direction: column;
    gap: 10px;
  }

  .project-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Manifesto, Stats, Domains of Study, Capabilities, & Process ── */
  .manifesto-section {
    padding: 72px 18px;
  }

  .manifesto-text {
    font-size: clamp(20px, 5.8vw, 28px);
    letter-spacing: -0.6px;
    line-height: 1.34;
    margin: 16px 0 28px;
  }

  .stats-section {
    padding: 56px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
    overflow: hidden;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -1.5px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 12px;
    line-height: 1.35;
  }

  .awards-section {
    padding: 68px 18px;
  }

  .awards-header {
    margin-bottom: 28px;
  }

  .awards-row {
    grid-template-columns: 32px 1fr auto;
    gap: 4px 10px;
    padding: 16px 8px;
    align-items: baseline;
  }

  .awards-org {
    font-size: 16px;
    grid-column: 2 / 3;
  }

  .awards-year {
    font-size: 11px;
    grid-column: 3 / 4;
  }

  .awards-award {
    font-size: 13px;
    grid-column: 2 / 4;
  }

  .awards-count {
    display: none;
  }

  .capabilities-section {
    padding: 68px 18px;
  }

  .capabilities-top {
    margin-bottom: 36px;
    gap: 16px;
  }

  .capabilities-lead {
    font-size: 15px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .capability-item {
    padding: 26px 20px;
  }

  .cap-title {
    font-size: 19px;
  }

  .cap-desc {
    font-size: 14px;
  }

  .process-section {
    padding: 68px 18px;
  }

  .process-header {
    margin-bottom: 36px;
  }

  .process-item {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .process-title {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .process-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  /* ── Black Footer (`.footer`) on Mobile ── */
  .footer {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .footer-cta {
    padding: 44px 18px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-headline {
    font-size: clamp(30px, 9.2vw, 48px);
    letter-spacing: -1.6px;
  }

  .footer-cta-btn {
    padding: 13px 24px;
    font-size: 12.5px;
  }

  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
    padding: 24px 18px;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: clamp(36px, 13.5vw, 68px);
    letter-spacing: -2px;
    padding: 8px 18px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 18px 20px;
    font-size: 10.5px;
  }
}

@media (max-width: 480px) {
  .lusion-talk-btn {
    display: none;
  }

  .hero-title {
    font-size: clamp(34px, 11.8vw, 52px);
    letter-spacing: -1.5px;
  }

  #hero-line-2-clip {
    padding-left: clamp(8px, 4vw, 22px) !important;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .reel-corner--tr,
  .reel-corner--bl {
    display: none;
  }
}

/* Small Phones (<= 380px: iPhone SE / mini / compact Android) */
@media (max-width: 380px) {
  :root {
    --pad-x: 14px;
  }

  .header {
    padding: 10px 10px;
  }

  .header-brand-name {
    font-size: 10.5px;
    letter-spacing: 0.6px;
  }

  .lusion-menu-btn {
    padding: 0 10px;
    font-size: 9.5px;
  }

  .hero {
    padding: 82px 14px 32px;
  }

  .hero-title {
    font-size: clamp(30px, 11.4vw, 42px);
    letter-spacing: -1.2px;
  }

  .hero-physics-card {
    min-height: 390px;
    height: 56vh;
    max-height: 520px;
  }

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

/* Landscape Mobile Phones (height <= 520px and width <= 960px) */
@media (max-height: 520px) and (max-width: 960px) {
  :root {
    --pad-x: 20px;
  }

  .header {
    padding: 8px 16px;
  }

  .hero {
    min-height: auto;
    padding: 68px 20px 28px;
  }

  .hero-title {
    font-size: clamp(34px, 7.5vw, 56px);
    letter-spacing: -1.6px;
    margin: 8px 0 14px;
  }

  #hero-line-2-clip {
    padding-left: clamp(14px, 5vw, 48px) !important;
  }

  .hero-sub-bar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
  }

  .hero-physics-card {
    height: 52vh;
    min-height: 185px;
    max-height: 240px;
    border-radius: 16px;
  }

  .reel-section,
  .work-section,
  .manifesto-section,
  .awards-section,
  .capabilities-section,
  .process-section {
    padding: 48px 20px;
  }

  .reel-frame {
    min-height: 200px;
    max-height: 78vh;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 18px;
    row-gap: 32px;
  }

  .project-card--offset {
    margin-top: 0;
  }

  .footer {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }
}
