/* ============================================
   ORPHEUS LABS — Corporate Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@300;400;500&display=swap');

:root {
  --white:       #FFFFFF;
  --off-white:   #F4F6F8;
  --gray-100:    #EAEDf1;
  --gray-200:    #D0D5DD;
  --gray-400:    #8A94A6;
  --gray-600:    #4B5563;
  --gray-800:    #1E2433;
  --navy:        #0B1120;
  --blue-accent: #1A5FD4;
  --blue-light:  #3B82F6;
  --blue-pale:   #EBF2FF;
  --red-alert:   #DC2626;
  --font-sans:   'DM Sans', sans-serif;
  --font-mono:   'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-800);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ——— TYPOGRAPHY ——— */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mono { font-family: var(--font-mono); }
.label-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

/* ——— NAVBAR ——— */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy) !important;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 8px; height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: inline-block;
}
.navbar-nav .nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600) !important;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--navy) !important; }
.navbar-nav .nav-link.active { border-bottom: 2px solid var(--blue-accent); }
.nav-cta {
  background: var(--blue-accent) !important;
  color: white !important;
  border-radius: 4px;
  padding: 0.4rem 1.1rem !important;
  font-size: 12px !important;
  letter-spacing: 0.05em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #1450b8 !important; }

/* ——— TICKER BAR ——— */
.ticker-bar {
  background: var(--navy);
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: 11px;
  overflow: hidden;
  padding: 6px 0;
  border-bottom: 1px solid #1E2D4A;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item span { color: var(--blue-light); margin-right: 6px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ——— HERO ——— */
.hero {
  background: var(--navy);
  color: white;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,95,212,0.12) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue-light);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: white;
  margin-bottom: 24px;
  max-width: 640px;
}
.hero h1 strong { font-weight: 600; }
.hero-lead {
  color: var(--gray-400);
  font-size: 16px;
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item .stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: white;
}
.stat-item .stat-label {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
  line-height: 2;
}
.hero-card .line-green { color: #4ADE80; }
.hero-card .line-blue  { color: var(--blue-light); }
.hero-card .line-red   { color: #F87171; }
.hero-card .line-dim   { color: #3D4F6B; }
.cursor-blink {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--blue-light);
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ——— BUTTONS ——— */
.btn-primary-custom {
  background: var(--blue-accent);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-custom:hover { background: #1450b8; color: white; transform: translateY(-1px); }
.btn-outline-custom {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 28px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-custom:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* ——— SECTIONS ——— */
.section { padding: 88px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: white; }

.section-header { margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gray-800); }
.section-dark .section-header h2 { color: white; }
.section-header p { color: var(--gray-400); font-size: 15px; margin-top: 12px; max-width: 500px; }

/* ——— RESEARCH CARDS ——— */
.research-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 32px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.research-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.research-card:hover { border-color: var(--gray-200); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.research-card:hover::before { transform: scaleX(1); }
.card-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.research-card h3 { font-size: 17px; font-weight: 500; color: var(--gray-800); margin-bottom: 12px; }
.research-card p  { font-size: 13px; color: var(--gray-400); line-height: 1.7; }
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-top: 20px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
}
.status-dot.paused { background: #F59E0B; }
.status-dot.classified { background: var(--red-alert); }

/* ——— TEAM CARDS ——— */
.team-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gray-100);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--blue-accent);
  border: 2px solid var(--gray-200);
}
.team-card h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--blue-accent); font-family: var(--font-mono); margin-bottom: 8px; letter-spacing: 0.04em; }
.team-card p { font-size: 12px; color: var(--gray-400); }
.team-card.redacted { opacity: 0.45; }
.team-card.redacted .avatar { background: var(--gray-800); color: var(--gray-600); }
.team-card.redacted h4 {
  background: var(--gray-800);
  color: transparent;
  border-radius: 2px;
}

/* ——— PUBLICATIONS ——— */
.pub-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.pub-item:last-child { border-bottom: none; }
.pub-year { font-family: var(--font-mono); font-size: 11px; color: var(--blue-accent); letter-spacing: 0.06em; }
.pub-title { font-size: 15px; font-weight: 500; color: var(--gray-800); margin: 4px 0; }
.pub-authors { font-size: 12px; color: var(--gray-400); }

/* ——— CONTACT ——— */
.contact-form { background: white; border: 1px solid var(--gray-100); border-radius: 8px; padding: 40px; }
.form-label { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--gray-600); text-transform: uppercase; margin-bottom: 6px; }
.form-control, .form-select {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 14px;
  padding: 10px 14px;
  color: var(--gray-800);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--off-white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(26,95,212,0.1);
  background: white;
  outline: none;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}
.contact-icon {
  width: 36px; height: 36px;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-accent);
  font-size: 14px;
}
.contact-info-item h6 { font-size: 12px; color: var(--gray-400); margin-bottom: 2px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); }
.contact-info-item p  { font-size: 14px; color: var(--gray-800); margin: 0; }

/* ——— DIVIDER ——— */
.h-divider { height: 1px; background: var(--gray-100); margin: 0; }

/* ——— FOOTER ——— */
footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 56px 0 32px;
  font-size: 13px;
}
.footer-brand {
  font-family: var(--font-mono);
  font-size: 14px;
  color: white;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 12px; color: var(--gray-400); }
.footer-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 16px; font-family: var(--font-mono); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #6B7E9E; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 11px; font-family: var(--font-mono); color: #3D4F6B; }
.cert-badges { display: flex; gap: 12px; }
.cert-badge {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #3D4F6B;
  letter-spacing: 0.06em;
}

/* ——— PAGE HERO (inner pages) ——— */
.page-hero {
  background: var(--navy);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px);
}
.page-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; }
.page-hero h1 strong { font-weight: 600; }
.page-hero p { color: var(--gray-400); font-size: 15px; max-width: 560px; margin-top: 12px; }
.breadcrumb-custom {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.breadcrumb-custom a { color: var(--blue-light); text-decoration: none; }
.breadcrumb-custom span { margin: 0 8px; }

/* ——— UTILITIES ——— */
.text-mono { font-family: var(--font-mono); }
.text-muted-custom { color: var(--gray-400); }
.text-blue { color: var(--blue-accent); }
.bg-navy { background: var(--navy); }
.border-subtle { border: 1px solid var(--gray-100); }

/* ——— ALERT BANNER ——— */
.alert-banner {
  background: linear-gradient(90deg, #0B1A36 0%, #0F2254 100%);
  border-bottom: 1px solid rgba(59,130,246,0.3);
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-light);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 768px) {
  .hero { padding: 60px 0 48px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-visual { margin-top: 48px; }
  .section { padding: 60px 0; }
  .contact-form { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
