/* Forward Talent - Energetic Gradient redesign */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #212824;
  --bg-raised: #2C3531;
  --bg-raised-2: #37413D;
  --line: #495650;
  --line-soft: #3A4642;
  --ink: #E9F3F0;
  --muted: #93A6A0;
  --muted-2: #BFD1CC;
  --accent-1: #FFCB9A;
  --accent-2: #116466;
  --accent-3: #D9B08C;
  --on-accent: #1B2320;
  --gradient: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  --max: 1800px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
}

/* ---------- Nav ---------- */

.site-header { padding: 32px 0; position: relative; z-index: 20; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__logo img { height: 51px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 36px; font-size: 14.5px; color: var(--muted-2); }
.nav__links a { transition: color 0.15s ease; }
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  background: var(--accent-1);
  color: var(--on-accent);
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  padding: 32px 24px;
}
.mobile-menu.is-open { display: block; }
.mobile-nav-logo img { height: 28px; margin-bottom: 48px; }
.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-text {
  color: var(--muted-2);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 10px 0;
}
.mobile-social { margin-top: 40px; }
.mobile-social img { width: 22px; filter: invert(1); }

/* ---------- Glow backgrounds ---------- */

.glow-field { position: relative; }

.glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; z-index: 0; }

.glow--top-right {
  top: -450px; right: -390px;
  width: clamp(960px, 82.5vw, 1800px);
  height: clamp(960px, 82.5vw, 1800px);
  background: radial-gradient(circle at 35% 35%, var(--accent-1) 0%, var(--accent-2) 55%, rgba(17,100,102,0) 75%);
  opacity: 0.35;
}
.glow--mid-left {
  top: 420px; left: -200px; width: 480px; height: 480px;
  background: radial-gradient(circle at 50% 50%, var(--accent-2) 0%, rgba(17,100,102,0) 70%);
  opacity: 0.28;
}

.glow-field > .container { position: relative; z-index: 1; }

/* ---------- Hero / page header ---------- */

.hero { padding: 64px 0 96px; }
.page-header { padding: 56px 0 72px; }

.hero h1 { margin-bottom: 40px; }

.hero-tagline {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px 0;
  max-width: 640px;
}

.hero-wordmark {
  display: block;
  width: clamp(260px, 34vw, 440px);
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: hero-wordmark-reveal 3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes hero-wordmark-reveal {
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wordmark { animation: none; clip-path: inset(0 0 0 0); }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 24px;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }

h1 { font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.03; letter-spacing: -1.5px; margin-bottom: 28px; max-width: 900px; }

.lede { font-size: 17px; line-height: 1.7; color: var(--muted-2); max-width: 960px; margin: 0 0 40px 0; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; font-size: 14px; font-weight: 600; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn--primary { background: var(--accent-1); color: var(--on-accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); }

.page-header h1 { max-width: 960px; }
.page-header .lede { max-width: 960px; }

/* ---------- Sections ---------- */

section { position: relative; padding: 88px 0; }
section.tight { padding: 56px 0; }

@media (max-width: 700px) {
  .hero { padding: 40px 0 48px; }
  .page-header { padding: 32px 0 40px; }
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }
}

.section-head { margin-bottom: 56px; max-width: 960px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.5px; margin: 0 0 16px 0; }
.section-head h2.accent-heading { color: var(--accent-1); }
.section-head p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }

.prose p { font-size: 16px; line-height: 1.75; color: var(--muted-2); margin: 0 0 20px 0; max-width: 960px; }
.prose p:last-child { margin-bottom: 0; }

/* Pull-quote: an oversized lead statement used to break up dense text sections */
.pull-quote {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 960px;
  margin: 0 0 32px 0;
}
.pull-quote .accent-text { color: var(--accent-1); }

/* Tag row: pulls out key terms as scannable pills instead of leaving them buried in prose */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 40px 0; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 13px;
  color: var(--muted-2);
}

/* Stat callout: a single number pulled out as a visual anchor */
.stat-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 960px; margin: 0 0 40px 0; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 80px; font-weight: 700; color: var(--accent-1); line-height: 1; margin-bottom: 16px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--muted); max-width: 220px; }

/* Two-column flow for long-form copy, instead of one long stacked column */
.prose.columns { column-count: 2; column-gap: 48px; max-width: 960px; }
.prose.columns p { break-inside: avoid; -webkit-column-break-inside: avoid; }

