/* ---------- GLOBAL RESET & TOKENS ---------- */

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

:root {

  --bg: #f6f9fc;

  --surface: #ffffff;

  --text-primary: #0b1c2f;

  --text-secondary: #3a4c62;

  --text-muted: #64748b;

  --accent: #2563eb;

  --accent-light: #dbeafe;

  --accent-soft: #eff6ff;

  --border-light: #e2e8f0;

  --border-medium: #cbd5e1;

  --shadow-sm: 0 8px 20px -6px rgba(0, 20, 40, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.02);

  --shadow-md: 0 18px 32px -12px rgba(0, 20, 40, 0.1);

  --radius-card: 24px;

  --radius-btn: 40px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

}

html { scroll-behavior: smooth; }

body {

  background-color: var(--bg);

  font-family: var(--font-sans);

  color: var(--text-primary);

  line-height: 1.5;

  -webkit-font-smoothing: antialiased;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ---------- HEADER & NAVIGATION ---------- */

header {

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(8px);

  border-bottom: 1px solid var(--border-light);

  position: sticky;

  top: 0;

  z-index: 100;

  padding: 12px 0;

}

.header-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 16px;

}

.logo-area { display: flex; flex-direction: column; }

.logo-main { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.2; }

.logo-sub { font-size: 0.8rem; font-weight: 500; color: var(--accent); letter-spacing: 0.4px; text-transform: uppercase; }

.menu-bar {

  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  background: var(--surface);

  padding: 6px;

  border-radius: 60px;

  border: 1px solid var(--border-light);

  box-shadow: var(--shadow-sm);

}

.menu-btn {

  background: transparent;

  border: none;

  padding: 10px 20px;

  border-radius: 40px;

  font-weight: 550;

  font-size: 0.92rem;

  color: var(--text-secondary);

  cursor: pointer;

  transition: all 0.15s ease;

  white-space: nowrap;

  font-family: inherit;

  letter-spacing: -0.01em;

}

.menu-btn:hover { background: var(--accent-soft); color: var(--accent); }

.menu-btn.active { background: var(--accent); color: white; box-shadow: 0 6px 12px -6px rgba(37, 99, 235, 0.3); }

/* ---------- PAGE SECTIONS ---------- */

.page-section { display: none; animation: fadeIn 0.25s ease; padding: 48px 0 72px; }

.page-section.active { display: block; }

@keyframes fadeIn {

  0% { opacity: 0.4; transform: translateY(6px); }

  100% { opacity: 1; transform: translateY(0); }

}

/* ---------- TYPOGRAPHY ---------- */

.section-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 20px; }

h2 { font-size: 2rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 24px; }

h3 { font-size: 1.3rem; font-weight: 650; margin-bottom: 12px; }

p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; }

.lead { font-size: 1.2rem; color: var(--text-secondary); max-width: 720px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 32px; }

.card {

  background: var(--surface);

  border-radius: var(--radius-card);

  padding: 32px 28px;

  border: 1px solid var(--border-light);

  box-shadow: var(--shadow-sm);

  transition: transform 0.15s ease, box-shadow 0.2s ease;

}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d0ddeb; }

.card-icon { font-size: 2rem; margin-bottom: 18px; display: block; }

.card h3 { font-size: 1.25rem; margin-bottom: 8px; }

.card p { font-size: 0.98rem; margin-bottom: 0; }

.card a { color: var(--accent); text-decoration: none; font-weight: 500; }

.card a:hover { text-decoration: underline; }

/* ---------- OBJECT LIST ---------- */

.object-list {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin: 8px 0 0 0;

  list-style: none;

}

.object-list li {

  background: var(--accent-soft);

  color: var(--accent);

  border-radius: 40px;

  padding: 6px 18px;

  font-size: 0.92rem;

  font-weight: 550;

  letter-spacing: -0.01em;

}

/* ---------- PEOPLE CARDS ---------- */

.person-card { text-align: center; }

.person-card a.person-link {

  text-decoration: none;

  color: inherit;

  display: block;

  transition: color 0.15s;

}

.person-card a.person-link:hover h3 { color: var(--accent); }

.person-card a.person-link h3 { font-size: 1.25rem; margin-bottom: 4px; transition: color 0.15s; }

.person-card .role { color: var(--accent); font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; display: block; }

.person-card .affil { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; display: block; }

.person-card .desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0; }

