/* =========================================
   REKADO — Global Stylesheet
   Inspired by: SpaceX / Palantir / Shield.ai
   Palette: Black, greys, white only
   ========================================= */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── Tokens ── */
:root {
  --black:       #000000;
  --bg:          #080808;
  --bg-1:        #0d0d0d;
  --bg-2:        #111111;
  --bg-3:        #161616;
  --bg-4:        #1c1c1c;
  --border:      rgba(255,255,255,0.07);
  --border-md:   rgba(255,255,255,0.12);
  --border-lg:   rgba(255,255,255,0.20);
  --white:       #ffffff;
  --grey-1:      #e8e8e8;
  --grey-2:      #b0b0b0;
  --grey-3:      #777777;
  --grey-4:      #444444;
  --grey-5:      #2a2a2a;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:        'Share Tech Mono', 'Courier New', monospace;
  --max:         1200px;
  --nav-h:       72px;
}

/* ── Base ── */
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--grey-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── Canvas (live background) ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-4); }

/* ── Container ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Utilities ── */
.mono  { font-family: var(--mono); }
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.rule { border: none; border-top: 1px solid var(--border); }

/* =========================================
   NAVIGATION
   ========================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s;
}
#nav.solid {
  background: rgba(0,0,0,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}
@media (max-width: 768px) { .nav-wrap { padding: 0 20px; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  background: var(--white);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}
.nav-logo-text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--white);
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--grey-3);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white) !important;
  transition: background 0.15s, border-color 0.15s !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.45) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  margin-left: auto;
  padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1px;
  background: var(--grey-2); transition: all 0.25s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.98);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
  gap: 0;
}
.nav-mobile a {
  font-size: 14px;
  color: var(--grey-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }
.nav-mobile.open { display: flex; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* =========================================
   HERO — Page-specific heroes use .hero-*
   ========================================= */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 768px) { .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; } }

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--grey-4);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--grey-3);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--grey-1); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--grey-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-md); color: var(--white); }

.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================
   SECTIONS
   ========================================= */
.section {
  position: relative;
  z-index: 2;
  padding: 96px 0;
}
.section-tight { padding: 64px 0; }
.section-dark { background: var(--bg-1); }
.section-darker { background: var(--bg-2); }

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

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  color: var(--grey-3);
  max-width: 560px;
  line-height: 1.75;
}

/* =========================================
   STAT ROW
   ========================================= */
.stat-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) { .stat-row { flex-direction: column; } }

.stat-item {
  flex: 1;
  padding: 32px 40px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
@media (max-width: 640px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .stat-item:last-child { border-bottom: none; }
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--mono);
}
.stat-unit { font-size: 24px; color: var(--grey-3); }
.stat-desc {
  font-size: 13px;
  color: var(--grey-3);
  line-height: 1.5;
}

/* =========================================
   GRID CARDS
   ========================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); }

@media(max-width:900px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px) { .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; } }

.card {
  background: var(--black);
  padding: 40px;
  transition: background 0.2s;
}
.card:hover { background: var(--bg-3); }
.card-sm { padding: 28px 32px; }
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.card-body {
  font-size: 14px;
  color: var(--grey-3);
  line-height: 1.7;
}
.card-label { margin-bottom: 20px; }
.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey-4);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* =========================================
   TABLE
   ========================================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-4);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 18px 20px;
  color: var(--grey-2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-3); }
.data-table td:first-child { color: var(--white); font-weight: 500; }
.td-tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid var(--border-md);
  color: var(--grey-3);
}

/* =========================================
   TICKER
   ========================================= */
.ticker {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
.ticker-tag {
  flex-shrink: 0;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--grey-4);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-2);
  white-space: nowrap;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-4);
}
.ticker-inner .sep { color: var(--grey-5); }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =========================================
   HORIZONTAL LINE DIVIDER
   ========================================= */
.h-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* =========================================
   FORMS
   ========================================= */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:560px){ .form-2 { grid-template-columns:1fr; } }

