/*
Theme Name: SOSAC
Theme URI: https://sosac.io/
Author: SOSAC Consulting
Description: Custom theme for SOSAC IT staffing — boutique staffing design with navy/teal/coral system.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sosac
*/

:root {
  color-scheme: light;
  --ink: #0b1824;
  --muted: #465665;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --line: #cbd8d5;
  --teal: #087f78;
  --teal-strong: #006960;
  --teal-soft: #cdebe6;
  --coral: #f06b55;
  --coral-soft: #ffe0d9;
  --navy: #0c2836;
  --on-dark: #f5fbfa;
  --on-dark-muted: #b8ccc8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --radius-lg: 32px;
  --shadow: 0 18px 48px rgba(8, 38, 51, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  background: var(--navy);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .18s ease;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 3px 5px;
  border-radius: 4px;
}

.brand-logo {
  display: block;
  width: clamp(200px, 19vw, 260px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.button) {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: .92rem;
}

.nav-links a:hover { background: var(--teal-soft); }
.nav-links a[aria-current="page"] { background: var(--navy); color: var(--on-dark); }
.nav-links a.button { margin-left: 8px; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 7px;
  font-weight: 750;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }

.button.primary { background: var(--coral); color: #1f1210; }
.button.primary:hover { background: #ff7c65; }

.button.secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button.secondary:hover { border-color: var(--teal); }

.button.dark { background: var(--on-dark); color: #0b2732; }
.button.dark:hover { background: #dff5f1; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 680px;
  padding-block: clamp(64px, 9vw, 112px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .77rem;
  font-weight: 800;
  color: var(--teal-strong);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--coral);
  flex: 0 0 auto;
}

h1 em { color: var(--teal-strong); font-style: normal; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 6.4vw, 5.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 730px;
}

.subpage-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 900px;
}

.lede { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 650px; }

.hero .lede { margin: 26px 0 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.hero-note { margin: 28px 0 0; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .9rem; }
.hero-note::before { content: ""; width: 42px; height: 1px; background: var(--line); flex: 0 0 auto; }

.talent-map {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(205, 235, 230, .16);
  border-radius: 34px 8px 34px 8px;
  background: #061d29;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.talent-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(119, 220, 209, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 220, 209, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
}
.talent-map::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -105px;
  bottom: -105px;
  border: 1px solid rgba(240, 107, 85, .5);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(240, 107, 85, .08), 0 0 0 96px rgba(240, 107, 85, .035);
  z-index: -1;
}

.tech-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tech-canvas .flow {
  fill: none;
  stroke: url(#flow-gradient);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 12 8;
  animation: data-flow 12s linear infinite;
}
.tech-canvas .flow.faint {
  opacity: .34;
  stroke-width: 1.2;
  animation-duration: 18s;
  animation-direction: reverse;
}
.tech-canvas .orbit { fill: none; stroke: rgba(119, 220, 209, .24); stroke-width: 1.4; }
.tech-canvas .orbit.dashed { stroke-dasharray: 5 10; stroke: rgba(245, 251, 250, .28); }
.tech-canvas .node { fill: #eefaf8; stroke: #087f78; stroke-width: 5; }
.tech-canvas .node-accent { fill: #f06b55; stroke: #ffd0c7; stroke-width: 5; }
.core-shell { fill: rgba(8, 127, 120, .22); stroke: #52c8bc; stroke-width: 1.6; }
.core-inner { fill: #0c2836; stroke: #f5fbfa; stroke-width: 1.4; }
.core-line { stroke: #52c8bc; stroke-width: 1.4; }
@keyframes data-flow { to { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) {
  .tech-canvas .flow { animation: none; }
}

.map-caption {
  position: absolute;
  top: 38px;
  left: 38px;
  color: var(--on-dark);
  z-index: 2;
}
.map-caption span {
  display: block;
  color: #77dcd1;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}
.map-caption strong {
  display: block;
  margin-top: 6px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

/* ---------- Principles ---------- */
.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle { padding: 28px clamp(12px, 3vw, 34px); min-height: 122px; }
.principle:first-child { padding-left: 0; }
.principle + .principle { border-left: 1px solid var(--line); }

.principle strong { display: block; font-size: 1.03rem; }
.principle p { display: block; margin: 4px 0 0; color: var(--muted); font-size: .91rem; }

/* Spacing the mockup gives sections following the principles row. */
#home-services { padding: clamp(76px, 10vw, 124px) 0; }

/* ---------- Section heads / services ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(300px, 1.18fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 4.8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 650px; }
/* Home services head: paragraph shares the headline's top edge instead of
   bottom-anchoring, so the gap reads as section breathing room. */
#home-services .section-head { align-items: start; }

.services-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 80px minmax(200px, .7fr) minmax(280px, 1.3fr);
  gap: 28px;
  align-items: center;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.service .num {
  color: var(--teal-strong);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
}

.service h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.service p { margin: 0; color: var(--muted); }

/* ---------- Disciplines (navy) ---------- */
.disciplines {
  background: var(--navy);
  color: var(--on-dark);
  padding: clamp(76px, 10vw, 124px) 0;
}

.disciplines .section-head h2 { color: var(--on-dark); }
.disciplines .section-head p { color: var(--on-dark-muted); }

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.discipline {
  min-height: 158px;
  padding: 24px;
  border: 1px solid rgba(205, 235, 230, .2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.discipline:nth-child(1), .discipline:nth-child(2) { grid-column: span 3; }
.discipline:nth-child(3), .discipline:nth-child(4), .discipline:nth-child(5) { grid-column: span 2; }

.discipline .mark {
  width: 28px;
  height: 4px;
  background: var(--coral);
}

.discipline b { display: block; font-size: 1.08rem; margin-bottom: 6px; color: var(--on-dark); }
.discipline span { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- Specialty ---------- */
.specialty {
  display: grid;
  grid-template-columns: minmax(310px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: center;
  padding: clamp(76px, 10vw, 124px) 0;
}

.specialty-visual {
  display: grid;
  place-items: center;
  min-height: 470px;
  background: var(--teal-soft);
  overflow: hidden;
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  padding: clamp(16px, 3vw, 32px);
}
.specialty-visual .pipeline {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}

.specialty-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 4.8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 16px;
}
.specialty-copy > p { color: var(--muted); font-size: 1.08rem; margin: 23px 0 0; }

.proof-list { margin: 30px 0 0; padding: 0; list-style: none; }
.proof-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.proof-list li::before { content: "✓"; color: var(--teal-strong); font-weight: 900; }

/* ---------- Process ---------- */
.process { background: var(--surface); padding: clamp(76px, 10vw, 124px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 0 34px; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step + .step { border-left: 1px solid var(--line); }
.step .num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--coral-soft);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 850;
}
.step h3 { margin-top: 22px; font-size: 1.35rem; }
.step p { color: var(--muted); margin: 12px 0 0; }

/* ---------- Two paths ---------- */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(70px, 9vw, 110px) 0;
}

.path {
  min-height: 320px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 0 32px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.path:last-child { border-radius: 32px 0 32px 0; }
.path:first-child { background: var(--teal-soft); }
.path:last-child { background: var(--coral-soft); }
.path .eyebrow { color: var(--teal-strong); margin: 0; }
.path:last-child .eyebrow { color: #b34a36; }
.path h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 14px; max-width: 430px; }
.path > div > p:last-child { color: var(--muted); margin: 0; }
.path .button { align-self: start; }
.path p { margin: 0; color: var(--muted); }
.path .button { justify-self: start; margin-top: 10px; }

/* ---------- Closing ---------- */
.closing { background: var(--navy); color: var(--on-dark); padding-block: 92px; }
.closing-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.closing h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.35rem, 4.8vw, 4.2rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; color: var(--on-dark); }
.closing p { color: var(--on-dark-muted); font-size: 1.08rem; margin: 18px 0 0; max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); border-top: 1px solid rgba(184, 204, 200, .18); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 84px;
  padding: 20px 0;
}
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 251, 250, .08);
  border: 1px solid rgba(184, 204, 200, .25);
  border-radius: 10px;
  padding: 6px 10px;
}
.footer-logo { display: block; height: 40px; width: auto; }
.footer-tagline { color: var(--on-dark-muted); font-size: .92rem; }
.footer-links { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: .92rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--on-dark-muted); font-size: .85rem; flex-basis: 100%; margin: 0; }

/* ---------- Subpages ---------- */
.subpage-hero {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
  min-height: 500px;
  padding-block: clamp(84px, 12vw, 142px);
  border-bottom: 1px solid var(--line);
}
.subpage-hero .eyebrow { margin-top: 12px; }
.subpage-intro { max-width: none; }
.subpage-intro .lede { margin: 24px 0 0; }

.service-detail { display: grid; gap: 26px; padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px); }
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  align-items: start;
}
.detail-row .num { font-weight: 800; color: var(--teal-strong); letter-spacing: .1em; font-size: .85rem; }
.detail-row h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; margin: 8px 0 12px; }
.detail-row p { color: var(--muted); margin: 0; }
.detail-row ul { list-style: none; margin: calc(.85rem * 1.6 + 8px) 0 0; padding: 0; display: grid; gap: 12px; align-content: space-between; align-self: stretch; }
.detail-row ul li { position: relative; padding-left: 38px; font-weight: 600; font-size: 1.08rem; }
.detail-row ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800;
}

.page-band { background: var(--navy); color: var(--on-dark); padding: clamp(76px, 10vw, 124px) 0; }
.band-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, .85fr); gap: 40px clamp(50px, 9vw, 120px); align-items: start; }
.band-grid .eyebrow { grid-column: 1 / -1; color: #7fd8cd; margin: 0; }
.band-grid h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; color: var(--on-dark); }
.band-grid > p { color: var(--on-dark-muted); font-size: 1.08rem; margin: 0; align-self: end; }

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
  align-items: stretch;
}
.feature-panel {
  border-radius: 24px;
  padding: clamp(30px, 4vw, 48px);
}
.dark-panel { background: var(--navy); color: var(--on-dark); }
.dark-panel .eyebrow { color: #7fd8cd; }
.dark-panel h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 14px; color: var(--on-dark); }
.dark-panel p { color: var(--on-dark-muted); margin: 0 0 24px; }
.signal-list { display: flex; flex-wrap: wrap; gap: 10px; }
.signal {
  border: 1px solid rgba(184, 204, 200, .35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--on-dark);
}
.feature-copy { display: grid; grid-template-rows: auto 1fr; gap: clamp(18px, 2.5vw, 32px); align-content: start; padding-top: 8px; }
.feature-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; margin: 0; }
.number-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: space-evenly; counter-reset: steps; }
.number-list li { position: relative; padding-left: 48px; color: var(--muted); font-size: 1.06rem; line-height: 1.5; counter-increment: steps; }
.number-list li::before {
  content: counter(steps);
  position: absolute; left: 0; top: 1px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}

.brief-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0; }
.brief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brief-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  background: var(--paper);
  display: grid; gap: 8px; align-content: start;
}
.brief-grid .num { font-weight: 800; color: var(--teal-strong); letter-spacing: .1em; font-size: .85rem; }
.brief-grid h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0; }
.brief-grid p { margin: 0; color: var(--muted); }

