/**
 * The Work Initiative — Homepage styles
 * Matches Pencil frame: "The Work Initiative — Home · Variation" (1440px)
 *
 * Structure mirrors page sections top-to-bottom.
 * Class names use BEM-ish section__element pattern for agent clarity.
 */

/* ═══════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════
   SHARED UTILITIES
   ═══════════════════════════════════════════════════════ */

/*
  Full-bleed bands: section backgrounds always span the viewport.
  Content gutters use --page-margin (and optional --content-width centering).
*/
.nav,
.hero,
.story,
.approach,
.numbers,
.collective,
.members,
.principles,
.testimonials,
.cta,
.footer {
  width: 100%;
  box-sizing: border-box;
}

/* Optional content rail: center within a max content width on ultrawide */
.container {
  width: 100%;
  max-width: var(--content-width, 1240px);
  margin-inline: auto;
  padding-inline: 0;
}

/* Accent eyebrow: ── LABEL ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow__rule {
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow__rule--long {
  width: 28px;
}

.eyebrow__rule--thick {
  height: 2px;
  width: 28px;
}

.eyebrow__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
}

.btn--primary {
  background: var(--accent);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent-deep);
  opacity: 1;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 500;
  gap: 8px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Logo mark (small rust square + wordmark) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.logo__wordmark {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.logo__wordmark--light {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--on-dark);
}

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--page-margin);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  width: 100%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-70);
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
  background: var(--paper);
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 76px var(--page-margin) 100px;
  text-align: center;
}

.hero__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.hero__masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__folio {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--ink-45);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow .eyebrow__rule {
  width: 28px;
}

.hero__eyebrow-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ink-45);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 500;
  line-height: 1.03;
  color: var(--ink);
  max-width: 1120px;
}

.hero__subcopy {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 780px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Proof bar */
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  width: 100%;
  flex-wrap: wrap;
}

.proof-bar__item {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-45);
}

.proof-bar__divider {
  width: 1px;
  height: 13px;
  background: var(--hairline);
  flex-shrink: 0;
}

/* Hero banner image */
.hero__banner {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__banner-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 100px;
  background: var(--caption-bg);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════════════
   OUR STORY
   ═══════════════════════════════════════════════════════ */

.story {
  background: var(--paper);
  padding: 104px var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-lg);
  text-align: center;
}

.story__quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 940px;
  width: 100%;
}

.story__quote-main,
.story__quote-emphasis {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.24;
}

.story__quote-main {
  color: var(--ink);
}

.story__quote-emphasis {
  color: var(--accent);
}

.story__rule {
  width: 64px;
  height: 1px;
  background: var(--accent);
}

.story__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  width: 100%;
}

.story__body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ═══════════════════════════════════════════════════════
   OUR APPROACH (dark band)
   ═══════════════════════════════════════════════════════ */

.approach {
  background: var(--dark);
  padding: 104px var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.approach__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 680px;
  width: 100%;
}

.approach__heading {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--on-dark);
}

.approach__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-soft);
}

.approach__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 860px;
}

.approach__rule {
  width: 100%;
  height: 1px;
  background: var(--hairline-dark);
}

.approach__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 0;
  width: 100%;
}

.approach__index {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.approach__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--on-dark);
}

.approach__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════
   BY THE NUMBERS
   ═══════════════════════════════════════════════════════ */

.numbers {
  background: var(--paper-deep);
  padding: 104px var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.numbers__strip {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.numbers__rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
}

.numbers__row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.stat__label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-45);
}

.numbers__divider {
  width: 1px;
  height: 64px;
  background: var(--hairline);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   THE COLLECTIVE
   ═══════════════════════════════════════════════════════ */

.collective {
  background: var(--paper);
  padding: var(--section-y) var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  text-align: center;
}

.collective__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.collective__heading {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  max-width: 840px;
}

.collective__body {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 660px;
}

.collective__meta {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-45);
}

.collective__photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   THE MEMBERS (dark band)
   ═══════════════════════════════════════════════════════ */

.members {
  background: var(--dark);
  padding: var(--section-y) var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  text-align: center;
}

.members__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.members__heading {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--on-dark);
}

.members__intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 620px;
}

.members__grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}

.members__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  width: 100%;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.member__portrait {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 1px solid var(--hairline-dark);
}

.member__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.member__name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  color: var(--on-dark);
}

.member__role {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--on-dark-soft);
}

/* ═══════════════════════════════════════════════════════
   HOW WE WORK (principles)
   ═══════════════════════════════════════════════════════ */

.principles {
  background: var(--paper);
  padding: var(--section-y) var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.principles__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.principles__heading {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.principles__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 780px;
}

.principles__rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
}

