/* CH-04 Homepage composition. Shared tokens/components live in client/components.css. */
.home-page main {
  overflow: clip;
}

.wv-hero {
  position: relative;
  padding-block: 0;
}

.wv-hero__layout {
  min-height: calc(76svh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(500px, 1.07fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-block: 1.75rem 2.75rem;
}

.wv-hero__copy {
  position: relative;
  z-index: 2;
  animation: wv-reveal var(--wv-motion-reveal) var(--wv-ease-out) both;
}

.wv-hero__title {
  margin: 0;
  font-size: clamp(3.35rem, 4.25vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 1.01;
}

.wv-hero__title > span {
  position: relative;
  display: block;
}

.wv-hero__promise {
  margin-top: 1.375rem;
  color: var(--wv-green);
  -webkit-text-stroke: 0.8px rgba(31, 39, 35, 0.92);
  paint-order: stroke fill;
}

.wv-hero__promise::before {
  content: "";
  position: absolute;
  top: 0.12em;
  bottom: 0.02em;
  left: -1.75rem;
  width: 4px;
  border-radius: var(--wv-radius-round);
  background: var(--wv-terracotta);
}

.wv-hero__promise .wv-typeword {
  position: relative;
  display: inline-block;
  color: var(--wv-terracotta);
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
  -webkit-text-stroke: 0;
}

.wv-hero__intro {
  max-width: 36rem;
  margin: 2.125rem 0 0;
  color: var(--wv-muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.wv-actions {
  margin-top: 1.9375rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.wv-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 570px;
  align-self: stretch;
  display: flex;
  align-items: center;
  animation: wv-reveal var(--wv-motion-visual) 100ms var(--wv-ease-out) both;
}

.wv-hero__video {
  position: relative;
  z-index: 1;
  width: 144%;
  max-width: none;
  height: auto;
  margin-left: -22%;
  display: block;
  aspect-ratio: 1.907 / 1;
  object-fit: cover;
}

.wv-hero__fallback {
  width: 128%;
  max-width: none;
  height: auto;
  margin-left: -14%;
  display: none;
}

.wv-hero__visual.is-static .wv-hero__video {
  display: none;
}

.wv-hero__visual.is-static .wv-hero__fallback {
  display: block;
}

.wv-problem,
.wv-solution,
.wv-plan,
.wv-projects,
.wv-process,
.wv-about,
.wv-questions,
.wv-final-cta {
  padding-block: var(--wv-section);
}

.wv-problem__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.wv-problem__intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.wv-problem__intro > p:last-child {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--wv-muted);
  font-size: 1.05rem;
}

.wv-problem__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wv-line);
  list-style: none;
}

.wv-problem__list li {
  min-height: 92px;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--wv-line);
}

.wv-problem__list span {
  color: var(--wv-terracotta);
  font-size: 0.82rem;
  font-weight: 700;
}

.wv-problem__list p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.wv-solution {
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.04), transparent 28rem),
    var(--wv-chalk);
  color: var(--wv-paper-light);
}

.wv-solution h2,
.wv-solution h3 {
  color: var(--wv-paper-light);
}

.wv-solution .wv-kicker,
.wv-solution__number {
  color: var(--wv-chalk-light);
}

.wv-solution .wv-section-heading--split > p,
.wv-solution .wv-section-heading--split > div:last-child {
  color: var(--wv-chalk-muted);
}

.wv-solution .wv-action-link {
  margin-top: 1rem;
  border-color: var(--wv-chalk-line);
  color: var(--wv-paper-light);
}

.wv-solution .wv-action-link:hover,
.wv-solution .wv-action-link:focus-visible {
  border-color: rgba(247, 248, 244, 0.48);
  background: rgba(247, 248, 244, 0.09);
}

.wv-solution__track {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--wv-chalk-line);
  list-style: none;
}

.wv-solution__track li {
  position: relative;
  min-height: 250px;
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--wv-chalk-line);
}

.wv-solution__track li + li {
  padding-left: 1.5rem;
}

.wv-solution__track li:last-child {
  border-right: 0;
}

.wv-solution__number {
  display: block;
  margin-bottom: 3.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.wv-solution__track h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
}

.wv-solution__track p {
  margin: 1rem 0 0;
  color: var(--wv-chalk-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.wv-plan__panel {
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  border: 1.5px solid var(--wv-ink);
  border-radius: var(--wv-radius-large);
  background: var(--wv-green);
}

.wv-plan__copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
}

.wv-plan__lead {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-size: 1.08rem;
}

.wv-plan .wv-button--primary {
  background: var(--wv-paper-light);
}

.wv-plan__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(31, 39, 35, 0.3);
  list-style: none;
}

.wv-plan__steps li {
  padding-block: 1.5rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(31, 39, 35, 0.3);
}

.wv-plan__steps > li > span {
  color: var(--wv-ink);
  font-weight: 700;
}

.wv-plan__copy .wv-kicker,
.wv-final-cta .wv-kicker {
  color: var(--wv-ink);
}

.wv-plan__steps h3,
.wv-plan__steps p {
  margin: 0;
}

