/* BLACK + MUTED RED EDITION — PALETTE ONLY. Animation/interaction logic is unmodified. */
/* assets/css/custom.css - Lightweight Standalone Performance Stylesheet */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: rgba(255,255,255,0.1); margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; background-color: #090A0C; color: #F4F4F5; overflow-x: hidden; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; color: inherit; margin: 0; padding: 0; }
button { cursor: pointer; background: transparent; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #767A83; opacity: 1; }
img, svg { display: block; vertical-align: middle; max-width: 100%; }

.font-sans { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-mono { font-family: 'Space Grotesk', ui-monospace, monospace; }

.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0px; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.bottom-3 { bottom: 0.75rem; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0px; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.inset-0 { inset: 0px; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.h-full { height: 100%; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-56 { height: 14rem; }
.h-\[420px\] { height: 420px; }
.h-\[440px\] { height: 440px; }
.min-h-\[92vh\] { min-height: 92vh; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-mt-1 { margin-top: -0.25rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.py-1 { padding: 0.25rem 0; }
.py-1\.5 { padding: 0.375rem 0; }
.py-2 { padding: 0.5rem 0; }
.py-2\.5 { padding: 0.625rem 0; }
.py-3 { padding: 0.75rem 0; }
.py-3\.5 { padding: 0.875rem 0; }
.py-4 { padding: 1rem 0; }
.py-12 { padding: 3rem 0; }
.py-24 { padding: 6rem 0; }
.px-1\.5 { padding: 0 0.375rem; }
.px-2\.5 { padding: 0 0.625rem; }
.px-3 { padding: 0 0.75rem; }
.px-3\.5 { padding: 0 0.875rem; }
.px-4 { padding: 0 1rem; }
.px-5 { padding: 0 1.25rem; }
.px-6 { padding: 0 1.5rem; }
.px-7 { padding: 0 1.75rem; }
.p-1\.5 { padding: 0.375rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-7 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.75rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }

.text-\[9px\] { font-size: 9px; line-height: 12px; }
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 16px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-center { text-align: center; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-relaxed { line-height: 1.625; }
.underline { text-decoration: underline; }

.text-white { color: #FFFFFF; }
.text-slate-200 { color: #E2E3E5; }
.text-slate-300 { color: #C3C5C9; }
.text-slate-400 { color: #A0A3AA; }
.text-slate-500 { color: #767A83; }
.text-emerald-300 { color: #6EE7B7; }
.text-brand-crimson { color: #D57B85; }
.text-transparent { color: transparent; }

.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9); }
.bg-red-900 { background-color: #54212B; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-brand-crimson { background-color: #872D3A; }
.bg-brand-crimson\/15 { background-color: rgba(166, 58, 73, 0.10); }
.bg-brand-crimson\/40 { background-color: rgba(166, 58, 73, 0.4); }
.bg-brand-crimson\/50 { background-color: rgba(166, 58, 73, 0.5); }
.bg-\[\#050608\] { background-color: #08090B; }
.bg-\[\#06080C\] { background-color: #0D0E11; }
.bg-\[\#07090E\] { background-color: #0B0C0F; }
.bg-\[\#0B0E17\] { background-color: #111216; }
.bg-\[\#131824\] { background-color: #1A1C20; }

.bg-gradient-to-r { background-image: linear-gradient(to right, #CB7580, #D8C4C7, #FFFFFF); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, #9C3949, #652330); }
.bg-gradient-to-t { background-image: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent); }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-red-500 { border-color: #A63E4D; }
.border-brand-crimson\/30 { border-color: rgba(90, 26, 38, 0.20); }
.border-brand-crimson\/40 { border-color: rgba(166, 58, 73, 0.4); }
.border-brand-crimson\/50 { border-color: rgba(166, 58, 73, 0.5); }

.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.cursor-grab { cursor: grab; }
.pointer-events-auto { pointer-events: auto; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.opacity-85 { opacity: 0.85; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

.hover\:text-white:hover { color: #FFFFFF; }
.hover\:text-brand-crimson:hover { color: #E0929B; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-brand-crimson:hover { background-color: #9E3A49; }
.hover\:bg-brand-ruby:hover { background-color: #A53D4C; }
.hover\:border-brand-crimson\/60:hover { border-color: rgba(166, 58, 73, 0.33); }
.hover\:underline:hover { text-decoration: underline; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-brand-crimson:focus { border-color: #C35D6A; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:h-\[480px\] { height: 480px; }
  .sm\:h-\[500px\] { height: 500px; }
  .sm\:p-10 { padding: 2.5rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
}

@media (min-width: 1280px) {
  .xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

.crimson-glow { box-shadow: 0 0 35px -5px rgba(128, 37, 50, 0.20); }
.crimson-text-glow { text-shadow: 0 0 25px rgba(166, 58, 73, 0.28); }
.glass-card { background: rgba(21, 22, 26, 0.87); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); }
.glass-card-hover { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease; will-change: transform; }
.glass-card-hover:hover { transform: translateY(-6px); border-color: rgba(166, 58, 73, 0.28); box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.42); }

#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: auto; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 9999px;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #FFFFFF;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.8); }

.whatsapp-tooltip {
  position: absolute; right: 68px; background: rgba(18, 19, 22, 0.96);
  backdrop-filter: blur(10px); border: 1px solid rgba(37, 211, 102, 0.4);
  color: #FFFFFF; padding: 6px 12px; border-radius: 10px;
  font-family: 'Space Grotesk', monospace; font-size: 11px;
  white-space: nowrap; pointer-events: none; opacity: 0;
  transform: translateX(10px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
  .glass-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(21, 22, 26, 0.96); }
  .crimson-glow { box-shadow: 0 0 15px -3px rgba(128, 37, 50, 0.15); }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #090A0C; }
::-webkit-scrollbar-thumb { background: #34363B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7F3440; }


/* 2026 INSPECTOR ALIGNMENT — intentionally scoped: no existing animation/keyframes changed. */
#machinery-studio .studio-header,
#lab .studio-header {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  align-items: center;
  text-align: center;
}
#machinery-studio .studio-heading,
#lab .studio-heading { width: min(100%, 790px); margin-inline: auto; }
#machinery-studio .studio-subtitle,
#lab .studio-subtitle { margin-inline: auto; max-width: 640px; line-height: 1.75; }
#machinery-studio .studio-switcher,
#lab .studio-switcher {
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  max-width: 100%;
  flex-wrap: wrap;
  width: fit-content;
  position: relative;
  z-index: 2;
}
#machinery-studio .inspector-panel,
#lab .inspector-panel { width: 100%; margin-inline: auto; min-width: 0; }
#machinery-studio .inspector-panel > *,
#lab .inspector-panel > * { min-width: 0; }
#machinery-studio .inspector-viewport,
#lab .inspector-viewport { isolation: isolate; min-width: 0; }
#machinery-studio .inspector-viewport canvas,
#lab .inspector-viewport canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }

/* Subtle pointer-dependent surface lighting; no canvas or existing 3D motion overridden. */
.product-item.mouse-tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .35s ease;
  will-change: transform;
  isolation: isolate;
}
.product-item.mouse-tilt:hover { --lift: -6px; }
.inspector-panel.mouse-panel-float {
  --panel-tilt-x: 0deg;
  --panel-tilt-y: 0deg;
  transform: perspective(1400px) rotateX(var(--panel-tilt-x)) rotateY(var(--panel-tilt-y)) translateY(0);
  transform-style: preserve-3d;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.inspector-panel.mouse-panel-float:hover {
  transform: perspective(1400px) rotateX(var(--panel-tilt-x)) rotateY(var(--panel-tilt-y)) translateY(-4px);
}
.product-item.mouse-tilt::before,
.inspector-panel.mouse-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(340px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(148, 66, 78, .11), transparent 72%);
  opacity: 0;
  transition: opacity .35s ease;
}
.product-item.mouse-tilt:hover::before,
.inspector-panel.mouse-glow:hover::before { opacity: 1; }
.inspector-panel.mouse-glow { isolation: isolate; }
.inspector-viewport.mouse-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(290px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(140, 47, 59, .105), transparent 77%);
  opacity: 0;
  transition: opacity .3s ease;
}
.inspector-viewport.mouse-glow:hover::after { opacity: 1; }
.mouse-magnetic { transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .25s ease, box-shadow .25s ease; }
.mouse-cursor-halo {
  position: fixed;
  width: 34px;
  height: 34px;
  left: 0;
  top: 0;
  z-index: 9000;
  pointer-events: none;
  border: 1px solid rgba(205, 145, 150, .35);
  border-radius: 9999px;
  background: rgba(153, 66, 77, .045);
  box-shadow: 0 0 24px rgba(147, 58, 68, .07);
  transform: translate3d(-100px,-100px,0) translate(-50%,-50%);
  opacity: 0;
  transition: opacity .3s ease, width .3s ease, height .3s ease;
}
.mouse-cursor-halo.is-visible { opacity: 1; }
.mouse-cursor-halo.is-active { width: 48px; height: 48px; border-color: rgba(210, 133, 143, .45); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid #be8089; outline-offset: 4px; }
@media (max-width: 639px) {
  #machinery-studio .studio-header, #lab .studio-header { gap: 20px; }
  #machinery-studio .studio-switcher, #lab .studio-switcher { width: 100%; }
  #machinery-studio .studio-switcher button, #lab .studio-switcher button { flex: 1 1 180px; min-width: 0; }
  #machinery-studio .inspector-panel, #lab .inspector-panel { padding: 14px; gap: 20px; }
  #machinery-studio .inspector-viewport { height: 320px; }
  #lab .inspector-viewport { height: 320px; }
  #machinery-studio .inspector-viewport > .absolute.bottom-4.left-4,
  #lab .inspector-viewport > .absolute.bottom-4.left-4 { max-width: calc(100% - 32px); bottom: 48px; }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .mouse-cursor-halo { display: none; }
  .product-item.mouse-tilt { transform: none !important; will-change: auto; }
  .inspector-panel.mouse-panel-float { transform: none !important; will-change: auto; }
  .mouse-magnetic { transform: none !important; }
}

/* Keep centered inspection titles visible below the sticky navigation on anchor jumps. */
#machinery-studio, #lab { scroll-margin-top: 96px; }
@media (max-width: 639px) {
  #machinery-studio, #lab { scroll-margin-top: 112px; }
}


/* LIGHT INDUSTRIAL THEME OVERRIDES */
:root {
  --ramha-red: #e10613;
  --ramha-red-dark: #b80812;
  --ramha-text: #111827;
  --ramha-muted: #6b7280;
  --ramha-border: #e5e7eb;
  --ramha-surface: #ffffff;
  --ramha-surface-alt: #f8fafc;
}
body {
  background: #ffffff;
  color: var(--ramha-text);
}
.text-white { color: var(--ramha-text); }
.text-slate-200, .text-slate-300 { color: #374151; }
.text-slate-400 { color: var(--ramha-muted); }
.text-slate-500 { color: #9ca3af; }
.text-brand-crimson { color: var(--ramha-red); }
.bg-brand-crimson { background-color: var(--ramha-red); }
.bg-brand-crimson\/15 { background-color: rgba(225, 6, 19, 0.08); }
.bg-brand-crimson\/40, .bg-brand-crimson\/50 { background-color: rgba(225, 6, 19, 0.12); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--ramha-red), #111827); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--ramha-red), #111827); }
.bg-black\/80, .bg-black\/90 { background-color: rgba(255,255,255,0.97); }
.bg-black\/60 { background-color: #f3f4f6; }
.bg-white\/5, .bg-white\/10 { background-color: rgba(255,255,255,0.98); }
.border-white\/5, .border-white\/10, .border-white\/20 { border-color: var(--ramha-border); }
.border-brand-crimson\/30, .border-brand-crimson\/40, .border-brand-crimson\/50, .border-red-500 { border-color: rgba(225, 6, 19, 0.22); }
.bg-\[\#050608\], .bg-\[\#06080C\], .bg-\[\#07090E\], .bg-\[\#0B0E17\], .bg-\[\#131824\] { background-color: var(--ramha-surface-alt); }
.glass-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--ramha-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.glass-card-hover:hover {
  border-color: rgba(225, 6, 19, 0.22);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}
.hero-section {
  background: radial-gradient(circle at top right, rgba(225, 6, 19, 0.08), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
#hero-canvas { opacity: 0.75; }
.top-info-bar {
  box-shadow: inset 0 -1px 0 rgba(17, 24, 39, 0.06);
}
.brand-lockup { min-width: 0; }
.brand-logo {
  width: 72px;
  height: auto;
  display: block;
  object-fit: contain;
}
.brand-logo-footer {
  width: 64px;
}
section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
  color: var(--ramha-red) !important;
}
footer .text-white, header .text-white { color: var(--ramha-text); }
.bg-brand-crimson, .bg-brand-crimson *, .crimson-glow, .crimson-glow *,
.whatsapp-float, .whatsapp-float * {
  color: #ffffff !important;
}
#machinery-studio, #products, #lab, #contact { background: var(--ramha-surface-alt); }
#machinery-studio .inspector-viewport,
#lab .inspector-viewport {
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  border-color: var(--ramha-border);
}
#machinery-studio .inspector-viewport .absolute,
#lab .inspector-viewport .absolute {
  border-color: var(--ramha-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.product-item,
.inspector-panel,
#contact .glass-card { background: #ffffff; }
.product-item h3 { color: var(--ramha-red) !important; }
button, .product-filter-btn, a {
  transition: all .25s ease;
}
button.text-slate-400, .product-filter-btn.text-slate-400, a.text-slate-300, a.text-white {
  color: var(--ramha-text);
}
button.text-slate-400:hover, .product-filter-btn.text-slate-400:hover, a.text-slate-300:hover, a.text-white:hover {
  color: var(--ramha-red);
}
.crimson-glow {
  box-shadow: 0 12px 28px rgba(225, 6, 19, 0.18);
}
.hover\:bg-brand-ruby:hover, .hover\:bg-brand-crimson:hover {
  background-color: var(--ramha-red-dark);
}
.hover\:text-white:hover { color: #ffffff !important; }
.focus\:border-brand-crimson:focus { border-color: var(--ramha-red); }
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid rgba(225, 6, 19, 0.35);
  outline-offset: 4px;
}
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #d1d5db; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
@media (max-width: 768px) {
  .brand-logo { width: 58px; }
  .brand-logo-footer { width: 54px; }
}

/* Functional showroom finishing and accessible light-theme controls */
#machinery-canvas, #motor-lab-canvas { display: block; width: 100%; height: 100%; min-height: 310px; cursor: grab; }
#machinery-studio .inspector-viewport, #lab .inspector-viewport { position: relative; min-height: 320px; }
#machinery-studio button.bg-brand-crimson, #lab button.bg-brand-crimson,
#products button.bg-brand-crimson, #contact button.bg-brand-crimson {
  background: #e10613 !important; color: white !important; border-color: #e10613 !important;
}
#machinery-studio button:not(.bg-brand-crimson), #lab button:not(.bg-brand-crimson),
#products .product-filter-btn:not(.bg-brand-crimson) {
  background-color: #f3f4f6; color: #111827; border: 1px solid #d1d5db;
}
#machinery-studio .inspector-viewport canvas, #lab .inspector-viewport canvas { opacity: 1 !important; }
