/* ============================================
   SOCIA VISUAL — Tactical / Futuristic UI
   Full-viewport panel system with transitions
   ============================================ */

:root {
  --black: #050505;
  --dark: #0a0a0a;
  --dark-2: #0f0f0f;
  --grey: #1a1a1a;
  --grey-mid: #2a2a2a;
  --grey-light: #666;
  --white: #e8e8e8;
  --white-dim: #888;
  --accent-1: #a8ff00;
  --accent-2: #d4ff00;
  --gradient: linear-gradient(135deg, #a8ff00, #d4ff00);
  --gradient-text: linear-gradient(135deg, #a8ff00 0%, #d4ff00 50%, #c8ff30 100%);
  --font-body: 'Chakra Petch', monospace, sans-serif;
  --font-heading: 'Chakra Petch', monospace, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-sharp: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { text-decoration: none; color: inherit; cursor: none; }
button { border: none; background: none; cursor: none; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-1); color: var(--black); }

/* ============================================
   BOOT SEQUENCE
   ============================================ */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.boot-overlay.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-content { text-align: center; }
.boot-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 32px;
  color: var(--accent-1);
  animation: bootPulse 1s ease-in-out infinite alternate;
}
.boot-logo svg { width: 100%; height: 100%; }
@keyframes bootPulse { from { opacity: 0.4; } to { opacity: 1; } }
.boot-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-1);
  margin-bottom: 24px;
  height: 20px;
  letter-spacing: 0.1em;
}
.boot-bar {
  width: 200px;
  height: 2px;
  background: var(--grey);
  margin: 0 auto;
  overflow: hidden;
}
.boot-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  transition: width 0.15s linear;
}

