/* ============================================================
   NEURYZ — Shared Stylesheet
   ============================================================ */

:root {
  --bg-primary:      #0F1A2E;
  --bg-secondary:    #EFEEE9;
  --bg-panel-dark:   #142236;
  --bg-panel-light:  #F7F6F3;
  --text-dark:       #0F1A2E;
  --text-light:      #F7F6F3;
  --text-muted:      rgba(247, 246, 243, 0.90);
  --navy-light:      #3D4F6A;
  --gold:            #9E864E;
  --gold-bright:     #C4A87C;
  --border-dark:     rgba(15, 26, 46, 0.08);
  --border-light:    rgba(196, 168, 124, 0.15);
  --radius-studio:   24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg-panel-light);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding: 0 1.5rem 4rem;
}

/* === NAVIGATION === */
nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 34px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* === MAIN LAYOUT CANVAS === */
.studio-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* === DARK NAVY PANEL === */
.panel-dark {
  background: var(--bg-panel-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-studio);
  padding: 3.5rem 3rem;
  color: var(--text-light);
}

/* === LIGHT WHITE PANEL === */
.panel-light {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-studio);
  padding: 3.5rem 3rem;
  color: var(--text-dark);
}

/* === HERO === */
.hero-wrapper {
  background: var(--bg-panel-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-studio);
  padding: 2.75rem 3rem 3.5rem;
  margin-top: 1rem;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
}

/* Darker gold for labels on light panels */
.panel-light .hero-label { color: var(--gold); }