.page-cta { padding-block: 82px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.page-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.page-cta p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.cta-pair { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Find work ---------- */
.candidate-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: stretch;
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
}
.candidate-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 14px; }
.candidate-copy > p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.role-board {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.role-board .board-label { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--on-dark-muted); margin: 0; }
.role-board .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.role-board .chip {
  background: rgba(245, 251, 250, .08);
  border: 1px solid rgba(184, 204, 200, .3);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--on-dark);
}
.candidate-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: clamp(16px, 3vw, 32px); }
.candidate-steps article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  display: grid; gap: 10px; align-content: start;
}
.candidate-steps .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral-soft); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.candidate-steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 6px 0 0; }
.candidate-steps p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about-story {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
  align-items: start;
}
.story-lead .quote-mark { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--coral); display: block; margin-bottom: 6px; }
.story-lead h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; margin: 0; }
.story-copy { display: grid; gap: 22px; font-size: 1.25rem; color: var(--muted); padding-top: calc(4rem + 6px); align-content: start; }
.story-copy p { margin: 0; }
.values-section { background: var(--navy); color: var(--on-dark); padding: clamp(76px, 10vw, 124px) 0; }
.values-section .section-head h2 { color: var(--on-dark); }
.values-section .section-head p { color: var(--on-dark-muted); }
/* Values head shares the value-lines column structure so the intro and row
   descriptions start on the same vertical edge instead of slanting. */
