.home .wp-block-post-content > * + * {
  margin-block-start: 0;
}
.home .wp-block-post-content .wp-block-group {
  box-sizing: border-box;
}
.yc-hero,
.yc-about,
.yc-services,
.yc-process,
.yc-audience,
.yc-contact {
  margin-block-start: 0 !important;
}
.yc-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  background: #26232b;
  color: #fff;
}
.yc-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(25, 24, 28, 0.86),
      rgba(25, 24, 28, 0.62) 52%,
      rgba(25, 24, 28, 0.32)
    ),
    linear-gradient(180deg, transparent 55%, rgba(25, 24, 28, 0.42));
  content: '';
}
.yc-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
}
.yc-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.94) brightness(0.9);
}
.yc-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
  padding-block: 88px 80px;
}
.yc-hero-content > * {
  max-width: 740px;
}
.yc-hero .yc-eyebrow {
  margin: 0 0 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.yc-hero h1 {
  margin: 0;
  color: #fff;
  font-size: var(--yc-heading-1);
  font-weight: 600;
  line-height: 1.12;
}
.yc-hero-content > p:not(.yc-eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--yc-body-size);
  line-height: 1.65;
}
.yc-hero .wp-block-buttons {
  margin-top: 29px;
}
.yc-hero-button .wp-block-button__link {
  border-radius: 4px;
  background: #fff;
  color: #242027;
}
.yc-about {
  background: #fafafa;
  padding-block: 58px;
}
.yc-about-inner {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  position: relative;
  border: 1px solid rgba(118, 39, 128, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  padding: 38px 42px;
  box-shadow: 0 22px 60px rgba(63, 37, 67, 0.075);
}
.yc-about-inner::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #762780, rgba(118, 39, 128, 0.26));
  content: '';
}
.yc-about h2 {
  margin: 0;
  font-size: var(--yc-heading-2);
  font-weight: 600;
}
.yc-about-copy p {
  margin: 0;
  color: var(--yc-muted);
  font-size: var(--yc-body-size);
  line-height: 1.65;
}
.yc-about-copy p + p {
  margin-top: 16px;
}
.yc-services {
  background: #f7f7f6;
  padding-block: 56px 64px;
}
.yc-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 30px;
}
.yc-section-intro h2 {
  margin: 0;
  font-size: var(--yc-heading-2);
  font-weight: 600;
  line-height: 1.2;
}
.yc-section-intro p {
  max-width: 540px;
  margin: 0;
  color: #514b54;
  font-size: 16px;
  line-height: 1.68;
}
.yc-service-row {
  display: grid;
  grid-template-columns: minmax(310px, 0.46fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(40, 34, 44, 0.1);
  border-radius: 4px;
  background: #fff;
  padding: 25px;
  box-shadow: 0 18px 55px rgba(20, 20, 20, 0.055);
}
.yc-service-media,
.yc-service-image {
  min-width: 0;
  margin: 0 !important;
}
.yc-service-image {
  overflow: hidden;
  border-radius: 4px;
  background: #eae7eb;
}
.yc-service-image img {
  display: block;
  width: 100%;
  height: clamp(280px, 29vw, 365px);
  object-fit: cover;
  filter: grayscale(0.32) saturate(0.82) contrast(0.96) brightness(0.92);
  transition:
    filter 0.35s ease,
    transform 0.5s ease;
}
.yc-service-row:hover .yc-service-image img {
  filter: grayscale(0) saturate(0.96) contrast(0.98) brightness(0.98);
  transform: scale(1.045);
}
.yc-service-copy {
  max-width: 590px;
}
.yc-service-copy h3 {
  margin: 0;
  font-size: var(--yc-heading-3);
  font-weight: 600;
  line-height: 1.3;
}
.yc-service-copy .yc-service-lead {
  margin: 11px 0 0;
  color: #2b2530;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.yc-service-description {
  margin: 13px 0 0;
  color: var(--yc-muted);
  font-size: var(--yc-body-size);
  line-height: 1.65;
}
.yc-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.yc-service-tag {
  margin: 0 !important;
  border: 1px solid #dedede;
  border-radius: 999px;
  padding: 5px 10px;
  color: #505050;
  font-size: 14px;
  font-weight: 500;
}
.yc-service-copy .wp-block-buttons {
  margin-top: 23px;
}
.yc-service-button .wp-block-button__link {
  border-radius: 4px;
  background: #762780;
  color: #fff;
}
.yc-service-button .wp-block-button__link:hover {
  background: #5f2067;
  color: #fff;
}
.yc-service-button .wp-block-button__link:focus-visible {
  outline: 3px solid #d286b9;
  outline-offset: 3px;
}
.yc-process {
  background: linear-gradient(180deg, #f7f7f6 0%, #fff 38%, #f7f7f6 100%);
  padding-block: 56px 64px;
}
.yc-process-flow {
  position: relative;
  isolation: isolate;
}
.yc-process-path {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.yc-process-path path {
  fill: none;
  stroke: rgba(118, 39, 128, 0.7);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  stroke-linecap: round;
  animation: yc-flow 16s linear infinite;
}
.yc-process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 108px 60px;
  align-items: start;
  padding-block: 16px 24px;
  counter-reset: yc-step;
}
.yc-process-step {
  position: relative;
  width: 100%;
  max-width: 350px;
  justify-self: center;
  grid-column: span 2;
  margin: 0 !important;
  border: 1px solid rgba(118, 39, 128, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(40, 28, 44, 0.09);
  counter-increment: yc-step;
}
.yc-process-step::before {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  margin-bottom: 9px;
  border: 1px solid rgba(118, 39, 128, 0.36);
  border-radius: 50%;
  background: #fff;
  color: #762780;
  font-size: 11px;
  font-weight: 700;
  content: counter(yc-step);
}
.yc-process-step:nth-child(2) {
  transform: translateY(32px);
}
.yc-process-step:nth-child(4) {
  grid-column: 4 / span 3;
  grid-row: 2;
}
.yc-process-step:nth-child(5) {
  grid-column: 1 / span 3;
  grid-row: 2;
}
.yc-process-step h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.yc-process-step p {
  margin: 9px 0 0;
  color: var(--yc-muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}
.yc-audience {
  background: #fafafa;
  padding-block: 56px 64px;
}
.yc-audience-intro {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}
.yc-audience-intro h2 {
  margin: 0;
  font-size: var(--yc-heading-2);
  font-weight: 600;
}
.yc-audience-intro p {
  margin: 14px 0 0;
  color: #514b54;
  font-size: 16px;
  line-height: 1.65;
}
.yc-audience-list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin-inline: auto;
  gap: 0;
}
.yc-audience-item {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 40px;
  align-items: baseline;
  margin: 0 !important;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}
.yc-audience-item:last-child {
  border-bottom: 0;
}
.yc-audience-item h3 {
  margin: 0;
  color: var(--yc-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.yc-audience-item p {
  margin: 0 !important;
  color: var(--yc-muted);
  font-size: 15px;
  line-height: 1.7;
}
.yc-contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(31, 31, 31, 0.1);
  background: #ececea;
  padding-block: 56px 64px;
}
.yc-contact::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    #762780 0 22%,
    rgba(118, 39, 128, 0.18) 22% 54%,
    transparent 54%
  );
  content: '';
}
.yc-contact::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(118, 39, 128, 0.13);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.yc-contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: start;
}
.yc-contact-copy h2 {
  margin: 0;
  font-size: var(--yc-heading-2);
  font-weight: 600;
}
.yc-contact-copy p {
  max-width: 420px;
  margin: 15px 0 0;
  color: #514b54;
  font-size: 16px;
  line-height: 1.68;
}
@keyframes yc-flow {
  to {
    stroke-dashoffset: -320;
  }
}
@media (max-width: 1000px) {
  .yc-process-flow,
  .yc-process-steps {
    min-height: 0;
  }
  .yc-process-path {
    display: none;
  }
  .yc-process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .yc-process-step,
  .yc-process-step:nth-child(n) {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }
  .yc-process-step:nth-child(5) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .yc-hero,
  .yc-hero-content {
    min-height: 480px;
  }
  .yc-hero-content {
    padding-block: 64px 56px;
  }
  .yc-about-inner,
  .yc-section-intro,
  .yc-service-row,
  .yc-contact-inner {
    display: block;
  }
  .yc-about-inner {
    padding: 30px 28px;
  }
  .yc-about-copy,
  .yc-section-intro p,
  .yc-service-copy {
    margin-top: 22px;
  }
  .yc-service-image img {
    height: 260px;
  }
  .yc-services,
  .yc-process,
  .yc-audience,
  .yc-contact {
    padding-block: 44px;
  }
  .yc-process-steps,
  .yc-audience-list,
  .yc-contact-fields {
    grid-template-columns: 1fr;
  }
  .yc-process-step:nth-child(5),
  .yc-audience-item:last-child {
    grid-column: auto;
  }
  .yc-audience-intro {
    text-align: left;
  }
  .yc-audience-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yc-process-path path {
    animation: none;
  }
  .yc-service-image img {
    transition: none;
  }
}