.person-card .no-link { cursor: default; }

.person-card .no-link h3 { color: var(--text-primary); }

/* ---------- EVENTS ---------- */

.event-item {

  display: flex; gap: 24px;

  background: var(--surface);

  border-radius: 20px;

  padding: 24px 28px;

  border: 1px solid var(--border-light);

  margin-bottom: 20px;

  align-items: flex-start;

  transition: border-color 0.2s;

}

.event-item:hover { border-color: var(--accent-light); }

.event-date {

  background: var(--accent-soft);

  color: var(--accent);

  border-radius: 16px;

  padding: 12px 16px;

  font-weight: 650;

  font-size: 0.9rem;

  text-align: center;

  min-width: 90px;

  line-height: 1.3;

}

.event-date span { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent); }

.event-info h3 { font-size: 1.2rem; margin-bottom: 4px; }

.event-info p { font-size: 0.95rem; margin-bottom: 0; color: var(--text-muted); }

/* ---------- JOBS ---------- */

.job-item {

  background: var(--surface);

  border-radius: 20px;

  padding: 28px 32px;

  border: 1px solid var(--border-light);

  margin-bottom: 20px;

}

.job-header {

  display: flex; flex-wrap: wrap;

  justify-content: space-between;

  align-items: flex-start;

  gap: 20px;

  margin-bottom: 16px;

}

.job-item h3 { margin-bottom: 6px; }

.job-salary {

  font-size: 1rem;

  font-weight: 600;

  color: var(--accent);

  margin-bottom: 8px;

  display: block;

}

.job-salary-note {

  font-size: 0.9rem;

  font-weight: 400;

  color: var(--text-muted);

  display: block;

  margin-top: 2px;

}

.job-tag {

  display: inline-block;

  background: var(--accent-soft);

  color: var(--accent);

  border-radius: 40px;

  padding: 4px 14px;

  font-size: 0.8rem;

  font-weight: 600;

  letter-spacing: 0.2px;

  margin-right: 6px;

  margin-top: 4px;

}

.job-requirements {

  background: var(--bg);

  border-radius: 14px;

  padding: 18px 22px;

  margin-top: 8px;

}

.job-requirements h4 {

  font-size: 0.85rem;

  font-weight: 650;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: var(--accent);

  margin-bottom: 12px;

}

.job-requirements ul { list-style: none; padding: 0; margin: 0; }

.job-requirements ul li {

  position: relative;

  padding-left: 22px;

  margin-bottom: 8px;

  font-size: 0.95rem;

  color: var(--text-secondary);

  line-height: 1.5;

}

.job-requirements ul li:last-child { margin-bottom: 0; }

.job-requirements ul li::before {

  content: "✓";

  position: absolute;

  left: 0;

  color: var(--accent);

  font-weight: 700;

}

.job-requirements a { color: var(--accent); text-decoration: none; font-weight: 500; }

.job-requirements a:hover { text-decoration: underline; }

/* ---------- BUTTONS ---------- */

.btn {

  display: inline-flex; align-items: center; justify-content: center;

  padding: 12px 28px;

  border-radius: var(--radius-btn);

  font-weight: 600; font-size: 0.95rem;

  text-decoration: none;

  transition: all 0.18s ease;

  border: 1.5px solid transparent;

  cursor: pointer;

  font-family: inherit;

  background: transparent;

}

.btn-primary {

  background: var(--accent); color: white;

  box-shadow: 0 8px 16px -8px rgba(37, 99, 235, 0.3);

}

.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 14px 22px -10px rgba(37, 99, 235, 0.4); }

.btn-outline { border: 1.5px solid var(--border-medium); color: var(--text-primary); }

