/* Shared employee interactive CV — editorial, minimal */

:root {
  --bg: #f7f6f3;
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #d8d5cf;
  --card: #ffffff;
  --serif: "Newsreader", "Times New Roman", Times, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 780px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mark {
  font-family: var(--serif);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 8px;
}

.nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); }

.portal-link {
  margin-left: auto;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}

.hero { padding: 48px 24px 20px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.role { margin: 12px 0 0; font-weight: 600; font-size: 1.05rem; }
.support { margin: 16px 0 0; color: #333; }
.tagline {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

.section {
  padding: 36px 24px;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.prose p { margin: 0 0 12px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

.lead { margin: 0 0 12px; font-weight: 600; }
.intro { margin: 0 0 16px; color: var(--muted); }
.note { margin: 14px 0; color: var(--muted); font-size: 14.5px; }

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

.list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 18px 18px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.place {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.timeline strong { display: block; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

.link-cards,
.cv-grid,
.pharma-grid,
.capability-grid {
  display: grid;
  gap: 12px;
}

.link-card,
.cv-card,
.pharma-card,
.capability {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

.link-card strong,
.cv-card h3,
.pharma-card h3,
.capability h3 {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 6px;
}

.link-card span,
.cv-card p,
.pharma-card p,
.capability p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}

.pharma-card .examples {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink);
}

.example-link {
  font-size: 13px;
  color: var(--ink);
  text-underline-offset: 2px;
}

.cv-card.dark {
  background: #111;
  color: #f4f4f2;
  border-color: #111;
}

.cv-card.dark p { color: rgba(244, 244, 242, 0.75); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  background: #111;
  color: #f5f5f3;
  border: 1px solid #111;
  font-family: inherit;
  cursor: pointer;
}

.btn.light {
  background: #f5f5f3;
  color: #111;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn[data-examples-toggle] {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 10px;
}

.btn[data-examples-toggle]:hover,
.btn[data-examples-toggle]:focus-visible {
  background: #222;
  color: #fff;
  transform: translateY(-1px);
}

.example-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 8px 0;
}

.disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 62ch;
}

.supplement {
  margin: 14px 0 0;
  font-size: 14px;
}

.supplement a { text-underline-offset: 2px; }

.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.cv-card.dark .btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cv-card.dark .btn.ghost:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.examples-panel {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.examples-panel[hidden] { display: none; }

.example-item + .example-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.example-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.example-item p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.example-item a { display: inline-block; margin-right: 10px; font-size: 13.5px; }

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; }

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .portal-link { margin-left: 0; }
}

@media (min-width: 700px) {
  .link-cards,
  .cv-grid { grid-template-columns: 1fr 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .pharma-grid { grid-template-columns: 1fr 1fr; }
}
