/* StackBuilders Talent Consulting — Shared Design System */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0C1E33;
  --navy-soft:   #2A3B52;
  --navy-mute:   #5C6979;
  --teal:        #1BC6C2;
  --teal-deep:   #14908D;
  --teal-tint:   #EAF7F6;
  --ember:       #FF6A3D;
  --charcoal:    #1A1A1A;
  --grey-mist:   #D9DDE1;
  --sky:         #6FC7FF;

  --bg:          #FFFFFF;
  --bg-soft:     #F7F8FA;
  --text:        #1A1A1A;
  --text-mute:   #5A6472;
  --text-faint:  #8A93A0;
  --rule:        #E5E7EB;
  --rule-strong: #D9DDE1;

  --display:     'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body:        'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --accent-type: 'Poppins', 'Inter', sans-serif;

  --max-w:  1200px;
  --gutter: 32px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ── SECTION BACKGROUNDS ── */
.section-soft  { background: var(--bg-soft); }
.section-white { background: var(--bg); }
.section-navy  { background: var(--navy); }

/* ── TYPOGRAPHY UTILITIES ── */
.kicker {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--teal-deep); }
.kicker-light { color: var(--teal); }
.kicker-light::before { background: var(--teal); }

.section-lede {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 56ch;
  margin-top: 20px;
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }

.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--bg); }

.btn-on-dark-primary { background: var(--ember); color: #fff; }
.btn-on-dark-primary:hover { background: var(--teal); color: var(--navy); }

.btn-on-dark-ghost { background: transparent; color: var(--bg); border: 1.5px solid rgba(255,255,255,.3); }
.btn-on-dark-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ember);
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  transition: background .15s, transform .15s;
}
.btn-book::after { content: '→'; }
.btn-book:hover { background: var(--navy); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ── NAV ── */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity .15s;
}
.logo:hover { opacity: .8; }
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.logo-img-light { filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--text);
}
.nav-link:hover { color: var(--teal-deep); }
.nav-cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  background: var(--teal);
  color: var(--navy);
  padding: 11px 22px;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--navy); color: var(--teal); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 17px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile { display: none; background: var(--bg-soft); border-top: 1px solid var(--rule); }
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 16px var(--gutter);
  font-family: var(--display); font-size: 14px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--rule);
}
.nav-mobile a:hover { color: var(--teal-deep); background: var(--bg); }
.nav-mobile .mobile-label {
  padding: 12px var(--gutter) 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); font-family: var(--display);
}

/* ── CLOSING / PAGE-LEVEL CTA ── */
.closing {
  background: var(--navy);
  padding: 112px 0;
}
.closing .kicker { color: var(--teal); }
.closing .kicker::before { background: var(--teal); }
.closing h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--bg);
  max-width: 22ch;
  margin-bottom: 0;
}
.closing h2 .accent { color: var(--teal); }
.closing-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 80px;
  align-items: end;
  margin-top: 32px;
}
.closing-text {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 48ch;
}
.closing-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.closing-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 56px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.foot-brand .logo { display: inline-flex; margin-bottom: 16px; }
.foot-brand .logo-img { height: 44px; }
.foot-tag {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  max-width: 30ch;
  line-height: 1.55;
}
.foot-col h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.foot-col a:hover { color: var(--teal); }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ── PAGE HERO (service pages) ── */
.page-hero {
  background: var(--bg);
  padding: 80px 0 88px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--navy);
  max-width: 18ch;
  margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--teal-deep); }
.page-hero .hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  max-width: 44ch;
  margin-bottom: 36px;
}
.page-hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.page-hero .hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--bg-soft);
  max-width: 720px;
}
.hero-stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--rule-strong);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--accent-type);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── SHARED CONTENT COMPONENTS ── */

/* Pain/problem cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin-top: 48px;
}
.pain-card {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--teal);
}
.pain-card strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.pain-card p { font-size: 14px; color: var(--text-mute); line-height: 1.65; }

/* Highlight rows (icon + text) */
.highlights { display: flex; flex-direction: column; gap: 0; }
.highlight-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.highlight-item:last-child { border-bottom: none; }
.highlight-num {
  font-family: var(--accent-type);
  font-weight: 600;
  font-size: 13px;
  color: var(--teal-deep);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 28px;
}
.highlight-item h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.highlight-item p { font-size: 15px; color: var(--text-mute); line-height: 1.6; }

