/* Process page: evening hero, responsive details, and generous portrait crops. */
.page-id-4596 .hero-wrapper h1 {
  font-size: clamp(2.625rem, 4.3vw, 4.5rem);
  line-height: 1.2;
}

.page-id-4596 #process-phases,
.page-id-4596 #start-your-build {
  scroll-margin-top: 120px;
}

.page-id-4596 .cew-item:focus-within {
  outline: 2px solid var(--raisin-black, #231f20);
  outline-offset: -5px;
}

.page-id-4596 .cew-item.bg-image:focus-within {
  outline-color: #fff;
}

.page-id-4596 #oclu-slider .owl-nav {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  margin: 0;
  pointer-events: none;
}

.page-id-4596 #oclu-slider .owl-nav button.owl-prev,
.page-id-4596 #oclu-slider .owl-nav button.owl-next {
  position: static;
  transform: none;
  margin: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  pointer-events: auto;
}

.page-id-4596 #oclu-slider .owl-dots {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 20px auto 0;
  position: relative;
}

.page-id-4596 #oclu-slider .owl-dots .owl-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  margin: 0;
  padding: 0;
}

.page-id-4596 #oclu-slider .owl-dots .owl-dot span { margin: 0; }
.page-id-4596 #oclu-slider button:focus-visible,
.page-id-4596 .slidebtn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* The shared styles overlap at 1229px; keep the desktop menu on screen. */
@media (min-width: 1229px) {
  .page-id-4596 #tophead { overflow: visible; }
  .page-id-4596 .site-header .cbp-spmenu {
    position: static;
    width: auto;
    height: auto;
    inset: auto;
    overflow: visible;
    background: transparent;
  }
  .page-id-4596 .site-header .cbp-spmenu ul.main-nav { margin-top: 0; }
}

@media (max-width: 599px) {
  .page-id-4596 .hero-wrapper h1 { font-size: 36px; }
  .page-id-4596 .hero-wrapper p { font-size: 18px; line-height: 1.6; }
  .page-id-4596 .hero-wrapper .btn-block { gap: 16px; }
  .page-id-4596 .hero-wrapper .site-btn {
    width: 100%;
    max-width: 320px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 1px;
  }
  .page-id-4596 .hero-wrapper .site-btn > .btn-text { padding: 16px 12px; }
  .page-id-4596 .funfacts-wrapper .ff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .page-id-4596 .funfacts-wrapper h3 { font-size: 26px; }
  .page-id-4596 .funfacts-wrapper p { font-size: 14px; line-height: 1.5; }
  .page-id-4596 .section-title h2.text-1xl,
  .page-id-4596 .scf-left-block h2.text-1xl { font-size: 36px; line-height: 1.2; }
  .page-id-4596 .section-title .title-text p { font-size: 18px; line-height: 1.6; }
  .page-id-4596 .section-title { margin-bottom: 32px; }
  .page-id-4596 #oclu-slider blockquote { padding: 28px 24px; }
  .page-id-4596 #oclu-slider blockquote p { font-size: 16px; line-height: 1.7; }
  .page-id-4596 #start-your-build { padding: 24px 16px; }
  .page-id-4596 .scf-form h3 { font-size: 32px; line-height: 1.2; }
  .page-id-4596 .scf-left-block .site-btn {
    padding: 0;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .page-id-4596 .scf-left-block .site-btn > .btn-text { padding: 16px 20px; }
}

/* Separate controls on the narrowest phones and contain the reserved row. */
@media (max-width: 359px) {
  .page-id-4596 #oclu-slider { display: flow-root; }
  .page-id-4596 #oclu-slider .owl-dots { margin-bottom: 48px; }
  .page-id-4596 #oclu-slider .owl-nav {
    width: 112px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-id-4596 .wow {
    visibility: visible !important;
    animation: none !important;
  }
}

.page-id-4596 .hero-wrapper .bgc-layer {
  min-height: clamp(850px, 78svh, 1050px);
  padding: 180px 0 130px;
  background: linear-gradient(180deg,
    rgb(8 16 24 / 40%) 0%,
    rgb(8 16 24 / 58%) 32%,
    rgb(8 16 24 / 58%) 68%,
    rgb(8 16 24 / 32%) 100%);
}

.page-id-4596 .tpgrid-wrapper .section-title h2 {
  max-width: 900px;
  margin-inline: auto;
  text-wrap: balance;
}

.page-id-4596 .tpgrid-wrapper .tpgrid-img {
  aspect-ratio: 4 / 5;
  background-position: center top;
}

.page-id-4596 .tpgrid-wrapper .tpgrid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1022px) {
  .page-id-4596 .hero-wrapper .bgc-layer {
    min-height: 680px;
    padding: 150px 0 90px;
  }
}