/* ============================================
   NOISE & SCANLINES
   ============================================ */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
  mix-blend-mode: difference;
}
.cursor-cross {
  position: relative;
  width: 100%;
  height: 100%;
}
.cursor-cross::before,
.cursor-cross::after {
  content: '';
  position: absolute;
  background: var(--accent-1);
}
.cursor-cross::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}
.cursor-cross::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}
.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--accent-1);
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.cursor.hovering {
  width: 48px;
  height: 48px;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(circle, rgba(168, 255, 0, 0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ============================================
   SCROLL PROGRESS (border frame)
   ============================================ */
.scroll-progress-frame {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
}
.scroll-progress-edge {
  position: absolute;
  background: var(--accent-1);
  box-shadow: 0 0 8px rgba(168, 255, 0, 0.5);
  transition: width 0.6s var(--ease), height 0.6s var(--ease);
}
.scroll-progress-edge--top {
  top: 0; left: 0;
  height: 2px; width: 0%;
}
.scroll-progress-edge--right {
  top: 0; right: 0;
  width: 2px; height: 0%;
}
.scroll-progress-edge--bottom {
  bottom: 0; right: 0;
  height: 2px; width: 0%;
}
.scroll-progress-edge--left {
  bottom: 0; left: 0;
  width: 2px; height: 0%;
}

/* ============================================
   HUD OVERLAY (persistent, fixed)
   ============================================ */
.hud-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

/* HUD Corners */
.hud-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
  border-color: rgba(168, 255, 0, 0.2);
  border-style: solid;
}
.hud-corner--tl { top: 32px; left: 32px; border-width: 1px 0 0 1px; }
.hud-corner--tr { top: 32px; right: 32px; border-width: 1px 1px 0 0; }
.hud-corner--bl { bottom: 32px; left: 32px; border-width: 0 0 1px 1px; }
.hud-corner--br { bottom: 32px; right: 32px; border-width: 0 1px 1px 0; }

/* HUD Data */
.hud-data {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-data--top-left  { top: 52px; left: 52px; }
.hud-data--top-right { top: 52px; right: 52px; text-align: right; }
.hud-data--left  { bottom: 52px; left: 52px; }
.hud-data--right { bottom: 52px; right: 52px; text-align: right; }
.hud-data-item {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  display: flex;
  gap: 8px;
}
.hud-data--top-right .hud-data-item,
.hud-data--right .hud-data-item { justify-content: flex-end; }
.hud-label { color: var(--grey-light); }
.hud-value { color: var(--white-dim); }
.hud-value--active { color: var(--accent-1); }

/* Signal strength bars */
.hud-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.hud-signal span {
  display: block;
  width: 3px;
  background: var(--accent-1);
  border-radius: 1px 1px 0 0;
  transition: opacity 0.3s, height 0.3s;
}
.hud-signal span:nth-child(1) { height: 3px; }
.hud-signal span:nth-child(2) { height: 5px; }
.hud-signal span:nth-child(3) { height: 7px; }
.hud-signal span:nth-child(4) { height: 9px; }
.hud-signal span:nth-child(5) { height: 12px; }
.hud-signal span.inactive { opacity: 0.15; }

/* HUD progress bar */
.hud-bar {
  display: block;
  width: 48px;
  height: 4px;
  background: rgba(168, 255, 0, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  align-self: center;
}
.hud-bar-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-1);
  border-radius: 2px;
  width: 45%;
  transition: width 1.5s ease;
}

/* ============================================
   SECTION NAV DOTS
   ============================================ */
.section-nav {
  position: fixed;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-nav-dot {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(168, 255, 0, 0.12);
  background: rgba(5, 5, 5, 0.6);
  padding: 0;
  transform: rotate(45deg) scale(1);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.4s;
  position: relative;
  cursor: none;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-nav-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease), inset 0.4s var(--ease);
}
.section-nav-dot:hover {
  transform: rotate(45deg) scale(1.15);
  border-color: rgba(168, 255, 0, 0.5);
  background: rgba(168, 255, 0, 0.06);
  box-shadow: 0 0 20px rgba(168, 255, 0, 0.12);
}
.section-nav-dot:hover::before {
  border-color: rgba(168, 255, 0, 0.15);
  inset: -6px;
}
.section-nav-dot.active {
  border-color: var(--accent-1);
  background: rgba(168, 255, 0, 0.1);
  box-shadow: 0 0 16px rgba(168, 255, 0, 0.2), inset 0 0 10px rgba(168, 255, 0, 0.06);
}
.section-nav-dot.active::before {
  border-color: rgba(168, 255, 0, 0.1);
}
.nav-icon {
  width: 14px;
  height: 14px;
  transform: rotate(-45deg);
  color: rgba(168, 255, 0, 0.25);
  transition: color 0.3s var(--ease), filter 0.3s;
}
.section-nav-dot:hover .nav-icon {
  color: var(--accent-1);
  filter: drop-shadow(0 0 4px rgba(168, 255, 0, 0.4));
}
.section-nav-dot.active .nav-icon {
  color: var(--accent-1);
  filter: drop-shadow(0 0 3px rgba(168, 255, 0, 0.3));
}
.section-nav-dot span {
  display: none;
}

/* ============================================
   VIEWPORT & PANEL SYSTEM
   ============================================ */
.viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: clip-path, opacity, filter;
  background: rgba(5, 5, 5, 0.85);
}

.panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.panel--hero { background: transparent; }
.panel--services { background: rgba(10, 10, 10, 0.88); }
.panel--contact { overflow-y: auto; }

/* Panel content container – fits inside HUD corners */
.panel-content {
  width: calc(100% - 120px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 160px);
  min-height: calc(100dvh - 160px);
}

/* About + Services: content at top, badges below */
.panel--about .panel-content,
.panel--services .panel-content {
  justify-content: flex-start;
  padding-top: 60px;
}
.panel--about .section-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================
   PANEL TRANSITIONS
   ============================================ */

/* Exit animations */
.panel.exit-up {
  animation: panelExitUp 0.7s var(--ease-sharp) forwards;
}
.panel.exit-down {
  animation: panelExitDown 0.7s var(--ease-sharp) forwards;
}

/* Enter animations */
.panel.enter-from-below {
  animation: panelEnterFromBelow 0.7s var(--ease) 0.1s forwards;
  opacity: 0;
  visibility: visible;
}
.panel.enter-from-above {
  animation: panelEnterFromAbove 0.7s var(--ease) 0.1s forwards;
  opacity: 0;
  visibility: visible;
}

@keyframes panelExitUp {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; filter: brightness(1); }
  30%  { filter: brightness(1.8) saturate(0.3); }
  100% { clip-path: inset(0 0 100% 0); opacity: 0; filter: brightness(2) saturate(0); }
}
@keyframes panelExitDown {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; filter: brightness(1); }
  30%  { filter: brightness(1.8) saturate(0.3); }
  100% { clip-path: inset(100% 0 0 0); opacity: 0; filter: brightness(2) saturate(0); }
}
@keyframes panelEnterFromBelow {
  0%   { clip-path: inset(100% 0 0 0); opacity: 0; filter: brightness(2) saturate(0); }
  50%  { filter: brightness(1.3) saturate(0.7); }
  100% { clip-path: inset(0 0 0 0); opacity: 1; filter: brightness(1) saturate(1); }
}
@keyframes panelEnterFromAbove {
  0%   { clip-path: inset(0 0 100% 0); opacity: 0; filter: brightness(2) saturate(0); }
  50%  { filter: brightness(1.3) saturate(0.7); }
  100% { clip-path: inset(0 0 0 0); opacity: 1; filter: brightness(1) saturate(1); }
}