/* Include/phase cards */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--rule-strong);
  background: var(--rule-strong);
}
.include-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
}
.include-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--teal);
}
.include-phase {
  font-family: var(--accent-type);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.include-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.include-list { list-style: none; }
.include-list li {
  font-size: 14px;
  color: var(--text-mute);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.include-list li:last-child { border-bottom: none; }
.include-list li::before {
  content: '→';
  color: var(--teal-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--display);
  font-size: 13px;
}

/* Who is this for */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin-top: 48px;
}
.who-item {
  background: var(--bg);
  padding: 24px 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.who-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.who-item.no { color: var(--text-mute); }
.who-item.no .who-dot { background: var(--rule-strong); }

/* Two-column text + highlights layout */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split-text p {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.75;
  margin-bottom: 18px;
}
.split-text p:last-child { margin-bottom: 0; }
.split-text strong { color: var(--navy); font-weight: 600; }

/* Pricing block */
.pricing-wrap { max-width: 680px; margin: 48px auto 0; }
.pricing-block {
  border: 1px solid var(--rule-strong);
  background: var(--bg);
  padding: 48px;
  position: relative;
}
.pricing-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--navy);
}
.price-tag {
  font-family: var(--accent-type);
  font-weight: 600;
  font-size: 56px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-tag sup { font-size: 28px; vertical-align: super; }
.price-sub {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
  margin-bottom: 32px;
}
.price-includes { list-style: none; margin-bottom: 32px; }
.price-includes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.price-includes li:last-child { border-bottom: none; }
.price-includes li::before { content: '✓'; color: var(--teal-deep); font-weight: 700; flex-shrink: 0; }
.price-note {
  background: #FFF8F5;
  border: 1px solid rgba(255,106,61,.2);
  padding: 18px 22px;
  font-size: 14px;
  color: #7a4030;
  line-height: 1.6;
}
.price-note strong { color: var(--ember); }

/* Scoped/project pricing */
.scoped-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--rule-strong);
  margin-top: 48px;
}
.scoped-item {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
}
.scoped-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--navy);
}
.scoped-item h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}
.scoped-item p { font-size: 14px; color: var(--text-mute); line-height: 1.6; }

/* Areas chips */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin-top: 48px;
}
.area-chip {
  background: var(--bg);
  padding: 28px 16px;
  text-align: center;
}
.area-chip p {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* Intake form (ta-diagnostic) */
.form-section { background: var(--bg-soft); }
.form-inner { max-width: 640px; margin: 0 auto; }
.intake-form {
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  padding: 40px;
  margin-top: 40px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--rule-strong);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: var(--bg);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
  transition: background .15s;
  letter-spacing: .01em;
}
.btn-submit:hover { background: var(--teal-deep); }
.booking-reveal { display: none; text-align: center; padding-top: 12px; }
.booking-reveal.show { display: block; }
.booking-msg {
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.booking-msg strong { color: var(--navy); font-weight: 600; }

/* ── PROCESS STEPS ── */
.process-steps { display: flex; flex-direction: column; margin-top: 48px; }
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule-strong);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 18px; font-weight: 800;
  color: var(--teal); flex-shrink: 0;
}
.step-badge {
  display: inline-block;
  background: var(--teal-tint); color: var(--teal-deep);
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 12px;
}
.step-content h3 {
  font-family: var(--display); font-size: 19px; font-weight: 800;
  color: var(--navy); letter-spacing: -.015em; margin-bottom: 10px;
}
.step-content p { font-size: 15px; color: var(--text-mute); line-height: 1.7; margin-bottom: 14px; }
.step-content p:last-child { margin-bottom: 0; }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.step-list li {
  font-size: 14px; color: var(--text-mute);
  display: flex; gap: 10px; align-items: flex-start;
}
.step-list li::before {
  content: '→'; color: var(--teal-deep); font-weight: 700;
  flex-shrink: 0; font-family: var(--display); font-size: 13px; margin-top: 2px;
}

/* ── CENTERED CLOSING CTA (service pages) ── */
.closing-cta {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.closing-cta .kicker { justify-content: center; color: var(--teal); }
.closing-cta .kicker::before { background: var(--teal); }
.closing-cta h2 { color: var(--bg); max-width: none; margin-bottom: 20px; }
.closing-cta p { font-size: 18px; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 36px; }
.closing-note { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .includes-grid { grid-template-columns: 1fr; }
  .scoped-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .closing-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 20px; }
  .nav-link:not(.nav-cta) { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero .hero-actions .btn { width: 100%; justify-content: center; }
  .closing { padding: 80px 0; }
  .page-hero .hero-stats { flex-direction: column; }
  .hero-stat-item { border-right: none; border-bottom: 1px solid var(--rule-strong); }
  .pricing-block { padding: 32px 24px; }
  .process-step { grid-template-columns: 40px 1fr; gap: 16px; }
}
