/* Design-page refinements layered over the existing scroll compositions. */
.wr-design-page #de-captions { height: 300svh; margin: 0; z-index: 7; isolation: isolate; background: #041c1e; }
.wr-design-page #de-captions > .sticky__layer { height: 100svh; min-height: 100svh; overflow: hidden; }
.wr-design-page #de-captions .de-captions__content-title { max-width: 1000px; }
.wr-design-page #de-captions .de-captions__content-title h3 { margin: 0; text-align: left; font-size: 48px; line-height: 1.2; }
.wr-design-page #de-captions .de-captions__canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(4,28,30,.65)); pointer-events: none; }
.wr-design-page .de-captions__content-text { padding: 20px 24px; background: #041c1e; color: #eeefef; line-height: 1.5; height: auto; min-height: 0; flex: none; }
.wr-design-page .de-captions__content-text p { margin: 0; }
@media (max-width: 979px), (max-width: 1439px) and (max-aspect-ratio: 10/11) {
    .wr-design-page #de-captions { height: 200svh; }
    .wr-design-page #de-captions .de-captions__content { height: 100svh; min-height: 0; box-sizing: border-box; padding: 90px var(--spacing-layout) 32px; gap: 24px; justify-content: flex-end; }
    .wr-design-page #de-captions .de-captions__content-title,
    .wr-design-page #de-captions .de-captions__content-text { position: relative; inset: auto; width: 100%; transform: none !important; opacity: 1 !important; }
    .wr-design-page #de-captions .de-captions__content-title h3 { font-size: 28px; line-height: 1.25; text-shadow: 0 2px 12px #041c1e; }
}
.wr-design-page { font-family: Inter, Helvetica, Arial, sans-serif; }
.wr-design-page .de-section :is(h1,h2,h3) { font-family: "Playfair Display", Georgia, serif; font-weight: 400; letter-spacing: 0; }
html:not([data-lang="en"]) .wr-design-page .t-en,
html[data-lang="en"] .wr-design-page .t-de { display: none !important; }
.wr-design-page .lang-toggle { display: inline-flex; align-items: center; gap: .45em; margin-right: 1.4em; padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; line-height: 1; }
.wr-design-page .lang-toggle__opt { border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: inherit; padding: .3em 0; font: inherit; opacity: .45; cursor: pointer; }
.wr-design-page .lang-toggle__opt.is-active { opacity: 1; background: none; border-bottom-color: currentColor; }
.wr-design-page .lang-toggle__sep { display: inline; opacity: .35; }
.wr-design-page .js-header .btn { font-weight: 400; }
.wr-design-page .js-header [data-custom-scroll-theme-target] { color: #eeefef; --t-text: #eeefef; --t-heading: #eeefef; --t-button-link-text: #eeefef; }
.wr-design-page .js-header .icon { color: #eeefef; }
.wr-design-page .header__logo--mobile img { width: 82px; height: 30px; object-fit: contain; }
.wr-design-page .de-intro__text h3 { font-size: 28px; line-height: 1.45; }
.wr-design-page .de-projects__text h3 { font-size: 30px; line-height: 1.4; }
.wr-design-page .wr-projects-panel {
    --t-background: #041c1e;
    --t-text: #eeefef;
    --t-heading: #eeefef;
    background: #041c1e;
    color: #eeefef;
}
.wr-design-page .wr-projects-panel .de-projects__slider-item {
    background: #041c1e;
    color: #eeefef;
}
.wr-design-page .wr-projects-statement:not(.is-hidden) {
    display: flex;
    align-items: center;
}
.wr-design-page .wr-projects-panel .de-projects__thumb.is-active { border-color: #eeefef; }
.wr-design-page .wr-projects-panel .de-projects__slider-item.col {
    width: 100%;
    padding: 40px var(--spacing-layout);
}
.wr-design-page .wr-projects-panel .de-projects__slider-item > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.wr-design-page .wr-projects-panel .de-projects__slider-item__text {
    color: #eeefef;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: 0;
}
.wr-design-page .wr-projects-statement h3 {
    max-width: none;
    margin: 0;
    color: #eeefef;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
}
.wr-design-page #de-balcons h3 { text-align: left; font-size: 76px; line-height: 1.12; max-width: 900px; }
.wr-design-page .de-balcons__content-text { margin-left: auto; max-width: 380px; line-height: 1.5; }
.wr-design-page .de-slider__caption__title { max-width: 100%; }
.wr-design-page .more-block__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.wr-design-page .more-block__caption .more-block__button {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    margin: 40px 0 0;
}
.wr-design-page .de-flats__text-text {
    max-width: 490px;
    margin: 0;
}
.wr-design-page .de-flats__text-text p {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0;
    font-weight: 400;
}
.wr-design-page .de-flats__list-item .h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: 0;
}
@media (min-width: 1440px), (min-width: 980px) and (min-aspect-ratio: 10/11) {
    .wr-design-page .de-flats__content { padding-bottom: 64px; }
    .wr-design-page .de-flats__caption-title h2 { font-size: 144px; line-height: 1.08; }
    .wr-design-page .de-flats__caption-uptitle { margin-left: 0; margin-bottom: 0; margin-top: 48px; letter-spacing: 0; }
    .wr-design-page .de-flats__text {
        justify-content: center;
        gap: 48px;
        padding: 116px 60px 64px;
    }
    .wr-design-page .de-flats__text > div:last-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
    .wr-design-page .de-flats__list-item { padding: 22px 0; border-bottom: 1px solid var(--t-line); }
    .wr-design-page .de-flats__list-item:first-child { grid-column: 1 / -1; padding-top: 0; padding-bottom: 28px; }
    .wr-design-page .de-flats__list-item .h3 { font-size: 30px; line-height: 1.25; }
    .wr-design-page .de-flats__list-item:first-child .h3 { font-size: 44px; }
    .wr-design-page .de-projects { z-index: 6; }
    .wr-design-page .de-intro__caption-title {
        left: auto; right: 0; top: auto; bottom: 14%; width: 37vw;
        padding: 4vw 5vw 4.4vw; background: #041c1e;
    }
    .wr-design-page .de-intro__caption-title h1 { font-size: 104px; line-height: .95; }
    .wr-design-page .de-intro__caption-subtitle { right: auto; left: var(--spacing-layout); bottom: 7%; width: 30%; }
    .wr-design-page .de-intro__caption-subtitle p { font-size: 24px; line-height: 1.35; }
    .wr-design-page .de-intro__text .col--md-6 { width: 32%; flex-basis: 32%; padding: 32px 36px; }
    .wr-design-page .wr-projects-statement { padding: 44px var(--spacing-layout) !important; }
    .wr-design-page .wr-projects-statement h3 { font-size: 30px; line-height: 1.35; }
    .wr-design-page .de-spiral__caption {
        align-items: flex-start; width: 58%; margin-left: 8%; margin-right: auto;
        padding: 0 4vw 0 3vw; border-left: 1px solid rgba(238,239,239,.45); text-align: left;
    }
    .wr-design-page .de-spiral__uptitle { letter-spacing: .14em; text-transform: uppercase; }
    .wr-design-page .de-spiral__title h2 { font-size: 56px; line-height: 1.16; }
    .wr-design-page .de-captions__content-title h3 { font-size: 64px; line-height: 1.2; }
    .wr-design-page #de-balcons {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        column-gap: 9%;
        row-gap: 48px;
        padding-top: 76px;
    }
    .wr-design-page #de-balcons > .mb-3 { margin-bottom: 0; }
    .wr-design-page #de-balcons h3 { font-size: 64px; line-height: 1.15; max-width: 650px; }
    .wr-design-page .de-balcons__content-text {
        align-self: end; width: 100%; max-width: 360px; margin: 0 0 8px;
        padding: 24px 0 0; border-top: 1px solid #a8b5b1;
    }
    .wr-design-page .de-balcons__content { grid-column: 1 / -1; }
    .wr-design-page #de-materials { padding-top: 96px; padding-bottom: 96px; min-height: 760px; }
    .wr-design-page .de-materials__uptitle { width: 48%; margin-left: auto; text-align: left; padding-right: 0; }
    .wr-design-page #de-materials > .col { width: 48%; margin-left: auto; margin-bottom: 40px; }
    .wr-design-page #de-materials > .col h3 { font-size: 42px; line-height: 1.25; }
    .wr-design-page .de-materials__image { left: 24%; top: 52%; width: 36%; }
    .wr-design-page .de-materials__text { width: 48%; margin-left: auto; margin-right: 0; max-width: none; line-height: 1.5; }
    .wr-design-page .de-materials__text p { max-width: 440px; }
    .wr-design-page .de-slider__content { flex-direction: row-reverse; }
    .wr-design-page .de-slider__caption {
        padding: 90px 60px 60px;
        background: #041c1e;
        --t-text: #eeefef;
        --t-heading: #eeefef;
        --t-line: #647c77;
        --t-primary: #eeefef;
        color: #eeefef;
    }
    .wr-design-page .de-slider__scrollbar-container { top: 28%; left: 60px; right: 60px; transform: none; }
    .wr-design-page .de-slider__caption__title { text-align: left; flex: 1; width: auto; }
    .wr-design-page .de-slider__caption__text { top: 55%; bottom: auto; max-width: 100%; padding-right: 12px; }
    .wr-design-page .de-slider__caption__text p { font-size: 22px; line-height: 1.5; letter-spacing: 0; }
    .wr-design-page .de-slider__caption__title h3 { font-size: 44px; line-height: 1.2; }
    .wr-design-page #de-gallery > .sticky__layer > div > div:nth-child(2) {
        width: 62%; margin-left: var(--spacing-layout); margin-right: auto; padding-right: 0; text-align: left;
    }
    .wr-design-page #de-gallery .row { padding: 0 var(--spacing-layout); align-items: flex-start; }
    .wr-design-page #de-gallery .de-gallery__image:first-child { flex-basis: 64%; width: 64%; }
    .wr-design-page #de-gallery .de-gallery__image.col--reverse {
        flex-basis: 36%; width: 36%; margin-top: 19vh !important; padding-left: 7vw;
    }
    .wr-design-page #de-gallery .de-gallery__image > .de-gallery__col--no-stretch {
        margin-left: 0; max-width: 270px; padding-top: 24px;
    }
}
@media (min-width: 980px) and (min-aspect-ratio: 10/11) and (max-height: 780px) {
    .wr-design-page .de-flats__text { gap: 28px; padding: 100px 40px 36px; }
    .wr-design-page .de-flats__text-text p { font-size: 18px; }
    .wr-design-page .de-flats__list-item { padding: 16px 0; }
    .wr-design-page .de-flats__list-item .h3 { font-size: 26px; }
    .wr-design-page .de-flats__list-item:first-child .h3 { font-size: 36px; }
}
@media (max-width: 979px), (max-aspect-ratio: 10/11) and (max-width: 1439px) {
    .wr-design-page .de-flats__caption-title h2 { font-size: 50px; line-height: 1.15; text-align: left; }
    .wr-design-page .de-flats__caption-uptitle { text-align: left; letter-spacing: 0; margin-top: 18px; }
    .wr-design-page .de-flats__content { padding-bottom: 40px; }
    .wr-design-page .de-flats__text { padding-top: 40px; padding-bottom: 48px; }
    .wr-design-page .de-flats__text-text { margin-bottom: 30px; }
    .wr-design-page .de-flats__text-text p { font-size: 17px; line-height: 1.5; }
    .wr-design-page .de-flats__list-item { padding-top: 18px; padding-bottom: 18px; }
    .wr-design-page .de-flats__list-item .h3 { font-size: 28px; line-height: 1.3; }
    .wr-design-page .de-intro__caption-title { top: 92px; }
    .wr-design-page .wr-design-mobile-title { margin: 0; font-size: 64px; line-height: 1.1; color: #eeefef; }
    .wr-design-page .de-intro__caption-subtitle { padding-left: 48px; max-width: 100%; }
    .wr-design-page .de-intro__caption-subtitle p { font-size: 22px; line-height: 1.3; }
    .wr-design-page .de-intro__text h3, .wr-design-page .de-projects__text h3 { font-size: 24px; line-height: 1.4; }
    .wr-design-page .wr-projects-statement { padding: 32px var(--spacing-layout) !important; }
    .wr-design-page .wr-projects-statement h3 { font-size: 23px; line-height: 1.3; }
    .wr-design-page .wr-projects-panel .de-projects__slider-item > img { height: 190px; }
    .wr-design-page .de-spiral__title h2 { font-size: 34px; line-height: 1.25; }
    .wr-design-page #de-balcons h3 { font-size: 42px; }
    .wr-design-page .de-balcons__content-text { max-width: 100%; line-height: 1.5; }
    .wr-design-page .de-captions__content-title h3, .wr-design-page #de-materials > .col h3 { font-size: 38px; line-height: 1.2; }
    .wr-design-page #de-balcons { padding-top: 44px; }
    .wr-design-page #de-balcons > .mb-3 { margin-bottom: 28px; }
    .wr-design-page .de-balcons__content-text { width: 100%; margin-bottom: 28px; }
    .wr-design-page #de-materials { padding-top: 48px; padding-bottom: 48px; }
    .wr-design-page #de-materials > .col h3 { font-size: 32px; line-height: 1.3; }
    .wr-design-page .de-materials__image { width: 78%; margin: 30px auto; }
    .wr-design-page .de-slider__mobile-scrollable__caption { padding-top: 32px; }
    .wr-design-page .de-slider__mobile-scrollable__caption-text p { font-size: 18px; line-height: 1.5; letter-spacing: 0; }
}
