/* Homepage below the hero: one grid, readable content, restrained emphasis. */
#why-we-exist,
#services,
.home-footer {
  --content-gutter: var(--page-gutter);
  padding-inline: var(--content-gutter) !important;
}
#why-we-exist {
  padding-block: 112px 96px !important;
  min-height: 0;
  background: #0e0f11 !important;
}
#why-we-exist::before,
#services::before,
.flag-sticky::after { display: none; }
.manufacturing-story { margin: 0; }
.manufacturing-title {
  max-width: 760px;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.manufacturing-images { gap: 24px; margin-top: 48px; }
.manufacturing-photo { aspect-ratio: 4 / 3; }
.manufacturing-photo img { filter: grayscale(1); }
.manufacturing-photo img[src$="manufacturing-higher.png"] { object-position: center top; }
.manufacturing-images figcaption,
.manufacturing-images figure:nth-child(2) figcaption,
.manufacturing-images figure:nth-child(3) figcaption {
  text-align: left;
  margin-top: 20px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: -.015em;
}
.story-bridge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-block: 72px 48px;
  padding-top: 40px;
  border-top: 1px solid #35373a;
}
.story-bridge p { margin: 0; text-wrap: pretty; }
.story-bridge p:first-child {
  max-width: 18ch;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 500;
}
.story-bridge p:last-child {
  max-width: 46ch;
  color: #bdc1c6;
  font-size: 21px;
  line-height: 1.55;
}
.workforce-chart { overflow: hidden; }
.workforce-chart canvas { min-width: 0; height: 440px !important; }
.chart-source { font-size: 14px !important; line-height: 1.5 !important; color: #a7adb4 !important; }
.workforce-stats {
  grid-template-columns: 1fr 1.2fr 1fr !important;
  gap: 32px !important;
  margin-top: 48px !important;
  padding-top: 32px;
  border-top: 1px solid #35373a;
}
.workforce-stats > div { gap: 12px !important; }
.workforce-stats > div > div:first-child {
  font-size: clamp(32px, 3.8vw, 52px) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums;
}
.workforce-stats > div > div:last-child {
  max-width: 25ch;
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: #bdc1c6 !important;
}
#services { padding-block: 112px !important; background: #191b1e !important; }
.services-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: end;
  max-width: none;
}
#services-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.services-title-line { display: inline; white-space: normal; }
.services-intro p {
  margin: 0;
  max-width: 42ch;
  font-size: 20px;
  line-height: 1.6;
  color: #bdc1c6;
}
.agency-closing { display: inline; white-space: normal; }
.service-options { gap: 32px; margin-top: 64px; }
.service-card { aspect-ratio: auto; background: transparent; overflow: visible; }
.service-card > img { position: static; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card::after { display: none; }
.service-card-copy {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #55585c;
  text-shadow: none;
  transition: background 200ms ease-out, color 200ms ease-out, padding 200ms ease-out;
}
.service-card h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; }
.service-arrow { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 200ms ease-out; }
.service-card:hover .service-arrow { transform: translate(3px, -3px); }
.service-card:hover > img, .service-card:focus-visible > img { filter: brightness(.58) contrast(1.3); }
.service-card:hover .service-card-copy,
.service-card:focus-visible .service-card-copy {
  background: #ffffff;
  color: #111315;
  border-bottom-color: #ffffff;
  padding-inline: 20px;
}
.flag-contact { --flag-height: clamp(480px, 43vw, 600px); }
.flag-copy { left: max(24px, calc((100vw - 1248px) / 2)); max-width: 42%; }
.flag-copy h2 { max-width: 8ch; font-size: clamp(48px, 5vw, 72px); font-weight: 700; line-height: 1.03; }
.flag-copy p { font-size: 20px; line-height: 1.55; margin: 24px 0 32px; }
.flag-call { font-size: 18px; padding: 18px 24px; }
.home-footer { padding-block: 64px 32px !important; }
.home-footer > div:first-child { gap: 64px; }
.home-footer > div:first-child > div { gap: 64px !important; font-size: 16px !important; line-height: 1.5; }
.home-footer > div:first-child > div > div { gap: 8px !important; }
.home-footer > div:first-child > div > div > span:first-child { font-size: 12px !important; color: #a7adb4 !important; margin-bottom: 12px; }
.home-footer a { min-height: 32px; display: inline-flex; align-items: center; }
.home-footer > div:last-child { border-top: 1px solid #35373a; padding-top: 24px; margin-top: 48px !important; font-size: 12px !important; color: #a7adb4 !important; }
#why-we-exist ::selection, #services ::selection, .home-footer ::selection { background: #ffffff; color: #111; }
#why-we-exist :focus-visible, #services :focus-visible, .home-footer :focus-visible { outline: 2px solid #ee7343; outline-offset: 6px; }
@media (max-width: 960px) {
  .services-intro { grid-template-columns: 1fr; gap: 28px; }
  #services-title { max-width: 20ch; }
  .services-intro p { max-width: 60ch; }
  .story-bridge { gap: 32px; }
  .home-footer > div:first-child { flex-wrap: wrap; gap: 40px; }
}
@media (max-width: 640px) {
  #why-we-exist, #services { padding-block: 72px !important; }
  .manufacturing-title { max-width: 16ch; }
  .manufacturing-images { grid-template-columns: 1fr; margin-top: 32px; gap: 32px; }
  .manufacturing-photo { aspect-ratio: 4 / 3; }
  .manufacturing-images figcaption,
  .manufacturing-images figure:nth-child(2) figcaption,
  .manufacturing-images figure:nth-child(3) figcaption { margin-top: 12px; font-size: 26px; }
  .story-bridge { grid-template-columns: 1fr; margin-block: 48px 24px; padding-top: 32px; gap: 24px; }
  .story-bridge p:last-child { font-size: 18px; }
  .workforce-chart canvas { height: 340px !important; }
  .workforce-stats { grid-template-columns: 1fr !important; gap: 24px !important; margin-top: 32px !important; }
  .workforce-stats > div { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px !important; align-items: center; }
  .workforce-stats > div > div:first-child { font-size: clamp(27px, 6vw, 36px) !important; }
  .workforce-stats > div > div:last-child { font-size: 15px !important; }
  .service-options { grid-template-columns: 1fr; margin-top: 40px; gap: 32px; }
  .services-intro p { font-size: 18px; }
  .service-card-copy { padding-block: 20px; }
  .flag-contact { --flag-height: 700px; }
  .flag-copy { top: 56px; max-width: none; }
  .flag-copy h2 { max-width: 10ch; }
  .flag-copy p { font-size: 18px; }
  .home-footer > div:first-child > div { flex-direction: column; gap: 32px !important; }
  .home-footer a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-arrow, .service-card > img, .service-card-copy { transition: none; }
}

/* Keep employment evidence together on a contrasting surface. */
.workforce-evidence {
  margin-top: 88px;
  padding: 48px;
  background: #111315;
  color: #ffffff;
}
.workforce-evidence .chart-source { color: #b4b8bd !important; }
.workforce-evidence .workforce-stats { border-top-color: #383c40; }
.workforce-evidence .workforce-stats > div > div:first-child { color: #ffffff !important; }
.workforce-evidence .workforce-stats > div > div:last-child { color: #b4b8bd !important; }
.workforce-evidence ::selection { background: #111315; color: #ffffff; }
@media (max-width: 640px) {
  .workforce-evidence { margin-top: 56px; padding: 24px 16px 32px; }
}

/* Full-width purpose statement with a word-by-word scroll reveal. */
.home-statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 760px;
  padding: 144px var(--page-gutter);
  background: #111316;
  color: #fff;
}
.statement-metal {
  position: absolute; inset: -60px 0; z-index: -3; pointer-events: none;
  background: #27282a url("assets/graphite-metal-statement.png") center / cover no-repeat;
  transform: translateY(var(--metal-y, 0px));
}
.statement-shine {
  position: absolute; inset: -20% -50%; z-index: -2; pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(220,229,237,.03) 42%, rgba(233,240,247,.24) 49%, rgba(190,203,215,.06) 56%, transparent 66%);
  transform: translateX(var(--shine-x, 0%));
  mix-blend-mode: screen;
}
.home-statement::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(17,19,22,.9) 0%, rgba(17,19,22,.6) 38%, transparent 78%);
}
.home-statement p {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-kerning: normal;
  text-wrap: balance;
}
.home-statement strong { font-weight: 700; }
.statement-word { color: #a2a5a8; transition: color 220ms ease-out; }
.statement-word.is-revealed { color: #fff; }
#why-we-exist { padding-bottom: 0 !important; }
.workforce-evidence {
  margin-inline: calc(-1 * var(--content-gutter));
  margin-top: 104px;
  padding: 80px var(--content-gutter);
}
.evidence-heading { margin-bottom: 48px; }
.evidence-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.evidence-heading p { margin: 16px 0 0; font-size: 20px; line-height: 1.5; color: #b4b8bd; }
.chart-endpoints { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.chart-endpoints p { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.chart-endpoints p:last-child { text-align: right; }
.chart-endpoints strong { font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.1; }
.chart-endpoints span { font-size: 18px; line-height: 1.4; color: #b4b8bd; }
.workforce-evidence .chart-source { margin-top: 16px !important; font-size: 18px !important; line-height: 1.5 !important; }
.workforce-evidence .workforce-stats > div > div:last-child { font-size: 20px !important; }
@media(max-width:640px) {
  .home-statement { min-height: 620px; padding-block: 100px; }
  .home-statement p { font-size: 28px; }
  .workforce-evidence { margin-top: 64px; padding-block: 56px; }
  .evidence-heading { margin-bottom: 32px; }
  .evidence-heading p { font-size: 18px; }
  .chart-endpoints { gap: 16px; }
  .chart-endpoints span { font-size: 16px; }
  .workforce-evidence .chart-source { font-size: 16px !important; }
  .workforce-evidence .workforce-stats > div > div:last-child { font-size: 17px !important; }
}
@media(prefers-reduced-motion:reduce) {
  .statement-word { transition: none; color: #fff; }
}

/* Explain the offer before the broader manufacturing story. */
.service-summary {
  margin: 20px 0 0;
  max-width: 48ch;
  color: #bdc1c6;
  font-size: 19px;
  line-height: 1.55;
}
.service-card { display: block; }
.service-card:focus-visible { outline: 2px solid #ee7343; outline-offset: 8px; }
@media (max-width: 640px) {
  .service-summary { font-size: 17px; margin-top: 16px; }
}
