/* Black Tech Talent Network: shared styles
   Palette: ink / forest / amber on a cool off-white. Change --accent to restyle the whole site. */

:root {
  --ink: #0C1412;
  --ink-2: #15211E;
  --line: #263632;
  --forest: #12493B;
  --paper: #F2F5F1;
  --text-2: #36423E;
  --muted: #4A5753;
  --muted-dark: #A9B8B2;
  --border: #D5DDD8;
  --field: #7C8B85;
  --accent: #F0B429;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.section--paper :focus-visible { outline-color: var(--forest); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { line-height: 1.15; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
}
.section--ink .eyebrow, .section--forest .eyebrow, .hero .eyebrow, .path .eyebrow { color: var(--accent); }

.lead { margin: 28px 0 0; max-width: 560px; font-size: 21px; line-height: 1.5; color: var(--muted-dark); }
.prose-lg { margin: 0; font-size: 20px; line-height: 1.6; color: var(--text-2); }
.prose-lg + .prose-lg { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  cursor: pointer;
}
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { filter: brightness(1.08); }
.btn--outline { border-color: var(--paper); color: var(--paper); }
.btn--outline:hover { background: rgba(242, 245, 241, 0.1); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--forest); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 56px; padding-bottom: 104px;
}
.hero__copy { flex: 1 1 480px; min-width: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__art { flex: 0 1 420px; min-width: 260px; display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 420px; height: auto; }

.hero--page .container { gap: 40px; padding-bottom: 96px; }
.hero--page .hero__copy { flex-basis: 520px; }
.hero--page h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; }
.hero--page .lead { margin-top: 24px; font-size: 20px; max-width: 580px; }
.hero--page .hero__art { flex: 0 1 220px; min-width: 160px; }
.hero--page .hero__art svg { max-width: 220px; }

.art-forest { fill: var(--forest); }
.art-accent { fill: var(--accent); }
.art-ink { fill: var(--ink); }
.art-line { fill: var(--paper); opacity: 0.25; }

/* Sections */
.section { padding: 96px 0; }
.section--flush-top { padding-top: 0; padding-bottom: 104px; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--forest { background: var(--forest); color: var(--paper); }
.section h2 + .grid, .section h2 + .statements { margin-top: 48px; }

.split { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }

/* Cards */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 240px; min-width: 0; padding: 32px 28px;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
}
.card--wide { flex-basis: 280px; }
.card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 16px; color: var(--muted); }
.card__num { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--forest); }
.card__num + h3 { margin-top: 24px; }

.statements { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.statements li {
  flex: 1 1 280px; min-width: 0; padding: 28px;
  border-top: 3px solid var(--accent); font-size: 20px; line-height: 1.45;
}
.closing {
  margin: 56px 0 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--accent);
}

/* Audience paths */
.paths { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.path {
  flex: 1 1 400px; min-width: 0; padding: 40px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.path .eyebrow { margin: 0; }
.path h3 { font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
.path p:not(.eyebrow) { margin: 0; color: var(--muted-dark); }
.path .btn { margin-top: 8px; }

/* Team */
.person {
  flex: 1 1 440px; min-width: 0; padding: 32px;
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  display: flex; flex-wrap: wrap; gap: 24px;
}
.person__photo {
  width: 120px; height: 160px; flex: none; object-fit: cover;
  border-radius: 60px 60px 0 0; background: var(--forest);
}
.person__body { flex: 1 1 240px; min-width: 0; }
.person h3 { font-size: 26px; }
.role { margin: 4px 0 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.person p:not(.role) { margin: 0; font-size: 16px; color: var(--muted); }
.link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; color: var(--forest); }

/* Partners */
.tile {
  flex: 1 1 260px; min-width: 0; min-height: 120px; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.tile--cta {
  background: transparent; border: 2px dashed #9AA8A2;
  font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--text-2); text-decoration: none;
}
.tile--cta:hover { border-color: var(--forest); color: var(--forest); }

/* Page content: steps, lists, forms */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: flex; gap: 20px; }
.step__num {
  flex: none; width: 44px; height: 44px; border-radius: 22px 22px 0 0;
  background: var(--forest); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 20px;
}
.steps h3 { margin: 0 0 4px; font-size: 22px; }
.steps p { margin: 0; font-size: 16px; color: var(--muted); }

.rule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.5; }
.rule-list li { padding-top: 16px; border-top: 3px solid var(--forest); }

.form-layout { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.form-layout__intro { flex: 1 1 340px; min-width: 0; }
.form-layout__intro h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 32px; }

.form {
  flex: 1 1 440px; min-width: 0; padding: 40px;
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  display: flex; flex-direction: column; gap: 24px;
}
.form h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field .req { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.field select { padding: 0 12px; }
.field textarea { min-height: 112px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); }
.form__note { margin: 0; font-size: 14px; color: var(--muted); }
.form__status { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #E3F1EA; color: #0F3D31; border: 1px solid #9BC9B6; }
.form__status--err { background: #FBE9E5; color: #6B1F12; border: 1px solid #E5A99C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer__brand { flex: 1 1 280px; min-width: 0; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin: 16px 0 0; color: var(--muted-dark); font-size: 15px; }
.footer__brand a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.footer__nav { flex: 0 1 240px; display: flex; flex-direction: column; font-size: 15px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__legal { padding-bottom: 40px; }
.footer__legal p { margin: 0; font-size: 14px; color: var(--muted-dark); }

/* 404 */
.notfound { padding: 120px 0; }
.notfound .eyebrow { color: var(--accent); }
.notfound p { margin: 24px 0 40px; font-size: 20px; color: var(--muted-dark); max-width: 520px; }

@media (max-width: 520px) {
  .section { padding: 72px 0; }
  .form { padding: 28px 20px; }
  .path { padding: 28px 24px; }
  .person { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