.values-section .section-head { grid-template-columns: 240px 1fr; gap: 32px; }
.values-section .section-head h2 { grid-column: 1 / -1; }
.values-section .section-head p { grid-column: 2; }
.value-lines { display: grid; gap: 0; border-top: 1px solid rgba(184, 204, 200, .22); }
.value-lines article {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(184, 204, 200, .22);
  align-items: baseline;
}
.value-lines .v-num {
  align-self: center;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7vw, 7rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(245, 251, 250, .09);
  padding-left: clamp(24px, 4vw, 64px);
  user-select: none;
}
.value-lines h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0; color: var(--on-dark); }
.value-lines p { margin: 0; color: var(--on-dark-muted); font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-hero { padding-bottom: 24px; }
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(64px, 8vw, 100px) 0 40px; }
.contact-paths article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  display: grid; gap: 12px; align-content: start;
  transition: box-shadow .18s ease;
}
.contact-paths article.is-selected { box-shadow: inset 0 -5px 0 var(--teal-strong); }
.contact-paths article:nth-child(2).is-selected { box-shadow: inset 0 -5px 0 var(--coral); }
.contact-paths .eyebrow { margin: 0; }
.contact-paths article:nth-child(2) .eyebrow { color: #b34a36; }
.contact-paths h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; line-height: 1.15; }
.contact-paths p { margin: 0; color: var(--muted); }
.contact-paths .button { justify-self: start; margin-top: 8px; }