/* Scan line transition effect */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--accent-1) 30%, var(--accent-1) 70%, transparent 95%);
  box-shadow: 0 0 30px rgba(168, 255, 0, 0.6), 0 0 60px rgba(168, 255, 0, 0.3);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  top: 0;
}
.scan-line.sweeping-down {
  animation: scanSweepDown 0.6s var(--ease-sharp) forwards;
}
.scan-line.sweeping-up {
  animation: scanSweepUp 0.6s var(--ease-sharp) forwards;
}
@keyframes scanSweepDown {
  0%   { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes scanSweepUp {
  0%   { top: 100%; opacity: 1; }
  100% { top: 0; opacity: 0; }
}

/* ============================================
   HERO PANEL
   ============================================ */
.panel--hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
#heroCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#heroCanvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero horizontal lines */
.hero-hline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 0, 0.1) 20%, rgba(168, 255, 0, 0.1) 80%, transparent);
}
.hero-hline--top { top: 15%; }
.hero-hline--bottom { bottom: 15%; }

/* Hero split layout */
.hero-split {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 120px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  gap: 36px;
  perspective: 800px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 620px;
  flex: 1 1 55%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-1);
  border: 1px solid rgba(168, 255, 0, 0.2);
  padding: 8px 20px;
  margin-bottom: 24px;
  position: relative;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent-1);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(168, 255, 0, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(168, 255, 0, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title span { display: block; }
.hero-title--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--white-dim);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* CTA Buttons */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
  color: var(--black);
  border: none;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  z-index: 0;
  transition: transform 0.4s var(--ease);
}
.hero-cta:hover .cta-bg { transform: scale(1.05); }
.cta-text, .cta-arrow { position: relative; z-index: 1; }
.cta-arrow { transition: transform 0.3s var(--ease); }
.hero-cta:hover .cta-arrow { transform: translate(3px, -3px); }

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  color: var(--accent-1);
  border: 1px solid rgba(168, 255, 0, 0.3);
  transition: all 0.3s var(--ease);
}
.hero-cta-ghost:hover {
  background: rgba(168, 255, 0, 0.05);
  border-color: var(--accent-1);
}
.hero-cta-ghost:hover .bracket--left { transform: translateX(-4px); }
.hero-cta-ghost:hover .bracket--right { transform: translateX(4px); }
.hero-cta-ghost .bracket { display: inline-block; transition: transform 0.3s var(--ease); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 24px;
}
.label-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-1);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.text-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-text {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}
.brand-highlight {
  color: rgba(255, 255, 255, 0.85);
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.section-right {
  padding-top: calc(0.7rem + 24px);
}

/* ============================================
   ABOUT — Stats
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--grey);
}
.stat {
  text-align: center;
}
.stat-hud {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-bracket {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(168, 255, 0, 0.3);
  font-weight: 300;
}
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-number--text {
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.stat-badge {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(168, 255, 0, 0.15);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.stat-badge-icon {
  width: 14px;
  height: 14px;
  transform: rotate(-45deg);
  color: var(--accent-1);
  opacity: 0.5;
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--grey-light);
  margin-top: 6px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   MARQUEE (inside About panel)
   ============================================ */
.marquee {
  padding: 16px 0;
  overflow: hidden;
  position: absolute;
  bottom: 14%;
  left: 0;
  right: 0;
  width: 100vw;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  perspective: 600px;
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 20s linear infinite;
  width: max-content;
  align-items: center;
  transform: rotateX(8deg) translateZ(10px);
  transform-style: preserve-3d;
}
.marquee-track span {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.4s, text-shadow 0.4s;
}
.marquee:hover .marquee-track span {
  color: var(--accent-1);
  text-shadow: 0 0 40px rgba(168, 255, 0, 0.4), 0 0 80px rgba(168, 255, 0, 0.15);
}
.marquee-track span.marquee-dot {
  color: rgba(168, 255, 0, 0.15);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 0.4s;
}
.marquee:hover .marquee-track span.marquee-dot {
  color: var(--accent-1);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services-3d-content {
  position: relative;
  z-index: 10;
}
.services-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--grey-light);
  margin-top: 12px;
}
#serviceTooltip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  font-family: var(--font-mono);
  padding: 18px 22px;
  background: rgba(5, 5, 5, 0.94);
  border: 1px solid rgba(168, 255, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 300px;
  color: var(--white);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#serviceTooltip.visible {
  clip-path: inset(0 0 0 0);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.service-card {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--grey);
  padding: clamp(20px, 3vw, 32px);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Card corner brackets */
.card-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(168, 255, 0, 0);
  border-style: solid;
  transition: border-color 0.4s var(--ease);
  z-index: 2;
}
.card-corner--tl { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.card-corner--tr { top: 8px; right: 8px; border-width: 1px 1px 0 0; }
.card-corner--bl { bottom: 8px; left: 8px; border-width: 0 0 1px 1px; }
.card-corner--br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.service-card:hover .card-corner { border-color: var(--accent-1); }

/* Card scan line */
.card-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .card-scan {
  opacity: 0.6;
  animation: scanDown 1.5s ease-in-out infinite;
}
@keyframes scanDown {
  0% { top: 0; }
  100% { top: 100%; }
}

.service-card:hover {
  border-color: rgba(168, 255, 0, 0.2);
  background: rgba(168, 255, 0, 0.02);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(168, 255, 0, 0.3);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--accent-1);
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-desc {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--grey-mid);
  color: var(--grey-light);
  transition: all 0.3s;
}
.service-card:hover .service-tags span {
  border-color: rgba(168, 255, 0, 0.2);
  color: var(--accent-1);
}

