/* Bluelink Ventures — Shared Design Tokens (Dark Blue · Black · White · Yellow) */
html.hand-scrolling {
  scroll-behavior: auto !important;
}

:root {
  --navy:        #0B2D6E;
  --navy-mid:    #1a4096;
  --navy-dark:   #071428;
  --black:       #0A0A0F;
  --white:       #FFFFFF;
  --yellow:      #F5C518;
  --yellow-light:#FFD84D;
  --grey-body:   #C8CDD8;
  --grey-light:  #8B95A8;
  --grey-border: rgba(255,255,255,0.10);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* Global particle layer — sits behind all page content */
#global-particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

body.page-home #global-particle-canvas {
  opacity: 0.88;
}

body.has-global-particles {
  background: var(--black);
}

body.has-global-particles > *:not(#global-particle-canvas):not(#air-draw-canvas):not(#gesture-ui):not(#virtual-cursor):not(#back-btn):not(#bl-global-nav):not(#bl-global-footer) {
  position: relative;
  z-index: 1;
}

/* Back button — bottom-left, in easy reach of hand-controlled dot */
#back-btn {
  position: fixed !important;
  top: auto !important;
  bottom: 108px;
  left: 20px;
  z-index: 10001;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  min-width: 148px;
  min-height: 48px;
  background: rgba(11, 45, 110, 0.94);
  color: var(--white);
  border: 2px solid rgba(245, 197, 24, 0.6);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  pointer-events: auto;
  cursor: pointer;
}
#back-btn:hover,
#back-btn.cursor-over {
  border-color: var(--yellow);
  background: rgba(11, 45, 110, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 197, 24, 0.25);
}
#back-btn svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
@media (max-width: 768px) {
  #back-btn {
    bottom: 96px;
    left: 14px;
    padding: 12px 18px;
    font-size: 13px;
    min-width: 130px;
  }
}

/* Air-draw overlay — finger writing in the air */
#air-draw-canvas {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
#air-draw-canvas.active {
  opacity: 1;
}

/* Virtual hand-controlled cursor */
#virtual-cursor {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--yellow);
  border-radius: 50%;
  background: rgba(245,197,24,0.2);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s, transform 0.1s, background 0.1s;
  box-shadow: 0 0 14px rgba(245,197,24,0.5);
  will-change: left, top, transform;
}
#virtual-cursor.on { opacity: 1; }
#virtual-cursor.clicking {
  background: var(--yellow);
  border-color: var(--white);
  transform: translate(-50%, -50%) scale(0.65);
  box-shadow: 0 0 20px rgba(245,197,24,0.9);
}

/* Floating gesture control panel */
#gesture-ui {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
  font-family: 'Inter', system-ui, sans-serif;
}

#gesture-ui-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  transform-origin: bottom right;
}

#gesture-ui.gesture-collapsed #gesture-ui-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px) scale(0.98);
  max-width: 0;
  max-height: 0;
  overflow: hidden;
}

#gesture-ui-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,20,40,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--yellow);
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
#gesture-ui-toggle:hover {
  background: rgba(11,45,110,0.95);
  border-color: var(--yellow);
}
#gesture-ui-toggle .toggle-icon {
  display: block;
  transition: transform 0.25s ease;
}
#gesture-ui.gesture-collapsed #gesture-ui-toggle .toggle-icon {
  transform: rotate(180deg);
}

#gesture-ui .gui-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#gesture-ui button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(7,20,40,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
#gesture-ui button:hover {
  background: rgba(11,45,110,0.95);
  border-color: var(--yellow);
}
#gesture-ui button.on {
  background: rgba(245,197,24,0.18);
  border-color: var(--yellow);
  color: var(--yellow-light);
}

#gesture-ui .gui-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-align: right;
  max-width: 220px;
  line-height: 1.4;
}

#global-hand-preview,
#hand-preview-canvas {
  width: 140px;
  height: 105px;
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 4px;
  display: none;
}
#global-hand-preview.active,
#hand-preview-canvas.active { display: block; }

#gesture-hint-global {
  font-size: 10px;
  color: rgba(245,197,24,0.75);
  letter-spacing: 0.04em;
  min-height: 14px;
}

/* ── Get in touch band (matches official site content, V2 dark theme) ── */
.contact-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 7vh, 88px);
  padding: clamp(56px, 7vh, 88px) clamp(24px, 6vw, 100px) clamp(40px, 5vh, 64px);
  border-top: 1px solid rgba(245, 197, 24, 0.1);
  background: linear-gradient(180deg, transparent, rgba(11, 45, 110, 0.25));
}
.contact-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(240px, 1.4fr) minmax(140px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-band-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .contact-band-brand { justify-self: center; }
}
.contact-band-heading h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.contact-band-item {
  margin-bottom: 22px;
}
.contact-band-item:last-child {
  margin-bottom: 0;
}
.contact-band-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.contact-band-item p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}
.contact-band-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-band-item a:hover {
  color: var(--yellow);
}
.contact-band-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
}
.contact-band-logo-img {
  display: block;
  height: clamp(72px, 10vw, 100px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
@media (max-width: 860px) {
  .contact-band-brand { align-items: center; }
}
.contact-band-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: clamp(28px, 4vh, 40px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s, border-color 0.2s;
}
.contact-band-instagram:hover {
  color: var(--yellow);
  border-color: rgba(245, 197, 24, 0.4);
}
