/* Orcenta Therapeutics — Restrained Institutional Biotech Stylesheet */

:root {
  --bg: #F8F8F5;
  --surface: #FFFFFF;
  --ink: #0E1C36;
  --ink-2: #3F4E66;
  --ink-3: #6C7A8E;
  --rule: #DCE2EA;
  --rule-strong: #C5CFDC;
  --accent: #1B4D89;
  --accent-mid: #4B79B2;
  --accent-light: #A5BCD7;
  --navy-bg: #0E1C36;
  --navy-rule: rgba(255, 255, 255, 0.14);
  --max-w: 1120px;
  --gutter: clamp(24px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-sub {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

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

.nav .nav-contact {
  color: var(--ink);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
}

.nav .nav-contact:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Split Editorial Hero */
.hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px 0;
}

.hero h1 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.09;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 24px 0;
  max-width: 17ch;
}

.hero-lead {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 30px 0;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-status {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* Macro Microscopy Plate */
.hero-plate {
  margin: 0;
}

.plate-img-wrap {
  position: relative;
  background: #05080F;
  border: 1px solid var(--ink);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.plate-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.plate-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
}

.plate-caption span:last-child {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Metadata Strip */
.meta-strip {
  margin-top: clamp(44px, 5.5vw, 68px);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.meta-cell {
  padding: 20px 22px 20px 0;
  border-right: 1px solid var(--rule);
}

.meta-cell:not(:first-child) {
  padding-left: 22px;
}

.meta-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.meta-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}

.meta-value {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

/* Architectural Sections */
.section {
  padding-block: clamp(60px, 7.5vw, 96px);
  border-top: 1px solid var(--rule);
}

.section-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section-index {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 8px;
}

.section-index strong {
  color: var(--accent);
  font-weight: 500;
  margin-right: 8px;
}

.section h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 22px 0;
  max-width: 26ch;
}

.prose {
  max-width: 64ch;
}

.prose p {
  margin: 0 0 16px 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.72;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Epidemiology Figures */
.stats-row {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.stat-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(32px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.stat-src {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-3);
}

/* Biotech Pipeline Table */
.pipeline-table {
  margin-top: 34px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--surface);
}

.pipe-header {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(0, 0.65fr));
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pipe-header div:not(:first-child) {
  text-align: center;
}

.pipe-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(0, 2.6fr);
  padding: 18px 18px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  gap: 16px;
}

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

.pipe-name strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.pipe-name span {
  display: block;
  font-size: 12.8px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.4;
}

.pipe-track {
  position: relative;
  height: 28px;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent calc(25% - 1px),
    var(--rule) calc(25% - 1px),
    var(--rule) 25%
  );
  display: flex;
  align-items: center;
}

.pipe-bar {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.bar-lead {
  width: 46%;
  background: var(--accent);
}

.bar-exp {
  width: 29%;
  background: var(--accent-mid);
}

.bar-p2 {
  width: 24%;
  background: var(--accent-light);
}

.bar-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.bar-p2 .bar-tag {
  color: var(--ink);
}

.pipe-footnote {
  margin: 12px 0 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* Platform & Strategy Rows */
.pillars {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
}

.pillar-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.pillar-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.pillar-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Team Grid (Spacious 2x2) */
.team-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
}

.member {
  display: flex;
  flex-direction: column;
}

.member-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #ECEFF4;
  border: 1px solid var(--rule-strong);
  margin-bottom: 16px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.member-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.member-role {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px 0;
}

.member-bio {
  font-size: 13.8px;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 0;
}

/* Footer / Contact */
.site-footer {
  background: var(--navy-bg);
  color: #F4F6F9;
  padding-top: clamp(60px, 7vw, 88px);
  padding-bottom: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--navy-rule);
}

.footer-index {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.55);
  padding-top: 8px;
}

.footer-main h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px 0;
  color: #FFFFFF;
}

.footer-lead {
  font-size: 16px;
  color: rgba(244, 246, 249, 0.76);
  max-width: 56ch;
  margin: 0 0 32px 0;
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 32px;
}

.contact-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.52);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 15.5px;
  color: #FFFFFF;
  line-height: 1.55;
}

.contact-value a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.contact-value a:hover {
  border-bottom-color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(244, 246, 249, 0.52);
}

.footer-disclaimer {
  max-width: 72ch;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-split,
  .section-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-cell:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .meta-cell:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }

  .meta-cell:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 680px) {
  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand-mark {
    font-size: 13.5px;
    letter-spacing: 0.14em;
  }

  .brand-sub {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 12.5px;
  }

  .nav a[href="#platform"] {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.13;
    max-width: 100%;
  }

  .section h2,
  .footer-main h2 {
    max-width: 100%;
  }

  .meta-strip,
  .stats-row,
  .pillar-row,
  .team-grid,
  .contact-columns {
    grid-template-columns: 1fr;
  }

  .pipe-header {
    display: none;
  }

  .pipe-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .meta-cell {
    padding: 16px 0 !important;
    border-right: none;
    border-top: 1px solid var(--rule);
  }

  .meta-cell:first-child {
    border-top: none;
  }

  .pillar-row {
    gap: 8px;
  }

  .plate-caption,
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}