/* ============================================
   HERO 3D LOGOMARK
   ============================================ */
.hero-logo {
  position: relative;
  flex: 0 0 auto;
  width: clamp(250px, 28vw, 420px);
  aspect-ratio: 1;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  perspective: 800px;
}

.logo-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Logo layers — all animation driven by JS */
.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity, filter;
  opacity: 0;
}
.logo-layer--1 { color: var(--accent-1); }
.logo-layer--2 { color: var(--white); }
.logo-layer--3 { color: var(--white); }

.logo-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 255, 0, 0.15) 0%, rgba(168, 255, 0, 0.05) 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.logo-reveal-ring {
  position: absolute;
  width: 115%;
  height: 115%;
  border: 1px solid rgba(168, 255, 0, 0);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.logo-reveal-ring--2 {
  width: 135%;
  height: 135%;
}
/* Rings get CSS animation — no conflict with JS since JS doesn't touch them */
.hero-logo.intro-done .logo-reveal-ring {
  opacity: 1;
  border-color: rgba(168, 255, 0, 0.1);
  animation: ringRotate 20s linear infinite, ringTrace 4s ease-in-out infinite;
}
.hero-logo.intro-done .logo-reveal-ring--2 {
  opacity: 1;
  border-color: rgba(168, 255, 0, 0.07);
  animation: ringRotate 30s linear infinite reverse, ringTrace 5s ease-in-out 1.5s infinite;
}
.hero-logo:hover .logo-reveal-ring { border-color: rgba(168, 255, 0, 0.3); box-shadow: 0 0 25px rgba(168, 255, 0, 0.12); }
.hero-logo:hover .logo-reveal-ring--2 { border-color: rgba(168, 255, 0, 0.2); box-shadow: 0 0 20px rgba(168, 255, 0, 0.08); }
@keyframes ringRotate {
  from { transform: rotateZ(0deg) translateZ(-25px); }
  to   { transform: rotateZ(360deg) translateZ(-25px); }
}
@keyframes ringTrace {
  0%, 100% { border-color: rgba(168, 255, 0, 0.07); box-shadow: none; }
  50%      { border-color: rgba(168, 255, 0, 0.18); box-shadow: 0 0 12px rgba(168, 255, 0, 0.06), inset 0 0 12px rgba(168, 255, 0, 0.03); }
}

/* ============================================
   CONTACT — Green mode transition
   ============================================ */
body.contact-active .panel--contact {
  background: rgba(168, 255, 0, 0.03);
}
body.contact-active .hud-corner { border-color: var(--accent-1); }
body.contact-active .hud-data { color: var(--accent-1); }
body.contact-active .section-nav-dot { border-color: var(--accent-1); }
body.contact-active .scroll-progress-edge { background: var(--accent-1); box-shadow: 0 0 8px var(--accent-1); }
body.contact-active .panel--contact .section-title { color: var(--white); }
body.contact-active .panel--contact .form-group input,
body.contact-active .panel--contact .form-group textarea,
body.contact-active .panel--contact .form-group select {
  border-color: rgba(168, 255, 0, 0.25);
  background-color: rgba(168, 255, 0, 0.04);
}
body.contact-active .panel--contact .form-group input:focus,
body.contact-active .panel--contact .form-group textarea:focus,
body.contact-active .panel--contact .form-group select:focus {
  border-color: var(--accent-1);
  background: rgba(168, 255, 0, 0.08);
  box-shadow: 0 0 20px rgba(168, 255, 0, 0.1);
}
body.contact-active .panel--contact .form-submit {
  background: var(--accent-1);
  color: var(--black);
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(168, 255, 0, 0.3);
}
body.contact-active .panel--contact .form-corner { border-color: var(--accent-1); }
body.contact-active .panel--contact .section-text { color: rgba(255, 255, 255, 0.85); }
body.contact-active .panel--contact .coord-value--active { text-shadow: 0 0 10px rgba(168, 255, 0, 0.5); }
.contact-coords {
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--grey);
}
.coord-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}
.coord-label { color: var(--grey-light); text-transform: uppercase; }
.coord-value { color: var(--white-dim); }
.coord-value--active { color: var(--accent-1); }