@media (max-width: 760px) {
  .prose.columns { column-count: 1; }
  .stat-row { flex-direction: column; gap: 24px; }
}

.section-head.wide { max-width: none; }
.prose.wide p { max-width: none; }

/* ---------- Cards / grid ---------- */

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line-soft); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  max-width: 960px;
}
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-3.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--bg-raised); padding: 44px 36px; }
.card__bar { width: 36px; height: 3px; background: var(--gradient); margin-bottom: 24px; border-radius: 2px; }
.card h3 { font-size: 20px; margin: 0 0 12px 0; }
.card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.service-block {
  padding: 56px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
}
@media (max-width: 760px) { .service-block { grid-template-columns: 1fr; gap: 20px; } }
.service-block h3 { font-size: 26px; margin: 0 0 4px 0; }
.service-block .tagline { font-size: 17px; color: var(--muted-2); margin: 0 0 16px 0; font-weight: 500; }
.service-block p.body { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin: 0; max-width: 960px; }

/* ---------- Team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card img { width: 50%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; margin: 32px auto 0; }

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: repeating-linear-gradient(45deg, var(--bg-raised-2), var(--bg-raised-2) 10px, var(--bg) 10px, var(--bg) 20px);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  border-radius: var(--radius);
}
.team-card__body { padding: 32px; }

.network-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .network-block { grid-template-columns: 1fr; } }
.team-card h2 { font-size: 21px; margin: 0 0 4px 0; }
.team-card .role { font-size: 14px; color: var(--accent-1); margin: 0 0 18px 0; font-weight: 500; }
.team-card p.bio { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 0 0 14px 0; }
.team-card p.bio:last-child { margin-bottom: 0; }
.team-card p.bio-lead { font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink); }

/* ---------- Jobs ---------- */

.jobs-widget-wrap { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 320px; }
.jobs-widget-wrap, .jobs-widget-wrap * { color-scheme: dark; }

/* JobAdder widget: render the job list as a tile grid.
   Structure confirmed against a live rendered listing:
   .ja-job-list-container > .ja-job-list > .job > (h2.title > a, div.meta > ul.classifications > li, p.summary, a.view-details) */
.ja-job-list-container { color: var(--muted-2); }
.ja-job-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  justify-content: start;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.ja-job-list .job {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.ja-job-list .title { font-size: 17px; font-weight: 600; margin: 0 0 12px 0; }
.ja-job-list .title a { color: var(--ink); }
.ja-job-list .title a:hover { color: var(--accent-1); }
.ja-job-list .meta { margin-bottom: 12px; }
.ja-job-list .classifications {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.ja-job-list .classifications li {
  font-size: 12.5px; color: var(--muted-2);
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 100px; padding: 4px 12px;
}
.ja-job-list .summary {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  margin: 0 0 16px 0; flex-grow: 1;
}
.ja-job-list .view-details {
  display: inline-flex; align-items: center; margin-top: auto;
  font-size: 13.5px; font-weight: 600; color: var(--accent-1);
}
.ja-job-list .view-details:hover { color: var(--accent-3); }
.no-jobs-content { color: var(--muted); font-size: 15px; text-align: center; padding: 40px 0; }
.powered-by-jobadder { font-size: 12px; color: var(--muted); opacity: 0.7; margin-top: 16px; }
.powered-by-jobadder a { color: var(--muted); }

/* ---------- Contact form ---------- */

.contact-form { max-width: 640px; }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: 15px; color: var(--muted-2); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; font-size: 15px; color: var(--ink); font-family: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-1); }
.field textarea { min-height: 120px; resize: vertical; }
.required-note { font-size: 13px; color: var(--muted); margin: 0 0 40px 0; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Newsletter ---------- */

.newsletter {
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.newsletter h2 { font-size: 26px; margin: 0 0 12px 0; }
.newsletter p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.newsletter-form { display: flex; gap: 12px; }
@media (max-width: 500px) { .newsletter-form { flex-direction: column; width: 100%; } }
.newsletter-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 16px; font-size: 14.5px; color: var(--ink); font-family: inherit;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent-1); }
.newsletter-form .btn { padding: 10px 22px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 48px; }
.footer-top img { height: 30px; width: auto; }
.footer-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted-2); flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted);
}
.footer-bottom a:hover { color: var(--ink); }
.social-icon { width: 18px; height: 18px; opacity: 0.7; }
.social-icon:hover { opacity: 1; }
