/* =========================================================
   Burns Life Sciences Consulting — site styles
   ========================================================= */

@font-face {
  font-family: "Codec Pro";
  src: url("assets/fonts/CodecPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Codec Pro";
  src: url("assets/fonts/CodecPro-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/ChakraPetch-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/ChakraPetch-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/ChakraPetch-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/ChakraPetch-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #5dff6d;
  --green-soft: #8fffa0;
  --indigo: #6b5cff;       /* primary brand purple */
  --indigo-deep: #4a3eff;
  --indigo-soft: #a39bff;
  --indigo-glow: rgba(107, 92, 255, 0.55);
  --ink: #0d0f12;
  --ink-2: #14171c;
  --ink-3: #1c2027;
  --ink-4: #262a32;
  --paper: #0d0f12;        /* alias for body bg */
  --rule: rgba(255,255,255,0.08);
  --rule-strong: rgba(255,255,255,0.14);
  --text: #ececec;
  --text-soft: rgba(255,255,255,0.78);
  --muted: rgba(255,255,255,0.55);
  --max: 1180px;
  --pad-x: clamp(20px, 4vw, 56px);
  --display: "Chakra Petch", system-ui, sans-serif;
  --body: "Codec Pro", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
::selection { background: var(--green); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px;
  background: var(--green); color: var(--ink);
  padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  transition: background .25s ease, backdrop-filter .25s ease, padding .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(13, 15, 18, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(255,255,255,0.06);
  padding-top: 10px; padding-bottom: 10px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  transition: width .25s ease, height .25s ease;
}
.nav-scrolled .nav-brand img { width: 36px; height: 36px; }
.nav-brand span { display: none; }
@media (min-width: 720px) { .nav-brand span { display: inline; } }

.nav-links {
  display: none;
  gap: 22px;
  align-items: center;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { color: rgba(255,255,255,0.78); transition: color .15s ease; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--green);
  color: var(--ink) !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-soft); }
@media (min-width: 960px) { .nav-links { display: flex; } }

/* =========================================================
   Hero (dark)
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 130px var(--pad-x) 150px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -20% auto -20%;
  height: 80vmin;
  background:
    radial-gradient(closest-side at 70% 40%, var(--indigo-glow), transparent 65%),
    radial-gradient(closest-side at 25% 60%, rgba(107, 92, 255, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -15% -10%;
  height: 55vmin;
  background:
    radial-gradient(closest-side at 30% 50%, rgba(93, 255, 109, 0.25), transparent 70%),
    radial-gradient(closest-side at 80% 60%, rgba(107, 92, 255, 0.30), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--green);
  margin: 0 0 20px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: clamp(30px, 5vw, 58px);
  margin: 0 auto 28px;
  max-width: 26ch;
  text-transform: none;
  text-wrap: balance;
}
.hero h1 .accent { color: inherit; }
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  max-width: 60ch;
  color: rgba(255,255,255,0.92);
  margin: 0 auto 18px;
}
.sub {
  max-width: 62ch;
  color: rgba(255,255,255,0.65);
  margin: 0 auto 36px;
  font-size: 16px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 6px 30px -10px rgba(93, 255, 109, 0.55);
}
.btn-primary:hover { background: var(--green-soft); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; }
.btn-large { padding: 18px 28px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.3; }

@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
}

/* Decorative equalizer bars at the bottom of the hero */
.hero-bars {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding: 0 var(--pad-x);
  height: 90px;
  pointer-events: none;
  opacity: 0.7;
}
.hero-bars span {
  flex: 1;
  background: var(--green);
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
}
.hero-bars span:nth-child(1)  { height: 28%; }
.hero-bars span:nth-child(2)  { height: 70%; }
.hero-bars span:nth-child(3)  { height: 45%; }
.hero-bars span:nth-child(4)  { height: 88%; }
.hero-bars span:nth-child(5)  { height: 22%; }
.hero-bars span:nth-child(6)  { height: 60%; }
.hero-bars span:nth-child(7)  { height: 38%; }
.hero-bars span:nth-child(8)  { height: 95%; }
.hero-bars span:nth-child(9)  { height: 32%; }
.hero-bars span:nth-child(10) { height: 55%; }
.hero-bars span:nth-child(11) { height: 18%; }
.hero-bars span:nth-child(12) { height: 75%; }
.hero-bars span:nth-child(13) { height: 42%; }
.hero-bars span:nth-child(14) { height: 64%; }
.hero-bars span:nth-child(15) { height: 28%; }
.hero-bars span:nth-child(16) { height: 80%; }
.hero-bars span:nth-child(17) { height: 35%; }
.hero-bars span:nth-child(18) { height: 50%; }
.hero-bars span:nth-child(19) { height: 92%; }
.hero-bars span:nth-child(20) { height: 25%; }
.hero-bars span:nth-child(21) { height: 68%; }
.hero-bars span:nth-child(22) { height: 40%; }
.hero-bars span:nth-child(23) { height: 58%; }
.hero-bars span:nth-child(24) { height: 30%; }
.hero-bars span:nth-child(25) { height: 85%; }
.hero-bars span:nth-child(26) { height: 22%; }
.hero-bars span:nth-child(27) { height: 72%; }
.hero-bars span:nth-child(28) { height: 48%; }
.hero-bars span:nth-child(29) { height: 38%; }
.hero-bars span:nth-child(30) { height: 65%; }
.hero-bars span:nth-child(31) { height: 26%; }
.hero-bars span:nth-child(32) { height: 78%; }
.hero-bars span:nth-child(33) { height: 44%; }
.hero-bars span:nth-child(34) { height: 56%; }
.hero-bars span:nth-child(35) { height: 90%; }
.hero-bars span:nth-child(36) { height: 32%; }
.hero-bars span:nth-child(37) { height: 60%; }
.hero-bars span:nth-child(38) { height: 38%; }
.hero-bars span:nth-child(39) { height: 70%; }
.hero-bars span:nth-child(40) { height: 25%; }

/* =========================================================
   Sections (dark)
   ========================================================= */
.section {
  padding: 100px 0;
  background: var(--ink);
  border-top: 1px solid var(--rule);
  color: var(--text);
}
.section:first-of-type { border-top: none; }
.section-alt { background: var(--ink-2); }
.kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--green);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}
.section-frontier .kicker, .section-who .kicker, .section-team .kicker, .section-contact .kicker {
  color: var(--indigo-soft);
}
.section-frontier .kicker::before, .section-who .kicker::before, .section-team .kicker::before, .section-contact .kicker::before {
  background: var(--green);
}
.section h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.15;
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 26ch;
  margin: 0 0 36px;
  color: #ffffff;
}
.section h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.005em;
  margin: 0 0 12px;
  color: #fff;
}
.closer {
  margin-top: 28px;
  max-width: 70ch;
  font-size: 17px;
  color: var(--text-soft);
}
.closer strong { color: var(--green); font-weight: 600; }