.games-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  text-decoration: none;
  transition: color 0.3s;
}
.games-link:hover { color: var(--accent-1); }
.games-link .bracket {
  color: rgba(168, 255, 0, 0.3);
  transition: color 0.3s;
}
.games-link:hover .bracket { color: var(--accent-1); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { position: relative; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(15, 15, 15, 0.5);
  border: 1px solid var(--grey);
  padding: 16px 14px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8ff00' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group select option {
  background: #0a0a0a;
  color: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-1);
  background-color: rgba(168, 255, 0, 0.02);
}
.form-group select:valid {
  color: var(--white);
}
.form-group select:invalid {
  color: transparent;
}
.form-group label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -8px;
  left: 12px;
  font-size: 0.55rem;
  color: var(--accent-1);
  background: var(--black);
  padding: 0 4px;
}
/* Service checkboxes */
.form-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-services-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--grey-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: none;
  padding: 10px 12px;
  border: 1px solid var(--grey);
  background: rgba(15, 15, 15, 0.5);
  transition: border-color 0.3s, background 0.3s;
}
.form-toggle:hover {
  border-color: rgba(168, 255, 0, 0.3);
}
.form-toggle input {
  display: none;
}
.toggle-box {
  width: 14px;
  height: 14px;
  border: 1px solid var(--grey-light);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}
