/* ─────────────────────────────────────────────
   Levin Life Sciences Consulting — levinlsc.css
   ───────────────────────────────────────────── */

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

:root {
  --ink:    #0b0d0b;
  --paper:  #f7f5ef;
  --green:  #2ee87a;
  --green2: #1ab85c;
  --muted: #E7E1D0;
  --surface: rgba(247,245,239,0.04);
  --border:  rgba(46,232,122,0.15);
}

html, body {
  height: 100%;
  font-family: 'IBM Plex Mono', monospace;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46,232,122,0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(46,232,122,0.04) 1px, transparent 1px);
  background-size: 100% 38px;
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

/* ── MAIN ── */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 3rem;
}

.kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2rem;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.8rem;
  max-width: 18ch;
}

h1 em {
  font-style: italic;
  color: var(--green);
}

.subhead {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(247,245,239,0.92);
  max-width: 52ch;
  margin-bottom: 3.5rem;
}

.subhead strong {
  font-weight: 500;
  color: #ffffff;
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 3.5rem;
}

/* ── SERVICES ── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(46,232,122,0.12);
  border: 1px solid rgba(46,232,122,0.12);
  margin-bottom: 3.5rem;
}

.service {
  background: rgba(11,13,11,0.85);
  padding: 1.5rem 1.4rem;
}

.service-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.service-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(247,245,239,0.70);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* ── DECISION FRAMING PULL QUOTE ── */
.pull-quote {
  border-left: 2px solid var(--green);
  padding: 0.1rem 0 0.1rem 1.5rem;
  margin-bottom: 3rem;
}

.pull-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--paper);
  max-width: 50ch;
}

.pull-quote cite {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* ── DECISION STAKES GRID ── */
.decisions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3.5rem;
}

.decision-card {
  background: rgba(11,13,11,0.90);
  padding: 1.5rem 1.4rem;
  position: relative;
}

.decision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(46,232,122,0.0);
  transition: background 0.3s;
}

.decision-card:hover::before {
  background: rgba(46,232,122,0.45);
}

.decision-q {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.decision-stakes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.stake-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.stake-label {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 4.5rem;
  flex-shrink: 0;
}

.stake-value {
  font-size: 11px;
  font-weight: 300;
  color: rgba(247,245,239,0.75);
  line-height: 1.4;
}

.stake-value.danger {
  color: rgba(255,120,80,0.85);
  font-weight: 400;
}

/* ── COST ANCHOR SECTION ── */
.cost-anchor {
  margin-bottom: 3.5rem;
}

.cost-intro {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247,245,239,0.75);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.cost-intro strong {
  font-weight: 400;
  color: var(--paper);
}

/* Alternatives comparison */
.alternatives {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.alt-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 0;
  background: rgba(11,13,11,0.90);
}

.alt-row.header-row {
  background: rgba(46,232,122,0.05);
}

.alt-cell {
  padding: 1rem 1.2rem;
  font-size: 11px;
  font-weight: 300;
  color: rgba(247,245,239,0.72);
  line-height: 1.5;
  border-right: 1px solid var(--border);
}

.alt-cell:last-child {
  border-right: none;
}

.alt-cell.header {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 1.2rem;
}

.alt-cell strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 0.2rem;
}

.alt-cell .cost-num {
  font-weight: 400;
  color: rgba(247,245,239,0.9);
}

.alt-row.highlight-row {
  background: rgba(46,232,122,0.06);
}

.alt-row.highlight-row .alt-cell {
  color: rgba(247,245,239,0.85);
}

.alt-row.highlight-row .alt-cell strong {
  color: var(--green);
}

.alt-row.highlight-row .alt-cell .cost-num {
  color: var(--green);
}

/* FTE city table */
.fte-table-wrap {
  overflow-x: auto;
}

.fte-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.fte-table th {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.65rem 1.1rem;
  text-align: left;
  background: rgba(46,232,122,0.05);
  border-bottom: 1px solid var(--border);
}

