:root {
  --bg: #07080a;
  --bg-subtle: #0c0d11;
  --bg-card: #101217;
  --bg-card-hover: #151820;
  --bg-dropdown: rgba(14, 16, 22, 0.96);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(255, 255, 255, 0.32);
  --text: #f8fafc;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #ffffff;
  --emerald: #10b981;
  --sky: #38bdf8;
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-w: 1340px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(56, 189, 248, 0.035), transparent 65%);
  color: var(--text);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Subtle architectural grid background overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, #000 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SCROLL-REVEAL & KEYFRAME ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* ==========================================================================
   INSTITUTIONAL TOPBAR — LOGO & NAME ON THE LEFT
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(7, 8, 10, 0.84);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Left-Aligned Brand Logo + Name */
.brand-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.brand-left:hover {
  opacity: 0.88;
}

.brand-logo-svg {
  width: 30px;
  height: 30px;
  display: block;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  white-space: nowrap;
}

/* Main Navigation Links */
.nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nav Items & Dropdown Triggers */
.nav-item {
  position: relative;
}

.nav-btn,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.nav-btn:hover,
.nav-dropdown-trigger:hover,
.nav-item.open > .nav-dropdown-trigger,
.nav-btn.active,
.nav-dropdown-trigger.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

.chevron-icon {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-item:hover > .nav-dropdown-trigger .chevron-icon,
.nav-item.open > .nav-dropdown-trigger .chevron-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* Structured Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--bg-dropdown);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 7px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.99);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
  z-index: 300;
  list-style: none;
}

.dropdown-menu.align-right {
  left: auto;
  right: 0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu,
.nav-item.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--text);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: rgba(255, 255, 255, 0.065);
}

.dd-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  margin-top: 1px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.dropdown-link:hover .dd-icon,
.dropdown-link.active .dd-icon {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.dd-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dd-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dd-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.dropdown-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Mobile Navigation Drawer */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #0b0c10;
  border-bottom: 1px solid var(--border-strong);
  padding: 24px 32px 32px;
  z-index: 199;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-drawer.open {
  display: block;
}

.mobile-sec {
  margin-bottom: 18px;
}

.mobile-sec-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mobile-sec-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-sec-links a,
.mobile-sec-links button {
  background: #12141a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

/* ==========================================================================
   ARCHITECTURAL BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary,
.btn-accent {
  background: #ffffff;
  color: #07080a;
  border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover,
.btn-accent:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

/* ==========================================================================
   HERO & CINEMATIC SUPERCOMPUTER VISUAL SHOWCASE
   ========================================================================== */
main {
  flex: 1;
}

.home-hero {
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-bento-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseGlow 2.4s infinite ease-in-out;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  display: inline-block;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.3vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: #ffffff;
  max-width: 780px;
}

.display-title em {
  font-style: normal;
  color: #a1a1aa;
  font-weight: 500;
}

.page-hero {
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  max-width: 840px;
}

.lead {
  font-size: 17.5px;
  color: var(--text-secondary);
  max-width: 630px;
  margin-top: 20px;
  line-height: 1.66;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats-row {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Right Hero Photorealistic Visual + Interactive Canvas + HUD */
.hero-visual-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0a0c10;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 16 / 10.5;
  width: 100%;
  overflow: hidden;
  background: #090b0f;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-stage:hover .hero-photo-img {
  transform: scale(1.06);
}

.hero-canvas-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.25) 0%, rgba(7, 8, 10, 0.4) 45%, rgba(7, 8, 10, 0.96) 100%);
  z-index: 1;
}

.hero-telemetry-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.telemetry-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f4f4f6;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-hud-bottom {
  position: relative;
  z-index: 3;
  padding: 24px 28px 28px;
  background: rgba(12, 14, 19, 0.94);
  border-top: 1px solid var(--border);
}

/* Animated Benchmark Bars */
.bench-mini-list {
  margin-top: 16px;
  display: grid;
  gap: 13px;
}

.bench-row {
  display: grid;
  gap: 6px;
}

.bench-label-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}

.bench-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.bench-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  border-radius: 3px;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   ARCHITECTURAL SVG BLUEPRINT DIAGRAM
   ========================================================================== */