.form-toggle input:checked ~ .toggle-box {
  border-color: var(--accent-1);
  background: var(--accent-1);
}
.form-toggle input:checked ~ .toggle-box::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.toggle-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-transform: uppercase;
  transition: color 0.3s;
}
.form-toggle input:checked ~ .toggle-text {
  color: var(--accent-1);
}
.form-toggle input:checked ~ .toggle-box + .toggle-text {
  color: var(--accent-1);
}
body.contact-active .form-toggle {
  border-color: rgba(168, 255, 0, 0.15);
  background: rgba(168, 255, 0, 0.03);
}
body.contact-active .form-toggle:hover {
  border-color: rgba(168, 255, 0, 0.4);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-1);
  transition: width 0.4s var(--ease);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }

.form-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: transparent;
  border-style: solid;
  transition: border-color 0.3s;
  pointer-events: none;
}
.form-corner--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.form-corner--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.form-group input:focus ~ .form-corner,
.form-group textarea:focus ~ .form-corner { border-color: var(--accent-1); }

.grecaptcha-badge { visibility: hidden !important; }
.form-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 0;
  display: none;
}
.form-status.success { display: block; color: var(--accent-1); }
.form-status.error { display: block; color: #ff4444; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  position: relative;
  overflow: hidden;
  color: var(--black);
  border: none;
}
.form-submit .cta-bg { background: var(--gradient); }
.form-submit:hover .cta-bg { transform: scale(1.05); }
.form-submit .cta-text,
.form-submit .cta-arrow { position: relative; z-index: 1; }
.form-submit:hover .cta-arrow { transform: translateX(4px); }


/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================================
   MAGNETIC HOVER
   ============================================ */
.magnetic {
  transition: transform 0.2s var(--ease);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ---- Mobile fallback content (hidden on desktop) ---- */
.mobile-fallback { display: none; }
.mobile-nav { display: none; }

/* Mobile stats */
.mobile-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.mobile-stats .mobile-stat:first-child {
  flex-basis: 100%;
}
.mobile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
}
.mobile-stat-badge {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(168, 255, 0, 0.3);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.mobile-stat-badge svg {
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
  color: var(--accent-1);
}
.mobile-stat-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent-1);
}
.mobile-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--grey-light);
  text-transform: uppercase;
}

/* Mobile service cards */
.mobile-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.mobile-service-card {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--grey);
  padding: 14px;
}
.mobile-service-icon {
  color: var(--accent-1);
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}
.mobile-service-icon svg {
  width: 100%;
  height: 100%;
}
.mobile-service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mobile-service-card p {
  font-size: 0.65rem;
  color: var(--white-dim);
  line-height: 1.5;
  margin-bottom: 8px;
}
.mobile-service-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.mobile-service-tags span {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border: 1px solid var(--grey);
  color: var(--accent-1);
  text-transform: uppercase;
}

/* Mobile bottom nav */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 56px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(168, 255, 0, 0.08);
  align-items: center;
  justify-content: space-around;
}
.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--grey-light);
  font-family: var(--font-mono);
  position: relative;
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 0;
  transition: color 0.3s;
}
.mobile-nav-btn.active {
  color: var(--accent-1);
}
.mobile-nav-btn.active svg {
  color: var(--accent-1);
  filter: drop-shadow(0 0 6px rgba(168, 255, 0, 0.5));
}
.mobile-nav-btn.active span {
  color: var(--accent-1);
  text-shadow: 0 0 8px rgba(168, 255, 0, 0.4);
}
.mobile-nav-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent-1);
  box-shadow: 0 0 10px rgba(168, 255, 0, 0.5);
}
.mobile-nav-btn svg { stroke: currentColor; }