.fg label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 8px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.15s;
  outline: none;
  appearance: none;
  border-radius: 0;
}
.fg input[type="checkbox"] {
  width: auto;
  appearance: auto;
  -webkit-appearance: auto;
  background: none;
  border: none;
  padding: 0;
  accent-color: var(--white);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--border-lg); }
.fg input::placeholder,
.fg textarea::placeholder { color: var(--grey-4); }
.fg select { cursor: pointer; }
.fg select option { background: #111; }
.fg textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 12px;
  color: var(--grey-4);
  margin-top: 8px;
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
  position: relative;
  z-index: 2;
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
@media(max-width:768px){ .footer-top{ grid-template-columns:1fr; gap:40px; } }

.footer-brand p {
  font-size: 13px;
  color: var(--grey-4);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--grey-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--grey-4);
}

/* =========================================
   PAGE-SPECIFIC: INDEX
   ========================================= */
.home-hero { min-height: 100vh; }

.what-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--border);
}
@media(max-width:900px){ .what-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px){ .what-grid{ grid-template-columns:1fr; } }

.what-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.what-item:last-child { border-right: none; }
@media(max-width:900px){
  .what-item:nth-child(2) { border-right: none; }
  .what-item:nth-child(3) { border-top: 1px solid var(--border); }
  .what-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
.what-item:hover { background: var(--bg-3); }
.what-icon {
  width: 32px; height: 32px;
  margin-bottom: 24px;
  opacity: 0.4;
}
.what-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.what-body { font-size: 13px; color: var(--grey-3); line-height: 1.65; }

.india-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
@media(max-width:768px){ .india-block{ grid-template-columns:1fr; } }

.india-left {
  padding: 64px 48px;
  border-right: 1px solid var(--border);
}
@media(max-width:768px){ .india-left{ border-right:none; border-bottom:1px solid var(--border); padding:40px 24px; } }

.india-right {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media(max-width:768px){ .india-right{ padding:40px 24px; } }

.india-right h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.india-right p { font-size: 14px; color: var(--grey-3); line-height: 1.7; margin-bottom: 28px; }

.ecosystem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ecosystem-list li {
  font-size: 13px;
  color: var(--grey-3);
  padding-left: 16px;
  position: relative;
}
.ecosystem-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--grey-5);
}

/* =========================================
   PAGE-SPECIFIC: PRODUCTS
   ========================================= */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 1px;
}
@media(max-width:768px){ .product-block{ grid-template-columns:1fr; } }

.product-block.reverse { direction: rtl; }
.product-block.reverse > * { direction: ltr; }

.product-info {
  padding: 64px 56px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-block.reverse .product-info { border-right: none; border-left: 1px solid var(--border); }
@media(max-width:768px){ .product-info{ padding:40px 24px; border-right:none !important; border-left:none !important; border-bottom:1px solid var(--border); } }

.product-spec {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-1);
}
@media(max-width:768px){ .product-spec{ padding:40px 24px; } }

.product-id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-4);
  margin-bottom: 20px;
}
.product-info h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.product-info p {
  font-size: 15px;
  color: var(--grey-3);
  line-height: 1.75;
  margin-bottom: 28px;
}
.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spec-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-key { color: var(--grey-3); flex-shrink: 0; }
.spec-val { color: var(--white); text-align: right; font-weight: 500; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }

/* Hardware badge */
.hw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--grey-3);
  border: 1px solid var(--border);
  padding: 6px 12px;
  margin-bottom: 24px;
}
.hw-dot {
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.5;
}