/* Frontier */
.section-frontier { background: var(--ink-2); }
.frontier-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 28px;
  margin: 8px 0 0;
  counter-reset: q;
}
@media (min-width: 760px) {
  .frontier-list { grid-template-columns: 1fr 1fr; }
}
.frontier-list li {
  position: relative;
  padding: 18px 18px 18px 56px;
  background: var(--ink-3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--text);
}
.frontier-list li::before {
  counter-increment: q;
  content: counter(q, decimal-leading-zero);
  position: absolute;
  left: 16px; top: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--indigo-soft);
  background: rgba(107, 92, 255, 0.14);
  padding: 4px 8px;
  border-radius: 6px;
}

/* What we do — capability chips */
.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.capabilities span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--ink-3);
  color: var(--text);
}
.capabilities span:nth-child(odd) {
  background: transparent;
  color: var(--green);
  border-color: rgba(93, 255, 109, 0.35);
}

/* Who we help */
.section-who { background: var(--ink-2); }
.who-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }

.who-card {
  background: var(--ink-3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.who-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.6);
  border-color: var(--rule-strong);
}
.who-card h3 { font-size: 22px; }
.who-card p { margin: 0 0 16px; color: var(--text-soft); }
.who-card .label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--green);
  margin: 18px 0 8px;
}
.who-card ul li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 15.5px;
  color: var(--text);
}
.who-card ul li:last-child { border-bottom: none; }
.who-card .questions li {
  border: none;
  padding: 6px 0 6px 18px;
  position: relative;
  color: var(--muted);
  font-style: italic;
}
.who-card .questions li::before {
  content: "›";
  position: absolute;
  left: 0; top: 5px;
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

/* Engagements */
.engagements {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .engagements { grid-template-columns: 1fr 1fr; }
}
.eng-card {
  background: var(--ink-3);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.eng-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(closest-side, rgba(107, 92, 255, 0.30), transparent 70%);
  pointer-events: none;
}
.eng-card:nth-child(even)::after {
  background: radial-gradient(closest-side, rgba(93, 255, 109, 0.20), transparent 70%);
}
.eng-card-wide { grid-column: 1 / -1; }
.eng-card header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 16px;
}
.eng-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.12em;
}
.eng-card h3 { font-size: 22px; margin: 0; color: #fff; }
.eng-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
}
.eng-card .label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--green);
  margin: 16px 0 8px;
}
.eng-card ul li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15.5px;
  color: rgba(255,255,255,0.86);
}
.eng-card ul li:last-child { border-bottom: none; }

/* Team */
.section-team { background: var(--ink-2); }
.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card {
  background: var(--ink-3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
}
.team-card h3 { font-size: 24px; margin: 0 0 12px; color: #fff; }
.team-card p { margin: 0 0 18px; color: var(--text-soft); }
.link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.link:hover { color: var(--green-soft); }

/* Testimonials */
.section-testimonials { background: var(--ink); }
.testimonials {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .testimonials { grid-template-columns: 1fr 1fr; }
}
.quote {
  margin: 0;
  background: var(--ink-3);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  padding: 28px 28px 24px;
  border-radius: 12px;
}
.quote blockquote {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  quotes: "\201C" "\201D";
}
.quote blockquote::before { content: open-quote; color: var(--green); margin-right: 2px; }
.quote blockquote::after  { content: close-quote; color: var(--green); margin-left: 2px; }
.quote figcaption strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.quote figcaption span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* Contact */
.section-contact { background: var(--ink-2); }
.contact-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}
.lede-light {
  font-size: 17.5px;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 12px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ink-3);
  border: 1px solid var(--rule);
  color: #fff;
  padding: 32px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.contact-actions::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(107, 92, 255, 0.35), transparent 70%);
  pointer-events: none;
}
.contact-actions .btn-primary { align-self: flex-start; max-width: 100%; }
.contact-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  transition: color .15s ease;
}
.contact-link:hover { color: var(--green); }
.contact-link span { color: var(--green); font-weight: 700; }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 36px;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  display: grid;
  gap: 20px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand links"
      "meta meta";
  }
  .footer-brand { grid-area: brand; }
  .footer-links { grid-area: links; }
  .footer-meta  { grid-area: meta; }
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.footer-brand img { width: 28px; height: 28px; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 18px 22px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--green); }
.footer-meta {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