.fte-table td {
  font-size: 11px;
  font-weight: 300;
  color: rgba(247,245,239,0.78);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(46,232,122,0.07);
  line-height: 1.4;
}

.fte-table td:first-child {
  font-weight: 400;
  color: var(--paper);
}

.fte-table td.green {
  color: var(--green);
  font-weight: 400;
}

.fte-table tr:last-child td {
  border-bottom: none;
}

.table-note {
  font-size: 9px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}



/* ── CTA ── */
.notify-block { margin-bottom: 1rem; }

.notify-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--green2); }

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(46,232,122,0.35);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.cta-btn-outline:hover {
  border-color: var(--green);
  color: var(--paper);
}

.cta-secondary {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cta-secondary:hover { color: var(--green); }

/* ── FOOTER ── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.tagline {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(247,245,239,0.35);
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

.mono-bg {
  position: fixed;
  right: -4vw;
  bottom: -2vh;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18rem, 30vw, 28rem);
  font-weight: 400;
  color: rgba(46,232,122,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

  /* ── Case Study ──────────────────────────────────── */
  .section-kicker {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.2rem;
    display: block;
  }

  .case-study {
    margin-bottom: 3.5rem;
  }

  .case-study-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 400;
    color: var(--paper);
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .case-study-context {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(247,245,239,0.55);
    margin-bottom: 1.8rem;
    letter-spacing: 0.01em;
  }

  .cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(46,232,122,0.12);
    border: 1px solid rgba(46,232,122,0.12);
  }

  .cs-col {
    background: rgba(11,13,11,0.85);
    padding: 1.5rem 1.4rem;
  }

  .cs-label {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
    display: block;
  }

  .cs-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(247,245,239,0.80);
  }

  .cs-outcome {
    color: var(--paper);
    font-weight: 400;
  }

  .cs-outcome em {
    color: var(--green);
    font-style: normal;
  }

  /* ── Testimonials ─────────────────────────────────── */
  .testimonials {
    margin-bottom: 3.5rem;
  }

  .testimonial-featured {
    border: 1px solid rgba(46,232,122,0.18);
    padding: 2.2rem 2rem 2rem;
    margin-bottom: 1px;
    background: rgba(11,13,11,0.60);
    position: relative;
  }

  .quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    line-height: 0.6;
    color: var(--green);
    opacity: 0.35;
    display: block;
    margin-bottom: 1.2rem;
    user-select: none;
  }

  .quote-pull {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    line-height: 1.3;
    color: var(--paper);
    margin-bottom: 1.4rem;
  }

  .quote-body {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(247,245,239,0.68);
    max-width: 68ch;
    margin-bottom: 1.6rem;
    border-left: 2px solid rgba(46,232,122,0.25);
    padding-left: 1.2rem;
  }

  .quote-attr {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .quote-attr strong {
    color: var(--green);
    font-weight: 500;
  }

  .testimonial-secondary {
    border: 1px solid rgba(46,232,122,0.10);
    border-top: none;
    padding: 1.6rem 2rem;
    background: rgba(11,13,11,0.40);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }

  .secondary-bar {
    width: 2px;
    min-height: 100%;
    background: rgba(46,232,122,0.18);
    flex-shrink: 0;
    align-self: stretch;
  }

  .secondary-content {}

  .secondary-quote {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(247,245,239,0.70);
    margin-bottom: 0.9rem;
  }

  .secondary-attr {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .secondary-attr strong {
    color: rgba(247,245,239,0.55);
    font-weight: 500;
  }


/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .services   { grid-template-columns: 1fr; }
  .decisions  { grid-template-columns: 1fr; }
  .alt-row    { grid-template-columns: 1fr; }
  .alt-cell   { border-right: none; border-bottom: 1px solid var(--border); }
  .alt-cell:last-child { border-bottom: none; }
  .cs-grid { grid-template-columns: 1fr; }
  .testimonial-secondary { flex-direction: column; gap: 1rem; }
  footer      { flex-direction: column; gap: 0.75rem; }
}