h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: #ffffff;
  max-width: 800px;
  font-weight: 400;
  margin-bottom: 2.25rem;
}
h1 em { font-style: italic; color: var(--gold-bright); }

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 1rem;
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* === BUTTONS === */
.btn-primary-light {
  display: inline-flex; align-items: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 50px;
  transition: all 0.3s ease;
  background: var(--gold-bright); color: var(--text-dark);
}
.btn-primary-light:hover { background: #ffffff; transform: translateY(-2px); }

.btn-secondary-light {
  display: inline-flex; align-items: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent; color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-primary-dark {
  display: inline-flex; align-items: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 50px;
  transition: all 0.3s ease;
  background: var(--text-dark); color: #ffffff;
}
.btn-primary-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

.btn-secondary-dark {
  display: inline-flex; align-items: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent; color: var(--text-dark);
  border: 1px solid var(--border-dark);
}
.btn-secondary-dark:hover { border-color: var(--text-dark); }

/* === MULTI-COLUMN === */
.split-layout { display: flex; justify-content: space-between; gap: 3rem; }
.left-pane { flex: 1; max-width: 42%; }
.right-pane { flex: 1.2; }

.panel-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem; line-height: 1.2;
}
.panel-light .panel-title { color: var(--text-dark); }
.panel-dark .panel-title  { color: #ffffff; }
.panel-title em { font-style: italic; }
.panel-light .panel-title em { color: var(--gold); }
.panel-dark .panel-title em  { color: var(--gold-bright); }

.panel-text { font-size: 0.95rem; font-weight: 300; line-height: 1.6; }
.panel-light .panel-text { color: var(--text-dark); }
.panel-dark .panel-text  { color: var(--text-muted); }
.panel-text p { margin-bottom: 1rem; }

.panel-light .panel-title em { color: var(--gold); font-weight: 500; }

/* === WORK STREAMS === */
.stream-container { display: flex; flex-direction: column; margin-top: 1rem; }
.stream-row { display: flex; justify-content: space-between; padding: 1.5rem 0; }
.panel-light .stream-row { border-top: 1px solid var(--border-dark); }
.panel-dark .stream-row  { border-top: 1px solid var(--border-light); }
.stream-row:last-child { padding-bottom: 0; }

/* Advisory row accent — highlights the commercial offer */
.advisory-row {
  border-left: 3px solid var(--gold-bright);
  padding-left: 1.25rem;
  margin-left: -1.25rem;
}

.stream-meta { width: 30%; }
.stream-num { font-family: 'Instrument Serif', serif; font-size: 1.8rem; margin-bottom: 0.25rem; }
.panel-light .stream-num { color: var(--gold); }
.panel-dark .stream-num  { color: var(--gold-bright); }
.stream-name { font-family: 'Instrument Serif', serif; font-size: 1.4rem; }
.panel-light .stream-name { color: var(--text-dark); }
.panel-dark .stream-name  { color: #ffffff; }
.stream-subtitle {
  font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.panel-light .stream-subtitle { color: var(--gold); }
.panel-dark .stream-subtitle  { color: var(--gold-bright); }

.stream-content { width: 65%; }
.stream-desc { font-size: 0.95rem; font-weight: 300; line-height: 1.5; margin-bottom: 1.2rem; }
.panel-light .stream-desc { color: var(--navy-light); }
.panel-dark .stream-desc  { color: var(--text-muted); }

.stream-items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.stream-items li { font-size: 0.85rem; position: relative; padding-left: 1rem; }
.panel-light .stream-items li { color: var(--navy-light); }
.panel-dark .stream-items li  { color: var(--text-muted); }
.stream-items li::before { content: '—'; position: absolute; left: 0; }
.panel-light .stream-items li::before { color: var(--gold); }
.panel-dark .stream-items li::before  { color: var(--gold-bright); }

/* === METRICS / STATS === */
.stats-sidebar-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; }
.stats-vertical-stack { display: flex; flex-direction: column; gap: 1rem; }
.stat-card {
  background: var(--bg-panel-dark);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--gold-bright);
}
.stat-number { font-family: 'Instrument Serif', serif; font-size: 2.5rem; color: var(--gold-bright); line-height: 1; margin-bottom: 0.25rem; }
.stat-headline { font-size: 0.85rem; font-weight: 500; color: #ffffff; line-height: 1.3; }
.stat-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* === BIOGRAPHY === */
.founder-profile { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.founder-name { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #ffffff; }
.founder-title { font-size: 0.75rem; color: var(--gold-bright); text-transform: uppercase; }
.founder-bio-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-top: 0.5rem; }

/* === SINGLE CONTENT CARD (research, contact) === */
.panel-card {
  border-radius: var(--radius-studio);
  padding: 3.5rem 2.5rem;
}
.panel-card.light-card {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
}
.panel-card.dark-card {
  background: var(--bg-panel-dark);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}
.panel-card h2 { font-family: 'Instrument Serif', serif; font-size: 1.8rem; margin-bottom: 0.75rem; font-weight: 400; }
.panel-card.light-card h2 { color: var(--text-dark); }
.panel-card.dark-card h2  { color: #ffffff; }
.panel-card p { font-size: 0.95rem; font-weight: 300; line-height: 1.5; margin-bottom: 1.5rem; }
.panel-card.light-card p { color: var(--navy-light); }
.panel-card.dark-card p  { color: var(--text-muted); }

.connect-options { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* === FOOTER === */
footer {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(15, 26, 46, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { font-family: 'Instrument Serif', serif; font-size: 1.3rem; color: var(--navy-light); }
.footer-text  { font-size: 0.7rem; color: var(--navy-light); opacity: 0.8; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.7rem; color: var(--navy-light); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* === HAMBURGER BUTTON === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .split-layout, .stream-row, .stats-sidebar-grid { flex-direction: column; gap: 2rem; }
  .left-pane, .right-pane, .stream-meta, .stream-content { width: 100%; max-width: 100%; }
  .panel-light, .panel-dark, .panel-card, .hero-wrapper { padding: 2.5rem 1.5rem; }
  .stream-items { grid-template-columns: 1fr; }
  .advisory-row { margin-left: 0; padding-left: 0.75rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 640px) {
  nav {
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem 1rem;
    gap: 0;
  }
  .nav-logo-wrap { flex: 1; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.25rem;
    border-top: 1px solid var(--border-dark);
    margin-top: 1rem;
  }
  .nav-links li a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.82rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: 0.05em;
  }
  .nav-links li:last-child a { border-bottom: none; }
  nav.nav-open .nav-links { display: flex; }
  body { padding: 0 0.75rem 3rem; }
  .panel-light, .panel-dark, .hero-wrapper { padding: 2rem 1.25rem; }
  .stats-sidebar-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  h1 { font-size: 1.7rem; }
}