.wv-plan__steps h3 {
  font-size: 1.3rem;
  font-weight: 400;
}

.wv-plan__steps p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.wv-projects {
  background: var(--wv-paper-light);
}

.wv-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.wv-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wv-line);
  border-radius: var(--wv-radius-card);
  background: var(--wv-paper);
}

.wv-project-card__image,
.wv-project-card__image picture {
  display: block;
}

.wv-project-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wv-paper);
}

.wv-project-card__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--wv-motion-control) var(--wv-ease-out);
}

.wv-project-card:hover .wv-project-card__media {
  transform: scale(1.025);
}

.wv-project-card__body {
  padding: 1.75rem;
}

.wv-project-card__body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.wv-project-card__body h3 a {
  text-decoration: none;
}

.wv-project-card__body > p:not(.wv-meta) {
  min-height: 4.8em;
  margin: 1rem 0;
  color: var(--wv-muted);
  font-size: 0.95rem;
}

.wv-projects__heading {
  grid-template-areas:
    "title action"
    "title copy";
  align-items: start;
  row-gap: 1.5rem;
}

.wv-projects__title {
  grid-area: title;
}

.wv-projects__intro {
  grid-area: copy;
  max-width: 34rem;
  margin: 0;
  align-self: end;
}

.wv-projects__all {
  grid-area: action;
  margin-top: 0;
  justify-self: end;
}

.wv-questions .wv-action-link {
  margin-top: 0.25rem;
}

.wv-process__steps {
  --wv-process-gap: clamp(2rem, 5vw, 5rem);
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wv-process-gap);
  list-style: none;
}

.wv-process__steps li {
  position: relative;
}

.wv-process__steps li:not(:last-child)::before,
.wv-process__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: calc(-1 * var(--wv-process-gap));
  left: 52px;
  height: 1px;
}

.wv-process__steps li:not(:last-child)::before {
  background: var(--wv-line);
}

.wv-process__steps li:not(:last-child)::after {
  background: var(--wv-terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 460ms var(--wv-ease-out);
}

.wv-process__marker {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--wv-ink);
  border-radius: 50%;
  background: var(--wv-paper);
  color: var(--wv-terracotta);
  font-weight: 700;
  transition:
    border-color var(--wv-motion-fast) ease,
    background var(--wv-motion-fast) ease,
    box-shadow var(--wv-motion-fast) ease,
    transform var(--wv-motion-fast) ease;
}

.wv-hover-type {
  --wv-type-steps: 2;
  width: max-content;
  display: inline-block;
  justify-self: start;
  font-variant-numeric: tabular-nums;
}

.wv-process__marker .wv-hover-type {
  --wv-type-steps: 1;
  justify-self: center;
}

@media (hover: hover) {
  .wv-problem__list li:hover .wv-hover-type,
  .wv-solution__track li:hover .wv-hover-type,
  .wv-plan__steps li:hover .wv-hover-type,
  .wv-process__steps li:hover .wv-hover-type {
    animation: wv-marker-type 420ms steps(var(--wv-type-steps), end) both;
  }

  .wv-process__steps li:hover::after {
    transform: scaleX(1);
  }

  .wv-process__steps li:hover .wv-process__marker {
    border-color: var(--wv-green);
    background: color-mix(in srgb, var(--wv-green) 10%, var(--wv-paper));
    box-shadow: 0 8px 20px rgba(31, 39, 35, 0.1);
    transform: translateY(-3px);
  }
}

@keyframes wv-marker-type {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

.wv-process__steps h3 {
  margin: 1.75rem 0 0;
  font-size: 1.5rem;
  font-weight: 400;
}

.wv-process__steps p {
  margin: 0.75rem 0 0;
  color: var(--wv-muted);
}

.wv-about {
  background: var(--wv-paper-light);
}

.wv-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.wv-about__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--wv-radius-large);
  background: var(--wv-paper);
  aspect-ratio: 4 / 5;
}

.wv-about__image picture {
  height: 100%;
  display: block;
}

.wv-about__portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.wv-about__copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1;
}

.wv-about__copy > p:not(.wv-kicker) {
  max-width: 40rem;
  color: var(--wv-muted);
}

.wv-about__lead {
  margin: 1.75rem 0 0;
  color: var(--wv-ink) !important;
  font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.45 var(--wv-font-display);
}

.wv-about .wv-button {
  margin-top: 1.25rem;
}

.wv-questions__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.wv-questions__intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.wv-questions__intro > p:not(.wv-kicker) {
  margin: 1.5rem 0;
  color: var(--wv-muted);
}

.wv-accordion {
  border-top: 1px solid var(--wv-line);
}

.wv-accordion details {
  border-bottom: 1px solid var(--wv-line);
}

.wv-accordion summary {
  min-height: 76px;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: var(--wv-ink);
  font: 400 clamp(1.15rem, 2vw, 1.4rem)/1.3 var(--wv-font-display);
  list-style: none;
}

.wv-accordion summary::-webkit-details-marker {
  display: none;
}