.principle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 0;
  width: 100%;
}

.principle__index {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.principle__title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.principle__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 540px;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */

.testimonials {
  background: var(--paper-deep);
  padding: var(--section-y) var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.testimonials__heading {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  max-width: 820px;
}

.testimonials__rule {
  width: 100%;
  height: 1px;
  background: var(--hairline);
}

/* Featured quote */
.testimonial-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.testimonial-featured__quote {
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  max-width: 920px;
}

.testimonial-featured__attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.testimonial-featured__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-featured__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-featured__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-featured__role {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-70);
}

/* Supporting two-column testimonials */
.testimonials__support {
  display: flex;
  align-items: center;
  width: 100%;
}

.testimonial-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 44px;
  flex: 1;
  min-width: 0;
}

.testimonial-support__quote {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink-70);
  width: 100%;
}

.testimonial-support__attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.testimonial-support__photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-support__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.testimonial-support__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-support__role {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-70);
}

.testimonials__col-divider {
  width: 1px;
  height: 200px;
  background: var(--hairline);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════ */

.cta {
  background: var(--dark);
  padding: 140px var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.cta__tick {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.cta__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.cta__headline {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--on-dark);
  max-width: 760px;
}

.cta__support {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-dark-soft);
  max-width: 600px;
}

.cta__form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.cta__form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
}

.cta__input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--dark-elev);
  border: 1px solid var(--hairline-dark);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 400;
}

.cta__input::placeholder {
  color: var(--on-dark-soft);
}

.cta__input:focus {
  outline: 1px solid var(--accent);
  outline-offset: 0;
}

.cta__submit {
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.cta__submit:hover {
  background: var(--accent-deep);
}

.cta__reassurance {
  font-size: 13px;
  font-weight: 400;
  color: var(--on-dark-soft);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  background: var(--dark-elev);
  padding: 72px var(--page-margin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-soft);
  max-width: 480px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: 15px;
  font-weight: 400;
  color: var(--on-dark);
  transition: color 0.15s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link--soft {
  color: var(--on-dark-soft);
}

.footer__sep {
  width: 1px;
  height: 14px;
  background: var(--hairline-dark);
  flex-shrink: 0;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--hairline-dark);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer__copy {
  font-size: 13px;
  font-weight: 400;
  color: var(--on-dark-soft);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  font-weight: 400;
  color: var(--on-dark-soft);
}

.footer__legal a:hover {
  color: var(--on-dark);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   (Desktop design is 1440. Scale down gracefully.)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  :root {
    --page-margin: 64px;
  }

  .hero__headline {
    font-size: 64px;
  }

  .cta__headline {
    font-size: 48px;
  }

  .story__quote-main,
  .story__quote-emphasis {
    font-size: 34px;
  }

  .approach__heading,
  .collective__heading,
  .members__heading,
  .principles__heading {
    font-size: 40px;
  }

  .testimonial-featured__quote {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-margin: 40px;
    --section-y: 80px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px var(--page-margin);
  }

  .nav__links {
    gap: 20px;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero__body {
    padding: 56px var(--page-margin) 64px;
    gap: 40px;
  }

  .hero__headline {
    font-size: 42px;
  }

  .hero__subcopy {
    font-size: 16px;
  }

  .hero__banner {
    height: 320px;
  }

  .members__row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .member__portrait {
    height: 420px;
  }

  .collective__photo {
    height: 360px;
  }

  .numbers__row {
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px 0;
  }

  .stat {
    flex: 1 1 40%;
  }

  .numbers__divider {
    display: none;
  }

  .testimonials__support {
    flex-direction: column;
    gap: 40px;
  }

  .testimonials__col-divider {
    width: 100%;
    height: 1px;
  }

  .testimonial-support {
    padding: 0;
  }

  .cta {
    padding: 80px var(--page-margin);
  }

  .cta__headline {
    font-size: 36px;
  }

  .cta__form {
    flex-direction: column;
  }

  .cta__submit {
    width: 100%;
  }

  .approach__heading,
  .collective__heading,
  .members__heading,
  .principles__heading,
  .testimonials__heading {
    font-size: 32px;
  }

  .story__quote-main,
  .story__quote-emphasis {
    font-size: 28px;
  }

  .testimonial-featured__quote {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-margin: 24px;
  }

  .nav__links {
    display: none;
  }

  .hero__headline {
    font-size: 34px;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .proof-bar {
    flex-direction: column;
    gap: 12px;
  }

  .proof-bar__divider {
    display: none;
  }

  .stat {
    flex: 1 1 100%;
  }
}