/* =========================================
   PAGE-SPECIFIC: ABOUT
   ========================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media(max-width:768px){ .about-split{ grid-template-columns:1fr; gap:40px; } }

.about-split h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-split p { font-size: 15px; color: var(--grey-3); line-height: 1.8; margin-bottom: 16px; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey-4);
  letter-spacing: 0.06em;
  padding-top: 3px;
}
.tl-text strong { color: var(--white); font-size: 14px; display: block; margin-bottom: 4px; }
.tl-text p { font-size: 13px; color: var(--grey-3); line-height: 1.6; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
}
@media(max-width:768px){ .team-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .team-grid{ grid-template-columns:1fr; } }

.team-card {
  background: var(--black);
  padding: 32px;
  transition: background 0.2s;
}
.team-card:hover { background: var(--bg-3); }
.team-avatar {
  width: 56px; height: 56px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--grey-3);
}
.team-name { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.team-title { font-size: 12px; color: var(--grey-4); letter-spacing: 0.04em; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--grey-3); line-height: 1.6; }

.value-list { display: flex; flex-direction: column; gap: 0; }
.value-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.value-item:last-child { border-bottom: none; }
.value-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey-5);
  padding-top: 4px;
}
.value-text strong { color: var(--white); font-size: 15px; display: block; margin-bottom: 6px; font-weight: 600; }
.value-text p { font-size: 13px; color: var(--grey-3); line-height: 1.65; }

/* =========================================
   PAGE-SPECIFIC: CAREERS
   ========================================= */
.role-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  cursor: pointer;
}
.role-row:last-child { border-bottom: none; }
.role-row:hover { background: var(--bg-3); }
.role-title { font-size: 15px; font-weight: 500; color: var(--white); }
.role-dept { font-size: 12px; color: var(--grey-4); margin-top: 3px; }
.role-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--grey-3);
  white-space: nowrap;
}
.role-location { font-size: 12px; color: var(--grey-4); white-space: nowrap; }

@media(max-width:640px){
  .role-row { grid-template-columns: 1fr; gap: 8px; }
  .role-tag, .role-location { display: inline-block; }
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
}
@media(max-width:768px){ .perks-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .perks-grid{ grid-template-columns:1fr; } }

.perk {
  background: var(--black);
  padding: 32px;
}
.perk-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.perk-body { font-size: 13px; color: var(--grey-3); line-height: 1.6; }

/* =========================================
   PAGE-SPECIFIC: CONTACT
   ========================================= */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media(max-width:768px){ .contact-split{ grid-template-columns:1fr; gap:48px; } }

.contact-info-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.ci {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.ci:last-child { border-bottom: none; }
.ci-label { font-size: 10px; font-family: var(--mono); letter-spacing: 0.14em; color: var(--grey-4); margin-bottom: 6px; text-transform: uppercase; }
.ci-value { font-size: 14px; color: var(--grey-2); }

/* Email links — the global `a` reset strips all affordance, so give
   mailto links a quiet underline that firms up on hover. */
.ci-value a, a.mail-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--grey-4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.ci-value a:hover, a.mail-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.security-note {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--grey-4);
  padding: 14px 18px;
  border: 1px solid var(--border);
  line-height: 1.6;
  margin-top: 24px;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in { opacity: 1; transform: none; }

/* =========================================
   SOUND CLICK RIPPLE
   ========================================= */
.click-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  width: 0; height: 0;
  transform: translate(-50%,-50%);
  animation: ring-out 0.45s ease-out forwards;
}
@keyframes ring-out {
  from { width:0; height:0; opacity:0.7; }
  to   { width:56px; height:56px; opacity:0; }
}

/* =========================================
   PAGE HEADER (sub-pages)
   ========================================= */
.page-header {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 80px) 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-header .label {
  margin-bottom: 16px;
  display: block;
}
.page-header h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 17px;
  font-weight: 300;
  color: var(--grey-3);
  max-width: 500px;
  line-height: 1.7;
}

/* =========================================
   MOTION GRAPHICS & VISUALIZATION STYLES
   ========================================= */