@media (max-width: 599px) {
  .page-id-4596 .hero-wrapper .bgc-layer {
    min-height: 740px;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, rgb(8 16 24 / 48%), rgb(8 16 24 / 60%) 28%, rgb(8 16 24 / 60%) 76%, rgb(8 16 24 / 42%));
  }
  .page-id-4596 .tpgrid-wrapper .section-title h2 {
    max-width: 18ch;
  }
}

/* Keep the copy shaded while bringing more light to Tony's portrait. */
.page-id-4596 .cew-grid .cew-item.bg-image:has(.cew-img img[alt="Tony Calvis"]) .cew-img::before {
  background: linear-gradient(90deg,
    rgba(35, 31, 32, .72) 0%,
    rgba(35, 31, 32, .68) 48%,
    rgba(35, 31, 32, .20) 72%,
    rgba(35, 31, 32, .08) 100%);
}

@media (max-width: 767px) {
  .page-id-4596 .cew-grid .cew-item.bg-image:has(.cew-img img[alt="Tony Calvis"]) .cew-img::before {
    background:
      linear-gradient(0deg, rgba(35, 31, 32, .70) 0%, rgba(35, 31, 32, .64) 48%, rgba(35, 31, 32, 0) 80%),
      linear-gradient(90deg, rgba(35, 31, 32, .72) 0%, rgba(35, 31, 32, .68) 48%, rgba(35, 31, 32, .20) 72%, rgba(35, 31, 32, .08) 100%);
  }
}

/* Match the Design-Build experience-card arrow interaction. */
@media (prefers-reduced-motion: no-preference) {
  .page-id-4596 .cew-grid .cew-item .cew-arrow {
    transition: transform 220ms ease-out;
  }

  .page-id-4596 .cew-grid .cew-item:focus-within .cew-arrow {
    transform: translateX(6px);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-id-4596 .cew-grid .cew-item:hover .cew-arrow {
    transform: translateX(6px);
  }
}

/* Keep the four Process profiles together as a compact mobile introduction. */
@media (max-width: 767px) {
  .page-id-4596 .tpgrid-wrapper .tpgrid-div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .page-id-4596 .tpgrid-wrapper .tpgrid-item { min-width: 0; }
  .page-id-4596 .tpgrid-wrapper .tpgrid-text { padding: 14px 10px; }

  .page-id-4596 .tpgrid-wrapper .tpgrid-text h5 {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .page-id-4596 .tpgrid-wrapper .tpgrid-text p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }
}


/* Short landscape phones keep the content readable without a tall empty hero. */
@media (min-width: 560px) and (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
  .page-id-4596 .hero-wrapper .bgc-layer {
    min-height: 0;
    height: auto;
    padding: 128px 0 40px;
  }

  .page-id-4596 .hero-wrapper h1 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.15;
  }

  .page-id-4596 .hero-wrapper p {
    font-size: 16px;
    line-height: 1.55;
  }

  .page-id-4596 .hero-wrapper .mt-20 { margin-top: 16px; }
  .page-id-4596 .hero-wrapper .btn-block { margin-top: 24px; gap: 12px; }
  .page-id-4596 .hero-wrapper .site-btn {
    min-height: 44px;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 1px;
  }
  .page-id-4596 .hero-wrapper .site-btn > .btn-text { padding: 14px 18px; }

  .page-id-4596 section.pd-60,
  .page-id-4596 section.lg-pd-100,
  .page-id-4596 section.cw-faq-editorial { padding-block: 48px; }

  .page-id-4596 .section-title { margin-bottom: 28px; }
  .page-id-4596 .section-title h2,
  .page-id-4596 .scf-left-block h2.text-1xl,
  .page-id-4596 #cw-process-faq-heading {
    font-size: clamp(34px, 3.8vw, 36px);
    line-height: 1.2;
  }
  .page-id-4596 .section-title .title-text { margin-top: 16px; }
  .page-id-4596 .section-title .title-text p { font-size: 16px; line-height: 1.55; }

  /* Reveal content immediately during fast touch scrolling; phase motion is separate. */
  .page-id-4596 .wow {
    visibility: visible !important;
    animation: none !important;
  }
}

/* Restore the original portrait framing while retaining the supplied full-size photos.
   Match the previous crops within the shared 4:5 tile on desktop and mobile.
   Target the source files so replacement portraits do not inherit these adjustments. */
.page-id-4596 .tpgrid-wrapper .tpgrid-img[style*="ae3a8d7936ef8d066ceed1c60b53d53f3923abef"] {
  background-size: auto 157.4%;
  background-position: 49.6% 41.4%;
}

.page-id-4596 .tpgrid-wrapper .tpgrid-img[style*="cfa288b49e7d74a754feb4445655e278c9799c1d"] {
  background-size: auto 132.7%;
  background-position: 49.8% 43.4%;
}