.wv-accordion summary span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wv-ink);
  border-radius: 50%;
  font: 400 1.25rem/1 var(--wv-font-ui);
  transition: transform var(--wv-motion-control) ease;
}

.wv-accordion details[open]:not(.is-closing) summary span {
  transform: rotate(45deg);
}

.wv-accordion__answer {
  overflow: hidden;
}

.wv-accordion__answer p {
  max-width: 42rem;
  margin: 0;
  padding: 0 3rem 1.5rem 0;
  color: var(--wv-muted);
}

.wv-final-cta {
  padding-top: 2rem;
}

.wv-final-cta__panel {
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  border: 1.5px solid var(--wv-ink);
  border-radius: var(--wv-radius-large);
  background: var(--wv-green);
}

.wv-final-cta h2 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.wv-final-cta__panel > div:first-child > p:last-child {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.wv-final-cta__actions {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.wv-final-cta__actions .wv-button {
  background: var(--wv-paper-light);
}

.wv-final-cta__actions p {
  margin: 0;
  font-size: 0.9rem;
}

@keyframes wv-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .wv-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
    gap: 3.5rem;
  }

  .wv-hero__title {
    font-size: clamp(3rem, 5vw, 3.8rem);
  }

  .wv-solution__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .wv-solution__track li:nth-child(3) {
    border-right: 0;
  }

  .wv-solution__track li:nth-child(n + 4) {
    border-top: 1px solid rgba(251, 250, 246, 0.18);
  }
}

@media (max-width: 900px) {
  .wv-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wv-project-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 820px) {
  .wv-hero__layout {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.875rem;
    padding-block: 1.5rem 2.25rem;
  }

  .wv-projects__heading {
    grid-template-areas:
      "title"
      "copy"
      "action";
  }

  .wv-projects__all {
    justify-self: start;
  }

  .wv-hero__title {
    font-size: clamp(2.55rem, 11.3vw, 3.2rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
  }

  .wv-hero__promise {
    margin-top: 0.8125rem;
  }

  .wv-hero__promise::before {
    top: 0.08em;
    left: -0.6875rem;
    width: 3px;
  }

  .wv-hero__intro {
    margin-top: 1.25rem;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .wv-actions {
    margin-top: 1.3125rem;
    align-items: stretch;
    gap: 0.5625rem;
  }

  .wv-hero__visual {
    min-height: 0;
    margin: -0.5rem -0.6875rem 0;
  }

  .wv-hero__video,
  .wv-hero__fallback {
    width: 128%;
    min-height: 258px;
    margin-left: -14%;
    object-fit: cover;
  }

  .wv-problem__layout,
  .wv-plan__panel,
  .wv-about__layout,
  .wv-questions__layout,
  .wv-final-cta__panel {
    grid-template-columns: 1fr;
  }

  .wv-solution__track {
    grid-template-columns: 1fr 1fr;
  }

  .wv-solution__track li:nth-child(2n) {
    border-right: 0;
  }

  .wv-solution__track li:nth-child(3) {
    border-right: 1px solid rgba(251, 250, 246, 0.18);
  }

  .wv-solution__track li:nth-child(n + 3) {
    border-top: 1px solid rgba(251, 250, 246, 0.18);
  }

  .wv-plan__panel,
  .wv-final-cta__panel {
    width: calc(100% - 36px);
  }

  .wv-process__steps {
    --wv-process-gap: 2rem;
    grid-template-columns: 1fr;
    gap: var(--wv-process-gap);
  }

  .wv-process__steps li:not(:last-child)::before,
  .wv-process__steps li:not(:last-child)::after {
    top: 52px;
    right: auto;
    bottom: auto;
    left: 26px;
    width: 1px;
    height: calc(100% + var(--wv-process-gap) - 52px);
  }

  .wv-process__steps li:not(:last-child)::after {
    transform: scaleY(0);
    transform-origin: center top;
  }

  @media (hover: hover) {
    .wv-process__steps li:hover::after {
      transform: scaleY(1);
    }
  }

  .wv-process__steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.5rem;
  }

  .wv-process__steps h3 {
    margin-top: 0;
  }

  .wv-about__image {
    max-height: 44rem;
  }
}

@media (max-width: 620px) {
  .wv-solution__track,
  .wv-projects__grid {
    grid-template-columns: 1fr;
  }

  .wv-solution__track li,
  .wv-solution__track li + li,
  .wv-solution__track li:nth-child(3) {
    min-height: 0;
    padding: 1.5rem 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(251, 250, 246, 0.18);
  }

  .wv-solution__number {
    margin-bottom: 1.25rem;
  }

  .wv-project-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .wv-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wv-plan__panel,
  .wv-final-cta__panel {
    padding: 2rem 1.25rem;
  }

  .wv-project-card__body {
    padding: 1.35rem;
  }

  .wv-project-card__body > p:not(.wv-meta) {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wv-hover-type {
    animation: none !important;
    clip-path: none !important;
  }

  .wv-process__steps li::after,
  .wv-process__marker {
    transition: none !important;
  }

  .wv-hero__video {
    display: none;
  }

  .wv-hero__fallback {
    display: block;
  }

}
