/* =========================================================
   Prime People Partners — Shared Stylesheet
   Logo-driven palette: gradient blues (light → mid → deep navy)
   on cool white. All sans-serif typography to match the
   modern, clean wordmark.
   ========================================================= */

:root {
  /* Logo blues */
  --blue-light: #9CC9E5;
  --blue-mid:   #3D86C9;
  --blue-600:   #225FA7;   /* primary action blue */
  --blue-700:   #1E437B;
  --blue-900:   #15315A;   /* deepest navy */

  /* Slate / ink (matches "PRIME PEOPLE" wordmark) */
  --slate-900: #1F2A3A;
  --slate-700: #3F4A5C;
  --slate-500: #6B7585;
  --slate-300: #B7BFCC;
  --line:      #E2E8EF;

  /* Surfaces */
  --bg-100: #FFFFFF;
  --bg-200: #F5F8FB;
  --bg-300: #ECF1F7;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;

  --max-w: 1200px;
  --max-w-narrow: 880px;
  --shadow-sm: 0 2px 8px rgba(21, 49, 90, 0.06);
  --shadow-md: 0 8px 24px rgba(21, 49, 90, 0.10);
  --shadow-lg: 0 16px 48px rgba(21, 49, 90, 0.14);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--bg-100);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-900); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--slate-900);
  letter-spacing: -0.015em;
  line-height: 1.18;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--slate-700); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
/* Eyebrows inside the dark hero use white so they read cleanly */
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--max-w-narrow); }

section { padding: 5rem 0; }
@media (max-width: 700px) { section { padding: 3.5rem 0; } }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.site-nav__brand img {
  height: 58px;
  width: auto;
}
.site-nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.site-nav__links a {
  font-size: 0.95rem;
  color: var(--slate-700);
  font-weight: 500;
  position: relative;
}
.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--blue-700);
}
.site-nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-600), var(--blue-900));
}
@media (max-width: 700px) {
  .site-nav__links { gap: 1.1rem; }
  .site-nav__links a { font-size: 0.85rem; }
  .site-nav__brand img { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Mountain/peak imagery — reinforces the Build. Grow. Develop. ascent metaphor.
     Blue overlay to harmonize with the logo palette. */
  background:
    linear-gradient(135deg, rgba(21, 49, 90, 0.78) 0%, rgba(34, 95, 167, 0.55) 60%, rgba(21, 49, 90, 0.72) 100%),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1900&q=80") center/cover;
  color: var(--bg-100);
  padding: 8rem 0 7rem;
  text-align: left;
}
.hero h1 {
  color: var(--bg-100);
  max-width: 14ch;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}
.hero__sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  max-width: 56ch;
  line-height: 1.6;
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Inner page hero (smaller) */
.hero--page {
  padding: 5.5rem 0 4rem;
  text-align: center;
}
.hero--page h1 { margin: 0 auto 1rem; max-width: 22ch; }
.hero--page .hero__sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn--primary {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}
.btn--primary:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--bg-100);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--bg-100);
  color: var(--bg-100);
}
.btn--dark {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
}
.btn--dark:hover {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff;
}

/* ---------- Positioning paragraph (What We Do) ---------- */
.positioning {
  background: var(--bg-100);
}
.positioning__lead {
  /* Sans-serif now, matching the rest of the section. Larger size + tight tracking
     to retain hierarchy without switching font families. */
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--slate-900);
  max-width: 60ch;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}
.positioning p {
  font-size: 1.05rem;
  max-width: 64ch;
}
.positioning__byline {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--slate-500);
  max-width: 64ch;
}

/* ---------- Services snapshot (3 cols) ---------- */
.services-snap {
  background: var(--bg-200);
}
.services-snap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .services-snap__grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--bg-100);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.2rem 2rem 2rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-mid), var(--blue-900));
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}
.service-card:hover::before { opacity: 1; }
.service-card__pill {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.service-card h3 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--slate-900);
}
.service-card p {
  flex: 1;
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
  color: var(--slate-700);
}
.service-card__link {
  font-weight: 600;
  color: var(--blue-900);
  font-size: 0.95rem;
}
.service-card__link::after { content: " →"; transition: margin-left .2s; }
.service-card:hover .service-card__link::after { margin-left: 4px; }

