/* ==========================================================================
   Manifesto section (component) — big heading + body copy beside a visual.
   Used by about-template.php and careers-template.php; the legacy what-we-do.css still carries its own copy
   until the What We Do page is migrated. Loaded by inc/assets.php.
   ========================================================================== */

.wwd-manifesto {
  position: relative;
  padding: clamp(100px, 14vw, 200px) 0;
  background: transparent;
  overflow: hidden;
}

.wwd-manifesto-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  max-width: 1440px;
}

.wwd-manifesto-pattern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 540px);
  aspect-ratio: 1;
  justify-self: start;
  isolation: isolate;
  pointer-events: none;
}

.wwd-solving-orb {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}

.wwd-manifesto-copy {
  max-width: 620px;
  margin-left: auto;
  text-align: left;
}

.wwd-manifesto-heading {
  font-family: var(--cn-font, "Inter", "DM Sans", sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.wwd-manifesto-body p {
  font-size: var(--full-website-paragraph-font-size);
  line-height: 1.7;
  color: var(--cn-muted);
  margin: 0 0 18px;
}

.wwd-manifesto-body p:last-of-type {
  margin-bottom: 0;
}

.wwd-manifesto-action {
  display: flex;
  margin-top: 40px;
}

.wwd-manifesto-label {
  margin-bottom: 32px;
}

.wwd-manifesto-text {
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wwd-word {
  color: var(--cn-muted-2);
  transition: color 0.2s linear;
}

.wwd-word.is-lit {
  color: var(--cn-white);
}

@media (max-width: 1024px) {
  .wwd-manifesto-inner {
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1fr);
    gap: 36px;
  }

  .wwd-manifesto-pattern {
    width: min(100%, 390px);
  }
}

/* Shared mobile layout for manifesto sections on every template. */
@media (max-width: 768px) {
  .wwd-manifesto {
    text-align: center;
  }

  .wwd-manifesto-inner {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    padding-inline: 0;
    gap: 32px;
    justify-items: center;
  }

  .wwd-manifesto-pattern {
    order: 1;
    width: min(100%, 360px);
    min-width: 0;
    justify-self: center;
    margin-inline: auto;
  }

  .wwd-manifesto-copy {
    order: 2;
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    text-align: center;
    overflow-wrap: anywhere;
    padding: 0 clamp(20px, 5vw, 64px);
  }

  .wwd-manifesto-heading,
  .wwd-manifesto-body {
    text-align: center;
  }

  .wwd-manifesto-action {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .wwd-manifesto {
    padding: 88px 0;
  }
}
