/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #111418;
  --surface:    #181d24;
  --surface-2:  #1f2530;
  --accent:     #c9a84c;
  --accent-dim: #6b5520;
  --text:       #e4e8ed;
  --text-muted: #7a8899;
  --border:     #252d38;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(17, 20, 24, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}

nav ul { list-style: none; display: flex; gap: 2.5rem; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2.5rem 4rem;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.8rem;
  color: #f0f4f8;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 420px;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: #111418;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn:hover { background: #d9b85c; }

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(10%) contrast(1.04);
}

/* ===== SHARED SECTION STYLES ===== */
section { padding: 6rem 2.5rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: #f0f4f8;
  margin-bottom: 3.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

/* ===== ABOUT ===== */
#about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.about-photo img {
  width: 100%;
  filter: grayscale(8%);
}

.photo-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

/* ===== INNOVATIONS ===== */
#innovations { background: var(--bg); }

.innovations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.innovation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.innovation-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-image {
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.05);
  transition: filter 0.4s;
}

.innovation-card:hover .card-image img {
  filter: grayscale(10%) contrast(1.05);
}

.card-content { padding: 3rem; }

.innovation-card:not(.featured) .card-content { padding: 2.5rem; }

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.28rem 0.65rem;
  margin-bottom: 1.2rem;
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #f0f4f8;
  margin-bottom: 1.4rem;
  line-height: 1.35;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.card-facts {
  list-style: none;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.card-facts li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.card-facts li:last-child { border-bottom: none; }
.card-facts li strong { color: var(--text); }

/* ===== PRESS ===== */
#press { background: var(--surface); }

.press-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 2.8rem;
  max-width: 800px;
}

.press-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.press-journal {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.press-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.press-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: #f0f4f8;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.press-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.press-abstract {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== CONTACT ===== */
#contact { background: var(--bg); }

.contact-inner { text-align: center; }
.contact-inner h2 { border-bottom: none; margin-bottom: 1.2rem; }

.contact-inner > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 0.3rem;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: 1.5rem;
}

.contact-email:hover { color: #d9b85c; border-color: #d9b85c; }

.contact-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ===== CAREER TIMELINE ===== */
#career { background: var(--surface); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
  padding-left: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 2rem 2rem 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background: var(--border);
  border-radius: 50%;
}

.timeline-item.highlight::before {
  background: var(--accent);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 0.25rem;
  white-space: nowrap;
}

.timeline-item.highlight .timeline-year { color: var(--accent); }

.timeline-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #f0f4f8;
  margin-bottom: 0.75rem;
}

.timeline-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== PUBLICATIONS ===== */
#publications { background: var(--bg); }

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #hero {
    flex-direction: column-reverse;
    gap: 2.5rem;
    padding-top: 6.5rem;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-image { max-width: 100%; }
  .hero-image img { height: 420px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .innovations-grid { grid-template-columns: 1fr; }
  .innovation-card.featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .card-image img { height: 300px; }

  nav ul { display: none; }
}

@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  .hero-image img { height: 320px; }
  .card-content { padding: 1.75rem; }
  .press-card { padding: 1.75rem; }
}