.btn-outline:hover { background: white; border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- CONTACT ---------- */

.contact-block {

  background: var(--surface);

  border-radius: 28px;

  padding: 40px 40px;

  border: 1px solid var(--border-light);

  max-width: 760px;

  margin: 0 auto;

}

.contact-row {

  display: flex; gap: 18px; align-items: center;

  padding: 16px 0;

  border-bottom: 1px solid var(--border-light);

}

.contact-row:last-child { border-bottom: none; }

.contact-row .icon { font-size: 1.6rem; width: 40px; text-align: center; flex-shrink: 0; }

.contact-row .label { font-weight: 600; min-width: 90px; color: var(--text-primary); flex-shrink: 0; }

.contact-row .value { color: var(--text-secondary); }

.contact-row .value a { color: var(--accent); text-decoration: none; font-weight: 500; transition: color 0.15s; }

.contact-row .value a:hover { text-decoration: underline; color: #1d4ed8; }

.contact-people { display: flex; flex-direction: column; gap: 4px; }

.contact-people .name { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }

.contact-people .email { font-size: 0.95rem; }

/* ---------- FOOTER ---------- */

footer { margin-top: auto; border-top: 1px solid var(--border-light); padding: 28px 0; background: var(--surface); }

.footer-inner {

  display: flex; justify-content: space-between; align-items: center;

  flex-wrap: wrap; gap: 16px;

  font-size: 0.9rem; color: var(--text-muted);

}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 850px) {

  .header-inner { flex-direction: column; align-items: flex-start; }

  .menu-bar { width: 100%; justify-content: center; }

  .menu-btn { padding: 8px 14px; font-size: 0.85rem; }

}

@media (max-width: 600px) {

  .page-section { padding: 32px 0 56px; }

  .menu-bar { gap: 4px; padding: 5px; }

  .menu-btn { padding: 7px 12px; font-size: 0.78rem; }

  .event-item { flex-direction: column; gap: 16px; }

  .job-item { padding: 22px 20px; }

  .job-requirements { padding: 16px 18px; }

  .contact-block { padding: 28px 22px; }

  .contact-row { flex-wrap: wrap; gap: 8px; }

}


/* ---------- STATIC QUANTUM-SCATTERING SCHEMATIC ---------- */
/* No JavaScript or remote assets are required to display this figure. */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.hero-copy, .field-figure { min-width: 0; }
.hero-copy .lead { max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.hero-copy h1 { margin-bottom: 17px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin: 28px 0 0; }
.field-figure {
  width: 100%; margin: 0; overflow: hidden; background: #fff;
  border: 1px solid #d5e2ef; border-radius: 21px;
  box-shadow: 0 16px 32px -18px rgba(13,32,59,.23);
}
.schematic-heading {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 19px; background: #f0f6fd;
  border-bottom: 1px solid #dbe6f1;
}
.schematic-heading-kicker { font-size: 10px; font-weight: 750; letter-spacing: .85px; color: #245da7; }
.schematic-heading-note { font-size: 10px; font-weight: 600; color: #73849a; white-space: nowrap; }
.schematic-stage { background: #0f2439; }
.schematic-art { width:100%; height:auto; display:block; }
.schematic-art--mobile { display:none; }
.schematic-caption { padding: 17px 20px 20px; background: #fff; }
.schematic-caption strong {
  display: block; margin-bottom: 7px; color: #122c43;
  font: 500 clamp(18px, 1.7vw, 21px)/1.3 Georgia, 'Times New Roman', serif;
}
.schematic-caption p {
  margin: 0; color: #495e73; font-size: 12.5px; line-height: 1.55;
}
.schematic-caption .schematic-disclaimer { margin-top: 7px; font-size: 11px; color: #728296; }
.schematic-paper-link {
  display: inline-block; margin-top: 12px; font-size: 11.5px;
  line-height: 1.4; font-weight: 650; color: #245da7; text-decoration: none;
}
.schematic-paper-link:hover { text-decoration: underline; }
.schematic-paper-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
#home > .card-grid { margin-top: 34px; }
@media (max-width: 980px) and (min-width: 761px) {
  .hero-layout { gap: 24px; }
  .schematic-heading { padding: 12px 13px; }
  .schematic-caption { padding: 13px 15px; }
  .hero-copy .lead { font-size: 1rem; line-height: 1.52; }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .field-figure { max-width: 650px; }
  .hero-actions { margin-top: 22px; }
}
@media (max-width: 540px) {
  /* Larger, legible labels instead of squeezing the desktop diagram. */
  .schematic-art--desktop { display:none; }
  .schematic-art--mobile { display:block; }
  .schematic-heading { padding: 12px 14px; }
  .schematic-heading-kicker { font-size: 9px; letter-spacing:.3px; }
  .schematic-heading-note { font-size: 9px; }
  .schematic-caption { padding: 15px 16px 18px; }
  .schematic-caption strong { font-size: 19px; }
  .schematic-caption p { font-size: 12px; }
  header { position: static; } /* Prevent multi-row nav from covering content */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-section { animation: none; }
}
