.job-nav { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; font-size: .92rem; }
.job-head .header-cta { margin-left: 0; }
.case-page { padding-block: clamp(1.2rem, 4vw, 3.5rem); background: #242620; }
.levada-feature {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto 2.35rem;
  border: 1px solid #616455;
  border-radius: 1rem;
  overflow: clip;
  background: #faf9f3;
  color: #252820;
}
.case-page .levada-feature { margin-bottom: 0; }
.levada-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  isolation: isolate;
  min-height: clamp(9rem, 17vw, 14rem);
  padding: clamp(1rem, 3.3vw, 2.7rem) 1rem;
  background: #414139;
  color: #fff;
  text-align: center;
}
.levada-cover > img, .levada-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.levada-cover > img { z-index: -2; display: block; object-fit: cover; object-position: 50% 42%; }
.levada-cover::after { content: ""; z-index: -1; background: linear-gradient(100deg,#10120ed1,#171b16a8 49%,#151610c7); }
.cover-text { max-width: min(100%, 37rem); min-width: 0; overflow-wrap: break-word; }
.cover-text p:first-child { margin: 0 0 .55rem; color: #ffe398; font-size: .89rem; font-weight: 640; }
.cover-text :is(h1,h3) { margin: 0; font-size: clamp(1.9rem, 4.9vw, 3.7rem); font-weight: 690; line-height: .98; letter-spacing: -.063em; }
.cover-text p:last-child { max-width: 31rem; margin: .85rem auto 0; color: #f5f4e9; font-size: clamp(.9375rem, 1.25vw, 1.05rem); line-height: 1.4; }
.project-interior { padding: clamp(.8rem, 2.4vw, 1.65rem) clamp(.55rem, 2vw, 1.6rem) clamp(.85rem, 2.4vw, 1.6rem); }
.job-stages { scroll-margin-top: 4.4rem; }
.stage-deck, .stage-pages, .job-chapter, .job-gallery, .job-videos figure { min-width: 0; }
.stage-head > :is(h2,h4), .job-video > :is(h2,h4) { margin: 0; font-size: clamp(1.23rem, 2.2vw, 1.65rem); line-height: 1.12; font-weight: 670; letter-spacing: -.045em; }
.stage-pages { --photo-height: clamp(14rem, 44svh, 25rem); margin-top: .55rem; touch-action: pan-y pinch-zoom; }
.job-chapter {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(1rem, 3vw, 2.25rem); align-items: center;
}
.job-gallery figure[hidden] { display: none; }
.ready .stage-pages { display: grid; }
.ready .job-chapter { grid-area: 1 / 1; align-content: center; }
.ready .job-chapter[hidden] { visibility: hidden; pointer-events: none; display: grid; }
.ready .job-gallery { min-height: var(--photo-height); align-content: center; }
.job-chapter + .job-chapter:not([hidden]) { margin-top: 1rem; }
.ready .job-chapter + .job-chapter:not([hidden]) { margin-top: 0; }
.chapter-copy { grid-column: 2; grid-row: 1; width: min(100%, 32rem); justify-self: center; }
.stage-head, .chapter-copy :is(h3,h5) { text-align: center; }
.chapter-copy :is(h3,h5) { margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.chapter-copy p { margin: .26rem 0 0; max-width: 32rem; color: #4e5144; font-size: .9375rem; line-height: 1.38; text-align: left; }
.job-gallery { grid-column: 1; grid-row: 1; display: grid; gap: .65rem; }
.job-gallery figure, .job-videos figure { margin: 0; }
.job-gallery img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: var(--photo-height);
  margin-inline: auto; border-radius: .75rem; box-shadow: 0 3px 12px rgb(29 32 21 / 14%);
}
.job-gallery figcaption { margin-top: .25rem; color: #55584c; font-size: .91rem; }
.ready .job-gallery figcaption { display: none; }
.movie-full { display: inline-grid; place-items: center; flex: none; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 1px solid transparent; border-radius: 50%; color: #262920; }
.movie-full:hover { border-color: #767b67; background: #edeedc; }
.movie-full .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2; }
.job-video { margin-top: clamp(1.2rem, 2.5vw, 2rem); padding-top: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid #d9d9c9; text-align: center; }
.job-videos {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  width: min(100%, 28rem); margin: 1rem auto 0; gap: clamp(.7rem, 2vw, 1.6rem);
}
.job-videos video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: .55rem; background: #292b25; }
.job-videos figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: .25rem; margin-top: .35rem; color: #2c2f25; text-align: left; }
.job-videos figcaption > span { padding-top: .35rem; font-size: .95rem; font-weight: 630; line-height: 1.25; }
.job-videos small { display: block; margin-top: .2rem; font-size: .82rem; font-weight: 480; color: #555849; }
@media (max-width: 700px) {
  .portfolio .levada-feature { width: calc(100% + 2 * (var(--edge) - .45rem)); margin-inline: calc(.45rem - var(--edge)); }
  .case-page > .wrap { width: calc(100% - .9rem); }
  .levada-feature { border-radius: .8rem; }
  .job-chapter { grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .job-gallery, .chapter-copy { grid-column: 1; }
  .chapter-copy { grid-row: 2; }
  .stage-pages { --photo-height: clamp(12rem, 41svh, 23rem); }
  .ready .job-chapter { align-content: start; }
  .job-nav { font-size: .86rem; }
  .job-head .brand small { white-space: nowrap; }
  .job-head .head-row { justify-content: space-between; gap: .45rem; }
  .job-head .header-cta { display: none; }
  .job-video { margin-top: .75rem; padding-top: .9rem; }
}
@media (max-width: 480px) {
  .job-videos { gap: .55rem; }
  .job-video { text-align: left; }
  .job-videos figcaption { flex-wrap: wrap; }
  .job-videos figcaption > span { flex: 1 1 4.3rem; }
  .job-videos figcaption .movie-full { width: 2.75rem; }
}

.zaozerye { scroll-margin-top: 5rem; }
.zaozerye .cover-text a { color: inherit; }
.zaozerye .cover-text a:hover { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .1em; }
.zaozerye .job-gallery a { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.house-result { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,15rem); align-items: center; gap: clamp(1rem,4vw,3rem); padding-inline: clamp(.5rem,4vw,3rem); text-align: left; }
.house-delivery :is(h2,h4) { margin: 0; font-size: clamp(1.23rem,2.2vw,1.65rem); line-height: 1.12; letter-spacing: -.045em; }
.house-delivery p { margin: .5rem 0 0; max-width: 32rem; font-size: .9375rem; line-height: 1.4; }
.house-result .job-videos { width: 100%; grid-template-columns: minmax(0,1fr); margin: 0; }
@media (max-width: 600px) {
  .house-result { grid-template-columns: minmax(0,1fr); padding-inline: 0; }
  .house-result .job-videos { width: min(100%,15rem); justify-self: center; }
  .zaozerye .gallery-dots button { width: clamp(1rem,5vw,1.5rem); }
}

.case-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .3rem; color: #faf9f3; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.case-page { padding-block: .45rem clamp(1rem,3vw,2rem); }
