html {
  scroll-padding-top: var(--header);
}

.proces-page {
  background: var(--paper);
}

.proces-page .page-main {
  padding-top: var(--header);
}

.process-breadcrumbs {
  display: flex;
  margin-bottom: 8px;
  color: #7b776f;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.process-breadcrumbs a {
  color: var(--gold-dark);
}

.process-breadcrumbs a:hover,
.process-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process-breadcrumbs [aria-current="page"] {
  color: #514e47;
  font-weight: 600;
}

.process-hero {
  min-height: calc(100svh - var(--header));
  padding: 10px 0 14px;
  background: var(--warm);
}

.process-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 440px);
  align-items: start;
  gap: clamp(34px, 4vw, 58px);
}

.process-hero-copy {
  max-width: 590px;
  padding-top: 30px;
}

.process-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.35vw, 3.65rem);
  line-height: 1.08;
}

.process-lead {
  max-width: 610px;
  margin-bottom: 0;
  color: #514f49;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.process-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.process-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.process-hero-photo {
  position: relative;
  min-width: 0;
  width: auto;
  height: min(782px, calc(100svh - var(--header) - 56px));
  aspect-ratio: 9 / 16;
  align-self: center;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  isolation: isolate;
}

.process-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-hero-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: grid;
  margin: 0;
  padding: 10px 13px;
  color: #fff;
  background: rgba(36, 36, 36, 0.8);
  gap: 2px;
  font-size: 12px;
  line-height: 1.5;
}

.process-hero-photo figcaption strong {
  color: var(--gold);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 14px;
}

.process-section {
  padding: clamp(46px, 5.5vw, 72px) 0;
}

.process-section-heading {
  display: grid;
  margin-bottom: clamp(28px, 4vw, 46px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  column-gap: 38px;
}

.process-section-heading .eyebrow {
  grid-column: 1 / -1;
}

.process-section-heading h2 {
  margin: 0;
}

.process-section-heading > p:last-child {
  margin: 0;
  color: #65625c;
  line-height: 1.75;
}

.process-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.process-steps::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 1px;
  content: "";
  background: #ddd9d0;
}

.process-step {
  position: relative;
  display: grid;
  min-height: 150px;
  padding: 0 0 46px 94px;
  counter-increment: process-step;
}

.process-step::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  width: 61px;
  height: 61px;
  border: 1px solid #ded9ce;
  color: var(--gold-dark);
  content: counter(process-step, decimal-leading-zero);
  background: #fff;
  place-items: center;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.process-step article {
  max-width: 790px;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-step p:last-child {
  margin-bottom: 0;
}

.process-step-label {
  margin-bottom: 7px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.process-step--with-photo,
.process-step--project {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 58px);
}

.process-step-photo,
.process-drawing {
  margin: 0;
  border-bottom: 2px solid var(--gold);
  background: #eceae4;
}

.process-step-photo img,
.process-drawing img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.process-step-photo figcaption,
.process-drawing figcaption {
  padding: 13px 15px 15px;
  color: #625e56;
  font-size: 11px;
  line-height: 1.55;
}

.process-drawing figcaption {
  display: grid;
  gap: 3px;
}

.process-drawing figcaption strong {
  color: var(--heading);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 13px;
}

.process-deliverables {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  list-style: none;
}

.process-deliverables li {
  position: relative;
  padding-left: 17px;
  color: #4e4b45;
  font-size: 12px;
}

.process-deliverables li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  transform: translateY(-50%);
}

.project-section {
  padding: clamp(54px, 6vw, 82px) 0;
  color: #d2d2d2;
  background: var(--dark);
}

.project-section h2 {
  color: #fff;
}

.project-section .eyebrow {
  color: var(--gold);
}

