/* ============================================================
   SummitBridge Talent — styles.css
   Modern biotech: deep navy + teal, bright accent, whitespace
   ============================================================ */

:root {
  --navy-900: #071a2e;
  --navy-800: #0b2540;
  --navy-700: #12365a;
  --navy-600: #1b4a76;
  --teal: #2fd4c6;
  --teal-deep: #13a99b;
  --accent: #6ee7ff;
  --ink: #0e2033;
  --slate: #4a5b6e;
  --muted: #6b7c90;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-alt: #f0f5fa;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 64, 0.06), 0 1px 2px rgba(11, 37, 64, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 37, 64, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 37, 64, 0.28);
  --maxw: 1140px;

  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-900); }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #052a2a; box-shadow: 0 8px 22px -8px rgba(19, 169, 155, 0.6);
}
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(19, 169, 155, 0.7); }
.btn-ghost {
  background: transparent; color: var(--navy-800); border-color: rgba(11,37,64,.16);
}
.btn-ghost:hover { border-color: var(--navy-800); background: rgba(11,37,64,.03); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy-900); letter-spacing: -0.02em; }
.brand-sub { color: var(--teal-deep); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--navy-800); font-size: 0.97rem; }
.nav-links a:not(.btn):hover { color: var(--teal-deep); text-decoration: none; }
.nav-cta { padding: 9px 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .25s; }

.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: 12px 4px; color: var(--navy-800); font-weight: 500; border-bottom: 1px solid var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,212,198,.14), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg-soft) 100%);
  padding: 76px 0 92px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 15% 90%, rgba(110,231,255,.10), transparent 70%);
}
.hero-inner { position: relative; max-width: 880px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--teal-deep); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); margin: 0 0 22px; font-weight: 700; }
.grad {
  background: linear-gradient(120deg, var(--teal-deep), var(--navy-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--slate); max-width: 680px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 44px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy-900); line-height: 1; }
.hero-stats dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; max-width: 160px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-900); color: #cfe0ee; padding: 26px 0; }
.trust-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #7fa6c7; margin: 0 0 14px; }
.trust-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; }
.trust-tags li { font-weight: 500; font-size: .96rem; color: #d6e6f3; position: relative; }
.trust-tags li::before { content: "◆"; color: var(--teal); margin-right: 9px; font-size: .6rem; vertical-align: middle; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 16px; }
.section-sub { color: var(--slate); font-size: 1.08rem; margin: 0; }

/* ---------- Specialty cards ---------- */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(47,212,198,.5); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(47,212,198,.16), rgba(110,231,255,.12));
}
.card h3 { font-size: 1.22rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--slate); font-size: .98rem; }

/* ---------- Who we are / About ---------- */
.about { position: relative; overflow: hidden; }
.about-inner { max-width: 820px; }
.about-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 20px; }
.about-lede { font-size: clamp(1.1rem, 2.1vw, 1.32rem); color: var(--navy-800); margin: 0 0 18px; line-height: 1.55; }
.about-lede strong { color: var(--teal-deep); }
.about-body { color: var(--slate); font-size: 1.06rem; margin: 0 0 30px; }
.about-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.about-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy-900);
  padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(47,212,198,.14), rgba(110,231,255,.10));
  border: 1px solid rgba(47,212,198,.35);
}

/* ---------- Split (clients / candidates) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 14px 0 16px; }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--slate); }
.checks li strong { color: var(--navy-900); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 999px;
  background: rgba(47,212,198,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2313a99b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.split-panel { display: flex; }
.panel-card {
  width: 100%;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #e6f0f9; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.panel-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,212,198,.35), transparent 70%);
}
.panel-card h3 { color: #fff; font-size: 1.15rem; margin: 0 0 20px; position: relative; }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; position: relative; }
.role-list li { padding-left: 26px; position: relative; color: #c7d8e8; font-size: .98rem; }
.role-list li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  position: relative; box-shadow: var(--shadow-sm);
}
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--teal-deep); letter-spacing: .05em; }
.step h3 { font-size: 1.18rem; margin: 12px 0 8px; }
.step p { margin: 0; color: var(--slate); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 14px 0 16px; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-points li { color: var(--slate); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 7px; color: var(--navy-900); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-deep); background: #fff;
  box-shadow: 0 0 0 3px rgba(47,212,198,.18);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9cde0; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin: 12px 0 0; color: #8fabc6; max-width: 280px; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.footer-nav a { color: #c7d8e8; font-weight: 500; }
.footer-nav a:hover { color: var(--teal); text-decoration: none; }
.footer-legal { padding-top: 22px; }
.footer-legal p { margin: 0; font-size: .85rem; color: #7fa6c7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-copy { order: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 68px; }
  .hero-stats { gap: 28px; }
  .contact-form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