.architecture-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.arch-svg-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 12px 0;
}

.arch-flow-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 2.2s linear infinite;
}

/* ==========================================================================
   INTERACTIVE REASONING CONSOLE & BENCHMARK TABLE
   ========================================================================== */
.console-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.console-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #0b0c10;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.console-tab-group {
  display: flex;
  gap: 6px;
}

.console-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.console-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.console-tab.active {
  background: #1a1d26;
  color: #ffffff;
  border-color: var(--border-strong);
}

.console-panel {
  display: none;
  padding: 32px;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.console-panel.active {
  display: grid;
  animation: fadeInPanel 0.35s ease;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.prompt-bubble {
  background: #0b0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.reasoning-trace {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #d4d4d8;
  background: #0b0c10;
  border: 1px solid var(--border);
  border-left: 3px solid #ffffff;
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 16px;
  line-height: 1.68;
}

.response-code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #07080b;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  color: #e4e4e7;
  overflow-x: auto;
  line-height: 1.65;
  position: relative;
}

/* Comparison Table */
.benchmark-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th,
.benchmark-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.benchmark-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: #0b0c10;
}

.benchmark-table tr {
  transition: background 0.15s ease;
}

.benchmark-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table td.highlight-col,
.benchmark-table th.highlight-col {
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS, GRIDS & SPOTLIGHT INTERACTIVE CARDS
   ========================================================================== */
.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
  color: #ffffff;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 590px;
  margin-top: 8px;
}

.link-arrow {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.link-arrow:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-highlight);
  transform: translateX(3px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2,
.split-grid,
.work-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Mouse-Tracking Specular Spotlight Cards */
.card,
.discipline-box,
.value-card,
.work-card,
.team-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.card::before,
.discipline-box::before,
.value-card::before,
.work-card::before,
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.065),
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
}

.card,
.discipline-box,
.value-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover,
.discipline-box:hover,
.value-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.discipline-num {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.card h3,
.discipline-box h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p,
.discipline-box p,
.value-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.65;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.value-card p {
  margin-bottom: 0;
}

.clean-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.clean-list li {
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clean-list li span.muted {
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   PHOTOREALISTIC MODEL & PRODUCT SHOWCASE CARDS
   ========================================================================== */
.work-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.work-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.72);
}

.work-thumb {
  aspect-ratio: 16 / 9.2;
  width: 100%;
  background: #090b0f;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.work-thumb-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.work-card:hover .work-thumb-bg {
  transform: scale(1.06);
}

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.08) 0%, rgba(7, 8, 10, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 22px;
}

.work-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

.work-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #ffffff;
}

.work-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 24px;
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Team Cards */
.team-card {
  padding: 30px;
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 18px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.team-bio {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Journal / Research / News Rows */
.journal-list {
  display: grid;
  gap: 14px;
}

.journal-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 195px 1fr auto;
  gap: 28px;
  align-items: center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease;
}

.journal-item:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.journal-date {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.journal-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 6px;
}

.journal-title {
  font-family: var(--font-display);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: #ffffff;
}

.journal-excerpt {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Legal & Information Pages */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 68px 32px 96px;
}

.legal-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 24px 0 36px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 34px 0 12px;
}

.legal-body p {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-body ul {
  margin: 0 0 22px 22px;
  color: var(--text-secondary);
  font-size: 15.5px;
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   POP UP BOX FORM (CONTACT MODAL)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #101217;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.92);
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  color: #ffffff;
  border-color: var(--border-highlight);
}

.enquiry-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.enquiry-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.enquiry-pill.active {
  background: #ffffff;
  color: #07080a;
  border-color: #ffffff;
  font-weight: 600;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #07080a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #ffffff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: none;
}

.form-notice.ok {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.form-notice.err {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

/* Footer */
.site-footer {
  background: #050608;
  padding: 72px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col button {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .nav-group,
  .topbar-right {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-bento-layout,
  .console-panel.active {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .grid-3,
  .grid-2,
  .split-grid,
  .work-grid,
  .values-grid,
  .form-grid-2,
  .mobile-sec-links,
  .enquiry-switcher,
  .hero-stats-row,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .journal-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