/* ---------- Differentiator strip ---------- */
.diff-strip {
  background: linear-gradient(90deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-900) 100%);
  color: var(--bg-100);
  text-align: center;
  padding: 3.2rem 1.5rem;
}
.diff-strip p {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: var(--bg-100);
  margin: 0;
  letter-spacing: 0.01em;
}
.diff-strip span { color: var(--blue-light); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-100);
  text-align: center;
}
.cta h2 { margin-bottom: 1rem; }
.cta p { max-width: 56ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.6rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--blue-light); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 700px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer__brand {
  display: block;
  margin-bottom: 0.9rem;
}
.site-footer__brand img {
  height: 60px;
  width: auto;
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
}
.site-footer__tag {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 38ch;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  margin-bottom: 1rem;
}
.section-head h2 { margin-bottom: 0.7rem; }
.section-head p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--slate-500);
}

/* Tighter section padding on services page to fit each block in one viewport */
#build, #grow, #develop { padding: 2rem 0; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: none; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 2rem; }
}
.service-block__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.92);
}
.service-block__pill {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-600);
  margin-bottom: 0.7rem;
}
.service-block h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-block__tag {
  color: var(--slate-500);
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.service-block > div > p {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
/* Two-column service item grid — rows locked across both columns */
.service-cols {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 0 2.5rem;
  margin-top: 1.4rem;
}
.service-cols--2row {
  grid-template-rows: repeat(2, auto);
}
@media (max-width: 600px) {
  .service-cols {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* Hover-reveal service items */
.service-item {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  cursor: pointer;
  min-height: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-item__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  gap: 0.4rem;
}
.service-item__title::after {
  content: "›";
  font-size: 1.15em;
  color: var(--blue-600);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.service-item.is-open .service-item__title::after {
  transform: rotate(90deg);
}
.service-item__desc {
  display: block;           /* must be block for max-height clipping to work */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease, padding-top 0.2s ease;
  opacity: 0;
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.45;
  padding-top: 0;
}
.service-item.is-open .service-item__desc {
  max-height: 6rem;
  opacity: 1;
  padding-top: 0.3rem;
}

/* ---------- About / bios ---------- */
.bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.bio:first-of-type { border-top: none; padding-top: 1.5rem; }
@media (max-width: 800px) {
  .bio { grid-template-columns: 1fr; gap: 1.6rem; }
}
.bio__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--bg-300);
  border-radius: 6px;
}
.bio__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.bio h2 { margin-bottom: 1.4rem; font-weight: 700; }
.bio p { font-size: 1.02rem; }

/* ---------- How we work / approach blocks ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid__item {
  padding: 1.6rem;
  background: var(--bg-100);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: 4px;
}
.feature-grid__item h4 {
  margin-bottom: 0.4rem;
  color: var(--slate-900);
}
.feature-grid__item p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Approach band (alternating) ---------- */
.band-light { background: var(--bg-100); }
.band-warm { background: var(--bg-200); }
.band-dark {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--bg-100);
}
.band-dark h2 { color: var(--bg-100); }
.band-dark p { color: rgba(255, 255, 255, 0.88); }
.band-dark .eyebrow { color: var(--blue-light); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 850px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.25rem;
}
.contact-info__val { font-size: 1rem; color: var(--slate-900); }

.form {
  background: var(--bg-100);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { margin-bottom: 1.2rem; }
.form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg-100);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--slate-900);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(61, 134, 201, 0.18);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__note {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 1rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 1.5rem; }

/* ---------- Animation ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up.delay-1 { animation-delay: .1s; }
.fade-up.delay-2 { animation-delay: .2s; }
.fade-up.delay-3 { animation-delay: .3s; }