.project-intro {
  display: grid;
  margin-bottom: clamp(28px, 4vw, 46px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 38px;
}

.project-intro h2,
.project-intro > p {
  margin-bottom: 0;
}

.project-intro > p {
  color: #c9c9c9;
  line-height: 1.75;
}

.project-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-visuals figure {
  margin: 0;
  background: #202020;
}

.project-visuals img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-visuals figcaption {
  display: grid;
  padding: 16px 18px 18px;
  border-top: 1px solid #444;
  gap: 3px;
  font-size: 11px;
}

.project-visuals figcaption strong {
  color: var(--gold);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 14px;
}

.worktime-section {
  padding: clamp(46px, 5.5vw, 72px) 0;
  background: var(--warm);
}

.worktime-heading {
  display: grid;
  margin-bottom: clamp(28px, 4vw, 46px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 0 38px;
}

.worktime-heading .eyebrow {
  grid-column: 1 / -1;
}

.worktime-heading h2,
.worktime-heading > p:last-child {
  margin-bottom: 0;
}

.worktime-heading > p:last-child {
  color: #65625c;
  line-height: 1.75;
}

.worktime-grid {
  display: grid;
  border-top: 1px solid #d8d4cb;
  border-bottom: 1px solid #d8d4cb;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worktime-grid article {
  padding: clamp(24px, 3vw, 36px);
}

.worktime-grid article + article {
  border-left: 1px solid #d8d4cb;
}

.worktime-grid strong,
.worktime-grid > article > span {
  display: block;
}

.worktime-grid strong {
  color: var(--gold-dark);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
  line-height: 1;
}

.worktime-grid > article > span {
  margin: 6px 0 24px;
  color: #777268;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.worktime-grid h3 {
  min-height: 2.7em;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.worktime-grid p {
  margin: 0;
  font-size: 13px;
}

.worktime-note {
  max-width: 850px;
  margin: 22px 0 0;
  color: #6d685f;
  font-size: 11px;
}

.process-faq {
  padding: clamp(54px, 6vw, 82px) 0;
}

.process-faq .split-layout--faq {
  align-items: start;
}

.process-faq .section-heading {
  position: sticky;
  top: calc(var(--header) + 30px);
  margin-bottom: 0;
}

.process-faq .section-heading > p:last-child {
  color: #65625c;
}

.process-cta {
  padding: clamp(44px, 5vw, 70px) 0;
  color: #d0d0d0;
  text-align: center;
  background: var(--dark);
}

.process-cta .eyebrow {
  color: var(--gold);
}

.process-cta h2 {
  color: #fff;
}

.process-cta-inner {
  max-width: 820px;
}

.process-cta-inner > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto 27px;
}

.process-actions--center {
  flex-direction: row;
  justify-content: center;
}

.process-phone {
  min-height: 44px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255, 195, 0, 0.7);
  color: #fff;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.process-phone:hover,
.process-phone:focus-visible {
  color: var(--gold);
}

@media (min-width: 1025px) {
  .proces-page .content-shell {
    width: min(100% - 48px, 1230px);
  }

  .process-hero {
    height: calc(100svh - var(--header));
    min-height: 620px;
    overflow: hidden;
  }

  .process-hero > .content-shell {
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .process-hero-grid {
    min-height: 0;
    flex: 1;
    align-items: center;
  }

  .process-hero-copy {
    padding-top: 0;
  }
}

@media (max-width: 1024px) {
  .process-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
    gap: 32px;
  }

  .process-step--with-photo,
  .process-step--project {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  }
}

@media (max-width: 820px) {
  .process-hero {
    min-height: 0;
    padding: 12px 0 46px;
  }

  .process-hero-grid,
  .process-section-heading,
  .process-step--with-photo,
  .process-step--project,
  .project-intro,
  .worktime-heading {
    grid-template-columns: 1fr;
  }

  .process-hero-grid {
    gap: 32px;
  }

  .process-hero-photo {
    width: min(100%, 420px);
    height: auto;
  }

  .process-section-heading {
    align-items: start;
    gap: 0;
  }

  .process-section-heading > p:last-child {
    margin-top: 14px;
  }

  .process-step--with-photo,
  .process-step--project {
    gap: 28px;
  }

  .process-step-photo,
  .process-drawing {
    max-width: 650px;
  }

  .project-intro,
  .worktime-heading {
    align-items: start;
    gap: 14px;
  }

  .worktime-heading .eyebrow {
    grid-column: auto;
  }

  .process-faq .section-heading {
    position: static;
  }
}

@media (max-width: 600px) {
  .process-hero {
    padding-bottom: 0;
  }

  .process-breadcrumbs {
    margin-bottom: 18px;
  }

  .process-hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 10.5vw, 2.55rem);
  }

  .process-lead {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .process-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .process-actions--center {
    flex-direction: column;
  }

  .process-actions .button {
    width: 100%;
    justify-content: center;
  }

  .process-hero-photo {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
  }

  .process-hero-photo figcaption {
    padding: 13px 18px 15px;
  }

  .process-section {
    padding: 46px 0;
  }

  .process-steps::before {
    left: 23px;
  }

  .process-step {
    min-height: 138px;
    padding: 0 0 48px 72px;
  }

  .process-step::before {
    width: 47px;
    height: 47px;
    font-size: 13px;
  }

  .process-step h3 {
    font-size: 1.25rem;
  }

  .process-step article > p:not(.process-step-label) {
    font-size: 14px;
  }

  .process-step-photo,
  .process-drawing {
    grid-column: 1;
  }

  .process-deliverables {
    grid-template-columns: 1fr;
  }

  .project-visuals,
  .worktime-grid {
    grid-template-columns: 1fr;
  }

  .project-visuals {
    gap: 8px;
  }

  .worktime-grid article {
    padding: 28px 0;
  }

  .worktime-grid article + article {
    border-top: 1px solid #d8d4cb;
    border-left: 0;
  }

  .worktime-grid h3 {
    min-height: 0;
  }

  .process-actions--center {
    align-items: center;
  }

  .project-section,
  .process-faq {
    padding: 54px 0;
  }

  .worktime-section {
    padding: 46px 0;
  }

  .process-cta {
    padding: 44px 0;
  }
}

@media (max-width: 380px) {
  .process-step {
    padding-left: 62px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .process-breadcrumbs a,
  .process-phone {
    scroll-behavior: auto;
  }
}