.inquiry-forms { padding-bottom: clamp(76px, 10vw, 118px); scroll-margin-top: 96px; }
.inquiry-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 56px);
  margin-top: 26px;
  scroll-margin-top: 96px;
}
.inquiry-panel[hidden] { display: none; }
.form-heading { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: 36px; align-items: end; margin-bottom: 42px; }
.form-heading h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; margin: 0; }
.form-heading p { color: var(--muted); margin: 0 0 8px; }
.form-heading p:last-child { margin-bottom: 0; }
.form-heading a { color: var(--teal-strong); font-weight: 700; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.form-field { display: grid; gap: 8px; align-content: start; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 800; }
.form-field .req { color: var(--coral); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 49px;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--ink);
  font: inherit; padding: 11px 13px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field textarea.resume-paste { min-height: 220px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: .8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.form-hint { color: var(--muted); font-size: .84rem; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 10px; }
.form-note { grid-column: 1 / -1; margin: -2px 0 0; color: var(--muted); font-size: .86rem; }
.form-status { min-height: 1.5em; margin: 0; color: var(--teal-strong); font-size: .95rem; font-weight: 700; }
.form-status.error { color: #b34a36; }
/* Honeypot: invisible to humans, irresistible to bots */
.hp-field { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Generic page (Splunk / Cribl etc.) ---------- */
.generic-hero { padding: clamp(48px, 7vw, 84px) 0 8px; }
.generic-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0; }
.generic-content { padding: 24px 0 clamp(64px, 8vw, 100px); max-width: 52rem; }
.generic-content h2, .generic-content h3 { font-family: var(--serif); font-weight: 500; }
.generic-content a { color: var(--teal-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-top: 56px; }
  .talent-map { min-height: 440px; max-width: 680px; }
  .subpage-hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .closing-inner { grid-template-columns: 1fr; }
  .discipline:nth-child(1), .discipline:nth-child(2),
  .discipline:nth-child(3), .discipline:nth-child(4), .discipline:nth-child(5) { grid-column: span 3; }
  .specialty { grid-template-columns: 1fr; gap: 32px; }
  .specialty-visual { min-height: 400px; }
  .candidate-layout { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .story-copy { padding-top: 0; }
  .service { grid-template-columns: 54px minmax(180px, .7fr) minmax(220px, 1.3fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .specialty-visual { min-height: 350px; }
  .nav-inner { position: relative; }
  .principles, .steps, .two-paths, .brief-grid, .candidate-steps,
  .detail-row, .split-feature, .contact-paths, .form-heading, .inquiry-form { grid-template-columns: 1fr; }
  .principle { padding: 21px 0; min-height: auto; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .step { padding: 27px 0; }
  .step:first-child { padding-top: 0; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .path { min-height: 0; }
  .page-cta { grid-template-columns: 1fr; padding-block: 64px; }
  .band-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .values-section .section-head { grid-template-columns: 1fr; }
  .values-section .section-head h2, .values-section .section-head p { grid-column: auto; }
  .service { grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
  .service p { grid-column: 2; }
  .discipline:nth-child(n) { grid-column: 1 / -1; }
  .value-lines article { grid-template-columns: 1fr; gap: 8px; }
  .value-lines .v-num { order: -1; padding-left: 0; font-size: 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .brand-logo { width: clamp(150px, 43vw, 180px); }
}

@media (max-width: 680px) {
  .talent-map { min-height: 390px; border-radius: 24px 6px 24px 6px; }
  .map-caption { left: 24px; top: 26px; max-width: 240px; }
  .map-caption strong { font-size: 1.22rem; }
  /* Pin the two-line hero break on phones: "Better IT teams start with" /
     "better conversations." needs a headline sized to the viewport. */
  .hero h1 { font-size: calc(7.2vw - 3px); }
}