/* Globe on hero */
.hero-globe-wrap {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-46%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
}
.hero-globe-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.globe-hud {
  position: absolute;
  bottom: 32px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.globe-hud span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(180,180,180,0.55);
}
@media (max-width: 1060px) {
  .home-hero {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 0;
    min-height: 100vh;
  }
  .hero-globe-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    height: 52vh;
    max-width: 460px;
    opacity: 0.5;
    z-index: 0;
  }
  .hero-label,
  .hero h1,
  .hero-sub,
  .hero-actions {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 480px) {
  .home-hero {
    padding-top: calc(var(--nav-h) + 32px);
  }
  .hero-globe-wrap {
    width: 100vw;
    height: 48vh;
  }
}

/* Visualization strips below product blocks */
.viz-strip {
  position: relative;
  z-index: 2;
  display: grid;
  border-top: 1px solid var(--border);
  background: var(--black);
  overflow: hidden;
}
.viz-strip-2 { grid-template-columns: 1fr 1fr; }
.viz-strip-1 { grid-template-columns: 1fr; }
@media (max-width: 768px) { .viz-strip-2 { grid-template-columns: 1fr; } }

.viz-pane {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.viz-pane:last-child { border-right: none; }
.viz-pane canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.viz-pane-label {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(140,140,140,0.5);
  z-index: 2;
  pointer-events: none;
}
.viz-pane-tl {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
  pointer-events: none;
}
.viz-pane-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 16px; height: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
  pointer-events: none;
}

/* Full-width single viz */
.viz-strip-full {
  position: relative;
  z-index: 2;
  height: 300px;
  border-top: 1px solid var(--border);
  background: var(--black);
  overflow: hidden;
}
.viz-strip-full canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.viz-strip-full .viz-pane-label {
  position: absolute;
  top: 14px;
  right: 16px;
}
.viz-strip-full .viz-pane-tl { position: absolute; top: 0; left: 0; }
.viz-strip-full .viz-pane-br { position: absolute; bottom: 0; right: 0; }

/* Section decorators — geometric shapes */
.deco-hex {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.deco-hex svg { display: block; }

/* About page — mission illustration */
.mission-graphic {
  position: relative;
  height: 280px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-graphic svg {
  opacity: 0.15;
  width: 80%;
  max-width: 400px;
}
.mission-graphic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--black) 100%);
}

/* Inline stat badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border: 1px solid var(--border-md);
  color: var(--grey-3);
  background: var(--bg-2);
}

/* Image-style panels (styled placeholder imagery) */
.img-panel {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.img-panel-inner {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    );
}
.img-panel-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(160,160,160,0.5);
}
.img-panel-corner {
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-left: 1px solid rgba(255,255,255,0.25);
}

/* Careers decorative banner */
.careers-banner {
  position: relative;
  height: 180px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.careers-banner-dot {
  width: 6px; height: 6px;
  background: var(--grey-4);
  border-radius: 50%;
  position: relative;
}
.careers-banner-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.careers-banner-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Responsive layout helpers ──────────────────────── */
.sidebar-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
@media(max-width:768px) { .sidebar-grid { grid-template-columns: 1fr; gap: 40px; } }

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media(max-width:768px) { .apply-grid { grid-template-columns: 1fr; gap: 48px; } }

.col-3-responsive {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
}
@media(max-width:768px) { .col-3-responsive { grid-template-columns: 1fr; } }

/* ── Real logo images ────────────────────────────────── */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .nav-logo-img {
    height: 40px;
  }
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.80;
}
.intro-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 22px;
}

/* ── Page intro overlay ───────────────────────────────── */
#page-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
#page-intro.out { transform: translateY(-100%); }

.intro-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 21px;
  color: #fff;
  margin-bottom: 18px;
}
.intro-word {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  color: rgba(255,255,255,0.80);
  margin-bottom: 10px;
}
.intro-status {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(130,130,130,0.55);
  margin-bottom: 26px;
}
.intro-bar {
  width: 140px;
  height: 1px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.intro-bar-fill {
  height: 100%;
  width: 0;
  background: rgba(255,255,255,0.55);
  transition: width 0.44s cubic-bezier(0.4, 0, 0.2, 1);
}