@media (max-width: 1100px) {
  .hero-split { flex-direction: column; text-align: center; width: calc(100% - 80px); padding: 60px 20px; gap: 24px; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-sub { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
  .hero-logo { width: clamp(180px, 32vw, 280px); order: -1; }
  .panel-content { width: calc(100% - 80px); padding: 60px 20px; }
}
@media (max-width: 900px) {
  body, a, button { cursor: auto; }
  .cursor, .cursor-dot, .cursor-glow { display: none; }
  #heroCanvas { opacity: 0.4; }
  .hud-corner { width: 24px; height: 24px; }
  .hud-corner--tl { top: 16px; left: 16px; }
  .hud-corner--tr { top: 16px; right: 16px; }
  .hud-corner--bl { bottom: 62px; left: 16px; }
  .hud-corner--br { bottom: 62px; right: 16px; }
  .hud-data { display: none; }
  .section-nav { display: none; }
  .marquee { display: none; }
  .mobile-fallback { display: block; }
  .mobile-nav { display: flex; }

  /* Hero — even vertical spacing */
  .hero-split { width: calc(100% - 48px); padding: 16px 16px 16px; gap: 16px; justify-content: center; }
  .hero-logo { width: clamp(100px, 24vw, 160px); order: -1; margin: 0 auto; }
  .hero-sub { margin: 0 auto 8px; font-size: 0.75rem; }
  .hero-scroll { bottom: 64px; }
  .hero-hline--top { top: 8%; }
  .hero-hline--bottom { display: none; }

  /* Panels */
  .panel-content { width: calc(100% - 48px); padding: 40px 16px 64px; }
  .panel--about .panel-content,
  .panel--services .panel-content { justify-content: flex-start; padding-top: 36px; }
  .services-3d-content { position: relative; z-index: auto; }
  .panel--about .section-grid { gap: 12px; }
  .panel--about .section-text { margin-bottom: 4px; }

  /* Section layout */
  .section-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-label { font-size: 0.55rem; margin-bottom: 6px; }
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); margin-bottom: 10px; }
  .section-text { font-size: 0.8rem; margin-bottom: 8px; }

  /* Mobile stats */
  .mobile-stats { margin-top: 16px; gap: 12px; }

  /* Mobile service cards */
  .mobile-services-grid { margin-top: 16px; gap: 8px; }
  .mobile-service-card { padding: 12px; }
  .mobile-service-card h3 { font-size: 0.7rem; }
  .mobile-service-card p { font-size: 0.6rem; margin-bottom: 6px; }

  /* Contact — compact */
  .panel--contact .panel-content { padding-bottom: 64px; overflow-y: auto; }
  .contact-coords { display: none; }
  .form-toggles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .form-toggle { padding: 8px 10px; }
  .toggle-text { font-size: 0.55rem; }
  .form-group input, .form-group textarea { font-size: 14px; padding: 14px 12px 8px; }
  .form-submit { padding: 12px 24px; font-size: 0.7rem; }
  .games-link { font-size: 0.6rem; margin-top: 12px; }
}
@media (max-width: 480px) {
  .hud-corner { width: 18px; height: 18px; }
  .hud-corner--tl { top: 12px; left: 12px; }
  .hud-corner--tr { top: 12px; right: 12px; }
  .hud-corner--bl { bottom: 58px; left: 12px; }
  .hud-corner--br { bottom: 58px; right: 12px; }
  .hero-split { width: calc(100% - 32px); padding: 24px 10px 16px; gap: 10px; }
  .hero-title { font-size: clamp(1.4rem, 6.5vw, 2rem); }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-cta, .hero-cta-ghost { width: 100%; justify-content: center; }
  .hero-logo { width: clamp(100px, 35vw, 160px); }
  .hero-scroll { bottom: 60px; }
  .panel-content { width: calc(100% - 32px); padding: 36px 10px 60px; }
  .section-title { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }
  .mobile-stats { gap: 10px; }
  .mobile-services-grid { grid-template-columns: 1fr; gap: 6px; }
  .form-toggles { grid-template-columns: 1fr; }
  .contact-form { gap: 14px; }
}
