/* Shared Nordview grid and restrained architectural motion. */
:root { --page-gutter: clamp(24px, 2.95vw, 64px); --motion-ease: cubic-bezier(.22,1,.36,1); }
.container { max-width: 1600px; padding-inline: var(--page-gutter); }
.header { border: 0; border-bottom: 1px solid #ffffff14; }
.header:after { display: none; }
button, .button-grey, .button-orange, .news-block__link, .planning-bottom__link {
    font-family: var(--first-font); font-weight: 400;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 2px solid #ff6a33; outline-offset: 5px; }
.project-row { min-height: min(900px, 100svh); padding-top: 120px; padding-bottom: 60px; }
.project-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 100px); }
.project__title, .project-info { width: 100%; }
.project-info { justify-self: end; }
.project:after { height: 80%; background: linear-gradient(transparent, #070803a6); pointer-events: none; }
.project-bg { overflow: hidden; }
.project-bg__img, .project-bg__img.active { display: flex; position: absolute; inset: 0; opacity: 0; visibility: visible; transition: opacity 900ms ease; pointer-events: none; }
.project-bg__img.active { opacity: 1; }
.project-bg__img img { height: 100%; }
.project-tabs { padding: 4px; gap: 4px; background: #15151555; backdrop-filter: blur(16px); border: 1px solid #ffffff33; }
.project-tabs__button { width: 44px; height: 44px; background: transparent; backdrop-filter: none; }
.project-tabs__button svg { width: 24px; height: 24px; transition: transform .6s var(--motion-ease); }
.project-tabs__button.active svg { transform: rotate(-12deg); }
.project-gallery-head, .project-gallery-slider { max-width: 1600px; width: calc(100% - 2 * var(--page-gutter)); }
.project-gallery-head__block { padding-block: 30px; }
.facades-panel { overflow: hidden; }
.facades-panel__img, .facades-panel__img.active { display: flex; opacity: 0; pointer-events: none; transition: opacity 750ms ease; }
.facades-panel__img { position: absolute; inset: 0; }
.facades-panel__img.active { position: relative; opacity: 1; pointer-events: auto; }
.facades-mode, .planning-floor { gap: 4px; padding: 4px; }
.facades-mode__button { padding: 14px 22px; font-size: 17px; }
.facades-mode__button.active { background: #ffffff0d; }
.facades-mode__slash { display: none; }
.planning-main { overflow: hidden; }
.planning-floor__button { font-size: 18px; }
.planning-floor__button, .facades-tabs__button { transition: background-color .35s ease, color .35s ease; }
.order { scroll-margin-top: 90px; }
@media (max-width: 1024px) {
    .header { backdrop-filter: none; background: #131313f5; }
    .header-menu { right: 0; width: 100vw; max-width: none; height: 100dvh; padding: 100px var(--page-gutter) max(36px, env(safe-area-inset-bottom)); gap: 40px; background: #111313; opacity: 0; visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); transition: clip-path .65s var(--motion-ease), opacity .35s ease, visibility 0s .65s; }
    .header-menu.active { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0); transition-delay: 0s; }
    .header-menu:before { content: ''; position: absolute; width: 340px; height: 340px; border: 1px solid #ff6a3326; border-radius: 50%; right: -170px; bottom: 60px; box-shadow: 0 0 0 70px #ffffff03, 0 0 0 140px #ffffff02; pointer-events: none; }
    .header-menu .nav-menu__item { opacity: 0; transform: translateY(24px); border-bottom: 1px solid #ffffff12; padding-block: 6px; transition: transform .5s var(--motion-ease), opacity .4s ease; }
    .header-menu.active .nav-menu__item { opacity: 1; transform: none; transition-delay: calc(100ms + var(--menu-index) * 45ms); }
    .header-menu .nav-menu__link { font-size: clamp(28px, 5vw, 44px); letter-spacing: normal; line-height: 1.3; padding-block: 7px; }
    .header-menu__number { position: relative; font-size: clamp(24px, 5vw, 38px); opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s var(--motion-ease); }
    .header-menu.active .header-menu__number { opacity: 1; transform: none; transition-delay: .35s; }
    .header-burger { width: 24px; height: 24px; border: 0; border-radius: 0; overflow: visible; }
    .header-burger:before { content: ""; position: absolute; inset: -10px; }
    .header-burger span { width: 24px; transition: transform .45s var(--motion-ease), opacity .2s ease; }
    .header-burger.active span:first-child { transform: translateY(7px) rotate(45deg); }
    .header-burger.active span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .nav-submenu { box-shadow: none; border-radius: 0; }
    .project-row { min-height: 820px; }
    .project-bottom { grid-template-columns: 1fr; gap: 24px; }
    .project-info { max-width: 560px; justify-self: start; }
    .similar-button__order_mobile.button-orange { margin-top: 28px; width: 100%; justify-content: center; padding: 22px 18px; }
    .request-left { padding-inline: var(--page-gutter); }
}
@media (max-width: 640px) {
    :root { --page-gutter: 20px; }
    .header { padding-block: 12px; }
    .header-logo { width: 142px; }
    .project-row { min-height: max(740px, 100svh); padding-top: 98px; padding-bottom: 36px; gap: 200px; }
    .project-bg__img img { object-position: 52% center; }
    .project__title.section-title { font-size: clamp(34px, 8.6vw, 48px); line-height: 1.08; letter-spacing: normal; }
    .project-info { gap: 16px; }
    .project-info__text.section-text { font-size: 17px; line-height: 1.45; }
    .project-gallery-head__block p { font-size: 18px; }
    .project-gallery-head__block { padding-block: 22px; }
    .project-gallery-slider { overflow: hidden; }
    .project-gallery-slider .swiper-wrapper { flex-wrap: nowrap; gap: 0; }
    .planning, .facades, .packages, .similar, .steps, .news, .order { padding-block: 64px; }
    .planning-floor { width: 100%; }
    .planning-floor__button { flex: 1; font-size: 16px; padding: 15px 12px; }
    .planning-square { width: 100%; }
    .planning-square__block { flex: 1; padding: 18px 16px; }
    .facades-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .facades-tabs__button { width: 100%; font-size: 16px; padding: 18px 8px; justify-content: center; }
    .facades-tabs__button:after { display: none; }
    .facades-mode { width: 100%; }
    .facades-mode__button { flex: 1; padding: 14px; }
    .similar-row { gap: 28px; }
    .similar-button__order_mobile.button-orange { margin-top: 40px; font-size: 16px; }
    .request-left { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
    .motion-reveal { opacity: 1; transform: none; clip-path: none; }
}
.button-black { font-family: var(--first-font); font-weight: 400; }
.planning-main { display: grid; }
.planning-panel, .planning-panel.active { display: flex; grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s .4s; }
.planning-panel.active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.facades-content { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); }
.facades-panel, .facades-panel.active { width: 100%; display: flex; grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility 0s .45s; }
.facades-panel.active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.facades-tabs { width: 100%; grid-column: 2; grid-row: 1; }
@media (max-width: 1024px) {
    .header-burger span:nth-child(2), .header-burger.active span:nth-child(2) { display: block; }
    .header-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .facades-content { grid-template-columns: minmax(0, 1fr); }
    .facades-panel, .facades-panel.active { grid-area: 2 / 1; }
    .facades-tabs { grid-area: 1 / 1; }
}
@media (max-width: 640px) {
    .project-gallery-slider { padding-inline: 0; }
    .project-gallery-head { margin-bottom: 0; }
    .project-gallery-bottom.slider-scrollbar { width: calc(100% - 2 * var(--page-gutter)); padding-inline: 0; }
}
/* Dropdowns open from the same controls at every viewport width. */
.nav-menu__item-arrow { width: 20px; height: 28px; background: transparent; border: 0; padding: 5px; }
.nav-menu__item-arrow svg { width: 10px; height: 6px; }
.nav-menu__item-arrow[aria-expanded="true"] { transform: rotate(180deg); }
.nav-submenu { top: calc(100% + 12px); left: 0; transform: translateY(-8px); align-items: stretch; padding: 12px; gap: 2px; border-radius: 4px; background: #202222; box-shadow: 0 18px 50px #0005; border: 1px solid #ffffff16; opacity: 0; visibility: hidden; pointer-events: none; z-index: 55; transition: opacity .22s ease, transform .3s var(--motion-ease), visibility 0s .3s; }
.nav-submenu:before { content: ''; position: absolute; left: 0; right: 0; height: 16px; bottom: 100%; }
.nav-submenu li, .nav-submenu a { width: 100%; }
.nav-submenu a { color: #e5e5e5; text-align: left; padding: 10px 12px; font-size: 16px; line-height: 1.4; transition: color .2s ease, background-color .2s ease; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { color: #ff6a33; background: #ffffff08; }
.nav-menu__item:hover .nav-submenu { opacity: 0; pointer-events: none; }
.nav-menu__item.is-open .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
.nav-menu__item:hover .nav-menu__item-arrow { transform: none; opacity: 1; }
.nav-menu__item.is-open .nav-menu__item-arrow { transform: rotate(180deg); }
.planning-main, .facades-content { overflow: hidden; isolation: isolate; }
.planning-panel, .facades-panel { min-width: 0; will-change: auto; }
@media (max-width: 1024px) {
    .nav-menu__item-arrow { width: 28px; height: 32px; margin-left: auto; padding: 6px; }
    .nav-menu__item-arrow svg { width: 12px; height: 8px; }
    .nav-submenu, .nav-submenu.active { position: relative; top: auto; left: auto; display: flex; width: 100%; min-width: 0; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(-6px); padding: 0; gap: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; transition: max-height .4s var(--motion-ease), opacity .25s ease, transform .4s var(--motion-ease), visibility 0s .4s; }
    .nav-menu__item.is-open .nav-submenu { max-height: var(--submenu-height, 240px); opacity: 1; visibility: visible; transform: none; padding: 0; transition-delay: 0s; }
    .nav-submenu:before { display: none; }
    .nav-submenu a { font-size: 20px; padding: 10px 12px; color: #bfc0bd; }
    .nav-submenu li:last-child { padding-bottom: 12px; }
}
.facades-stage { grid-area: 1 / 1; display: grid; min-width: 0; overflow: hidden; isolation: isolate; }
.facades-stage .facades-panel, .facades-stage .facades-panel.active { grid-area: 1 / 1; }
@media (max-width: 1024px) {
    .facades-stage { grid-area: 2 / 1; }
}
/* The facade image defines the shared desktop height; each control gets one quarter. */
@media (min-width: 1025px) {
    .facades-content { align-items: stretch; }
    .facades-stage { aspect-ratio: 880 / 538; min-height: 0; }
    .facades-stage .facades-panel { min-height: 0; }
    .facades-panel__img, .facades-panel__img.active { height: 100%; min-height: 0; }
    .facades-panel__img img { height: 100%; aspect-ratio: auto; object-fit: cover; }
    .facades-tabs { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); align-self: stretch; min-height: 0; }
    .facades-tabs__button { height: 100%; min-height: 0; padding-block: 0; }
}
/* Preserve the original desktop cards and contain the complete illustrations. */
.packages-block .packages-block__img { top: 24px; bottom: 24px; right: 24px; height: auto; max-height: none; min-height: 0; }
.packages-block__img img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
@media (min-width:769px) {
 .packages-block__2 .packages-block__img, .packages-block__3 .packages-block__img { bottom: 130px; }
 .packages-block__2 .packages-block__img { width: 46%; bottom: 110px; }
 .packages-block__2 .packages-block__img img, .packages-block__3 .packages-block__img img { object-position: right top; }
}
/* Compact phone cards give the picture a clear frame and text its full width. */
@media (max-width:768px) {
 .packages { padding-block: 48px; }
 .packages-row { gap: 24px; }
 .packages-content { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
 .packages-block { display: grid; grid-template-columns: minmax(0,1fr) 84px; grid-template-rows: auto auto; align-items: start; width: 100%; min-height: 0; padding: 20px; gap: 16px 12px; }
 .packages-block .packages-block__content { display: contents; }
 .packages-block__title { grid-column: 1; grid-row: 1; min-width: 0; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
 .packages-block .packages-block__img { grid-column: 2; grid-row: 1; position: relative; inset: auto; width: 84px; height: 84px; min-width: 0; max-height: none; justify-self: end; }
 .packages-block__img img { object-position: center; }
 .packages-block__text.section-text { grid-column: 1/-1; grid-row: 2; width: 100%; font-size: 14px; line-height: 1.5; }
 .packages-block__text br { display: none; }
}

@media (max-width:360px) {
 .packages-block { grid-template-columns: minmax(0,1fr) 56px; }
 .packages-block__title { font-size: 18px; }
 .packages-block .packages-block__img { width: 56px; height: 56px; }
}

.project-3d { padding-block: 100px; background: #0d0d0d; }
.project-3d-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 32px; margin-bottom: 32px; }
.project-3d-heading p { color: #a9a9a9; justify-self: end; text-align: right; }
.project-3d-frame { display: block; width: 100%; height: 680px; border: 0; color-scheme: dark; }
@media (max-width: 1024px) {
 .project-3d { padding-block: 75px; }
 .project-3d-heading { grid-template-columns: 1fr; gap: 16px; }
 .project-3d-heading p { justify-self: start; text-align: left; }
 .project-3d-frame { height: 500px; }
}
@media (max-width: 640px) {
 .project-3d { padding-block: 64px; }
 .project-3d-heading { margin-bottom: 24px; }
 .project-3d-heading p { font-size: 16px; line-height: 1.45; }
}

/* One bounded, fluid grid across desktop sizes and both project versions. */
:root { --content-max: 1920px; --page-gutter: clamp(24px, 3vw, 56px); }
.container { max-width: var(--content-max); }
.project-gallery-head, .project-gallery-slider { max-width: calc(var(--content-max) - 2 * var(--page-gutter)); }
.request-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: var(--content-max); margin-inline: auto; padding-inline: var(--page-gutter); }
.request-left { width: auto; max-width: none; justify-content: flex-start; padding: clamp(64px,6vw,120px) clamp(32px,4vw,80px) clamp(64px,6vw,120px) 0; }
.request-left__content { max-width: none; align-items: flex-start; gap: 36px; }
.request-left__title.section-title { max-width: 620px; font-weight: 400; font-size: clamp(36px,3.2vw,58px); line-height: 1.08; }
.request-form { max-width: 520px; }
.request-right { width: auto; max-width: none; min-width: 0; }
.request-right__wrap img { height: 100%; }
.planning-row { gap: 0; }
.planning-top { margin-bottom: 0; padding-bottom: 0; }
.planning-floor { gap: 0; padding: 0; align-self: flex-end; }
.planning-floor__button { margin: 0; border-radius: 0; }
.planning-main { margin-top: 0; }
/* Keep one image rectangle, and let only the facade animation control the fade. */
.facades-stage { aspect-ratio: 880 / 538; }
.facades-stage .facades-panel, .facades-stage .facades-panel.active { height: 100%; transition: none; }
.facades-panel__img, .facades-panel__img.active { position: absolute; inset: 0; width: 100%; height: 100%; }
.facades-panel__img img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width:1024px) {
 .request-row { grid-template-columns: minmax(0,1fr); }
 .request-right { grid-row: 1; }
 .request-left { grid-row: 2; padding: 64px 0; }
 .request-form { max-width: 620px; }
}
@media(max-width:640px) {
 :root { --page-gutter: 20px; }
 .request-left { padding-block: 64px; }
 .request-left__title.section-title { font-size: clamp(32px,8vw,44px); }
 .planning-floor { align-self: stretch; }
}

.news-block__text.section-text { font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-bottom { justify-content: flex-end; }
.request-left__title.section-title { max-width: none; font-size: clamp(32px,2.8vw,48px); line-height: 1.12; letter-spacing: normal; }
.request-left__content { gap: 32px; }
.request-left__title span { color: #ff6a33; }
@media(max-width:640px) { .news-block__text.section-text { font-size: 14px; } .request-left__title.section-title { font-size: clamp(30px,7.4vw,40px); } }

/* Request uses the exact same container as neighbouring sections. */
.request-row.container .request-left { padding-left: 0; margin-left: 0; }
.request-row.container .request-left__content { margin-left: 0; padding-left: 0; width: 100%; }
.request-row.container .request-left__title { width: 100%; text-align: left; margin-left: 0; padding-left: 0; }

.project-3d-frame.is-palette-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh !important; z-index: 10000; background: #242424; }

/* The flyover is a full-width film, separate from the adaptation form. */
.project-film { width: 100%; margin: 0; padding: 0; background: #0d0d0d; }
.project-film__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.request-row.container { grid-template-columns: minmax(0,1fr); }
.request-row.container .request-left { display: block; padding-right: 0; }
.request-row.container .request-left__content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 64px; }
.request-row.container .request-form { width: 100%; max-width: none; }
@media(max-width:1024px) {
 .request-row.container .request-left__content { grid-template-columns: minmax(0,1fr); gap: 32px; }
}

/* The original flyover slot contains the video itself, not a separate section. */
.request-row.container { grid-template-columns: repeat(2,minmax(0,1fr)); }
.request-row.container .request-left { display: flex; padding-right: clamp(32px,4vw,80px); }
.request-row.container .request-left__content { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
.request-right__wrap { width: 100%; height: 100%; }
.request-right__wrap .project-film__video { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
@media(max-width:1024px) {
 .request-row.container { grid-template-columns: minmax(0,1fr); }
 .request-row.container .request-left { padding-right: 0; }
 .request-right { margin-inline: calc(-1 * var(--page-gutter)); width: calc(100% + 2 * var(--page-gutter)); }
 .request-right__wrap .project-film__video { height: auto; aspect-ratio: 16 / 9; }
}

/* Keep the form on the page grid while the flyover reaches the right edge. */
.request .request-row.container {
 max-width: none;
 width: 100%;
 margin-inline: 0;
 padding-left: max(var(--page-gutter),calc((100% - var(--content-max)) / 2 + var(--page-gutter)));
 padding-right: 0;
}
.request .request-right { width: 100%; max-width: none; margin-right: 0; padding: 0; }
.request .request-right__wrap { margin: 0; padding: 0; }
@media(max-width:1024px) {
 .request .request-row.container { padding-inline: var(--page-gutter); }
 .request .request-right { width: calc(100% + 2 * var(--page-gutter)); margin-inline: calc(-1 * var(--page-gutter)); }
 .request .request-left,
 .request .request-left__content,
 .request .request-form,
 .request form { min-width: 0; }
}
@media(max-width:600px) {
 .request .request-left { padding-block: 48px; }
 .request .request-left__content { gap: 28px; }
 .request .request-left__title.section-title { font-size: clamp(30px,7.4vw,40px); }
}

/* Expand the original gallery as one grid, without changing its photos. */
.project-gallery-slider { max-width: none; width: 100%; padding-inline: 0; }
.project-bg__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Shared specification grid: single straight dividers, equal cells. */
.project-gallery .project-gallery-head {
 border-top: 1px solid #303030;
 display: grid;
 grid-template-columns: repeat(4,minmax(0,1fr));
 gap: 1px;
 width: 100%;
 max-width: none;
 margin: 0;
 padding: 0;
 background: #303030;
}
.project-gallery .project-gallery-head__block {
 width: auto;
 min-width: 0;
 min-height: 104px;
 padding: 24px 12px;
 background: #0d0d0d;
 text-align: center;
}
.project-gallery .project-gallery-head__block:nth-child(n)::before,
.project-gallery .project-gallery-head__block:nth-child(n)::after { content: none; display: none; }
.project-gallery .project-gallery-head__block p { margin: 0; line-height: 1.2; }
.project-gallery .project-gallery-head__block sup { font-size: .6em; }
@media(max-width:768px) {
 .project-gallery .project-gallery-head { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .project-gallery .project-gallery-head__block { min-height: 88px; padding: 24px 12px; }
}

/* Keep viewer dialogs above neighbouring animated sections and the header. */
body:has(.project-3d-frame.is-palette-dialog) .project-3d {
    position: relative;
    z-index: 100000;
    overflow: visible;
    transform: none !important;
    filter: none !important;
    will-change: auto;
    isolation: isolate;
}
body:has(.project-3d-frame.is-palette-dialog) .project-3d > .container {
    transform: none !important;
    filter: none !important;
    contain: none;
    will-change: auto;
    overflow: visible;
}

/* Mobile floor areas and room list form one aligned control strip. */
@media (max-width:768px) {
 .planning-main { padding-block: 15px; }
 .planning-bottom { display: grid; grid-template-columns: minmax(0,58fr) minmax(0,42fr); align-items: stretch; gap: 0; }
 .planning-square { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; min-width: 0; }
 .planning-square__block { width: 100%; min-width: 0; min-height: 76px; padding: 14px 6px; gap: 10px; justify-content: center; }
 .planning-square__block-floor { font-size: 14px; }
 .planning-square__block-sum { font-size: clamp(13px,3.8vw,16px); white-space: nowrap; }
 .planning-bottom__link { display: flex; width: 100%; height: 100%; min-width: 0; min-height: 76px; margin: 0; padding: 12px 24px 12px 10px; justify-content: center; align-items: center; font-size: 14px; line-height: 1.3; background: #dcdedb; }
 .planning-bottom__link::after { position: absolute; right: 8px; top: calc(50% - 6px); width: 12px; height: 12px; }
}

/* Full direction names have enough room in the services menu. */
@media (min-width:1025px) {
 .nav-submenu--services { width: 370px; max-height: calc(100dvh - 100px); overflow-y: auto; }
}
@media (max-width:1024px) {
 .nav-menu__item.is-open .nav-submenu--services { max-height: 800px; }
}

@media (max-width:768px) {
 .project:after {
  height: 90%;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,8,3,.18) 30%, rgba(7,8,3,.65) 65%, rgba(7,8,3,.92) 100%);
 }
}

/* Align the original desktop stages by shared rows, regardless of copy length. */
@media (min-width:769px) {
 .steps:not(.steps-timeline) .steps-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px clamp(40px,5vw,80px); }
 .steps:not(.steps-timeline) .steps-col { display: contents; }
 .steps:not(.steps-timeline) .steps-col:first-child .steps-block { grid-column: 1; }
 .steps:not(.steps-timeline) .steps-col:last-child .steps-block { grid-column: 2; }
 .steps:not(.steps-timeline) .steps-block:nth-child(1) { grid-row: 1; }
 .steps:not(.steps-timeline) .steps-block:nth-child(2) { grid-row: 2; }
 .steps:not(.steps-timeline) .steps-block:nth-child(3) { grid-row: 3; }
 .steps:not(.steps-timeline) .steps-block:nth-child(4) { grid-row: 4; }
 .steps:not(.steps-timeline) .steps-block { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 16px; min-width: 0; }
 .steps:not(.steps-timeline) .steps-block__content { min-width: 0; }
}
.order-form__input input::placeholder { color: #626262; opacity: 1; }
.order-manager__text, .order-address__text { color: #626262; }

/* Reserve facade geometry even when every photo layer is absolutely positioned. */
.facades-stage { display: block; position: relative; width: 100%; aspect-ratio: auto; }
.facades-stage::before { content: ''; display: block; padding-top: 61.1363636364%; }
.facades-stage .facades-panel,
.facades-stage .facades-panel.active { position: absolute; inset: 0; width: 100%; height: auto; }
@media (min-width:1025px) {
 .facades-tabs { height: 100%; }
 .facades-tabs__button { height: auto; min-height: 64px; }
}

/* Shared architectural dropdowns: square edges, fine rules and orange accents. */
@media (min-width:1025px) {
 .nav-menu__item.is-open::after { content: ''; position: absolute; top: 100%; left: -8px; right: -8px; height: 16px; }
 .nav-submenu { width: 340px; max-width: calc(100vw - 48px); padding: 8px 20px; gap: 0; border-radius: 0; background: var(--header-glass-background); backdrop-filter: var(--header-glass-blur); -webkit-backdrop-filter: var(--header-glass-blur); border: 1px solid #ffffff20; border-top: 2px solid #ff6a33; box-shadow: 0 16px 32px #0004; transform: translateY(-4px); }
 .nav-submenu li + li { border-top: 1px solid #ffffff12; }
 .nav-submenu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 16px; line-height: 1.4; }
 .nav-submenu a::after { content: '↗'; flex: 0 0 auto; color: #777b78; font-size: 19px; line-height: 1; }
 .nav-submenu a:hover, .nav-submenu a:focus-visible { color: #ff6a33; background: transparent; }
 .nav-submenu a:hover::after, .nav-submenu a:focus-visible::after { color: #ff6a33; }
 .nav-menu__item.is-open > .nav-menu__link { color: #ff6a33; }
 .nav-menu__item.is-open > .nav-menu__item-arrow svg path { stroke: #ff6a33; }
}
@media (max-width:1024px) {
 .header-menu { overflow-y: auto; overscroll-behavior: contain; }
 .nav-menu__item.is-open .nav-submenu { max-height: var(--submenu-height,800px); }
 .nav-submenu { border-left: 1px solid #ff6a33; }
 .nav-submenu li + li { border-top: 1px solid #ffffff0d; }
 .nav-submenu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 12px 16px; font-size: 18px; line-height: 1.45; color: #d1d3cf; }
 .nav-submenu a::after { content: '↗'; flex: 0 0 auto; color: #777b78; font-size: 18px; }
 .nav-submenu a:hover, .nav-submenu a:focus-visible { background: transparent; color: #ff6a33; }
 .nav-menu__item.is-open > .nav-menu__link { color: #ff6a33; }
}

/* Separate glass surfaces let dropdowns blur the page beyond the header bounds. */
@media (min-width:1025px) {
 .header { --header-glass-background: #131313e5; --header-glass-blur: blur(20px); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--header-glass-background); backdrop-filter: var(--header-glass-blur); -webkit-backdrop-filter: var(--header-glass-blur); }
}

/* The entire plan opens its full-size image; the affordance stays in the panel corner. */
.planning-main { grid-template-columns: minmax(0,1fr); }
.planning-zoom { display: flex; position: relative; width: 100%; justify-content: center; align-items: center; cursor: url("../img/icons/view-black.svg"), auto; }
.planning-zoom .planning-main__views { right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 10px; align-items: center; justify-content: center; background: #fffffff2; border: 1px solid #14141426; pointer-events: none; transition: border-color .2s ease, background-color .2s ease; }
.planning-zoom:hover .planning-main__views, .planning-zoom:focus-visible .planning-main__views { background: #fff2eb; border-color: #ff6a33; transform: none; }
.planning-zoom:focus-visible { outline-offset: -4px; }
@media (max-width:768px) {
 .planning-zoom .planning-main__views { right: 12px; bottom: 0; width: 40px; height: 40px; padding: 9px; }
}

/* Align the individual-project CTA label and arrow as one centered row. */
.similar-button__order.button-orange, .similar-button__order_mobile.button-orange { align-items: center; justify-content: center; background: #ff6a33; color: #fff; line-height: 1.3; }
.similar-button__order.button-orange { flex-shrink: 0; align-self: flex-end; }
.similar-button__order.button-orange:hover, .similar-button__order_mobile.button-orange:hover { background: #e85a25; }

/* Desktop stage actions share the title row; mobile retains the original flow. */
@media (min-width:1025px) {
 .steps .steps-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 32px; }
 .steps .steps__title { grid-column: 1; grid-row: 1; }
 .steps .steps-row .steps-bottom { grid-column: 2; grid-row: 1; width: auto; margin-top: 0; justify-content: flex-end; flex-wrap: nowrap; }
 .steps .steps-content { grid-column: 1 / -1; grid-row: 2; }
 .steps .steps-bottom__button { width: auto; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px; font-size: 16px; line-height: 1.3; white-space: nowrap; }
 .steps .steps-bottom__button::after { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; }
}

/* Persistent project controls, outside scroll reveal compositions. */
body { padding-bottom: 0; }
.project-actions { position: fixed; inset: auto 0 0; z-index: 90; background: #191b1beF; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid #ffffff20; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.project-actions__inner { width: calc(100% - 80px); max-width: 1840px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.project-actions__right { display: flex; gap: 12px; }
.project-actions a, .project-actions button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 24px; font-size: 18px; line-height: 1.3; cursor: pointer; transition: background .2s, color .2s; }
.project-actions__about { color: #fff; border: 1px solid #ffffff50; }
.project-actions__consult { background: #fff; color: #111; }
.project-actions__favorite { background: #d5d5d5; color: #111; }
.project-actions__favorite svg { width: 25px; height: 23px; color: #fff; flex-shrink: 0; }
.project-actions__favorite[aria-pressed="true"] { background: #ff6a33; color: #fff; }
.project-actions__consult:hover { background: #ff6a33; color: #fff; }
.project-actions__about:hover { background: #ffffff15; }
.project-actions__favorite:hover { background: #c6c6c6; }
.project-actions__favorite[aria-pressed="true"]:hover { background: #e85a25; }
.project-actions :focus-visible { outline: 2px solid #ff6a33; outline-offset: 3px; }
#project-about, .order { scroll-margin-top: 90px; }
@media (max-width: 1024px) {
 body { padding-bottom: 0; }
 .project-actions { padding: 9px 0 calc(9px + env(safe-area-inset-bottom)); }
 .project-actions__inner { width: calc(100% - 24px); gap: 8px; }
 .project-actions__right { gap: 6px; }
 .project-actions a, .project-actions button { min-height: 42px; padding: 10px 12px; font-size: 13px; gap: 8px; }
 .project-actions__desktop-text, .project-actions__favorite-label { display: none; }
 .project-actions .project-actions__favorite { width: 42px; padding: 10px; }
 .project-actions__favorite svg { width: 21px; height: 20px; }
}

/* Floating actions have no shared background panel. */
.project-actions { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; pointer-events: none; }
.project-actions__inner { justify-content: flex-end; }
.project-actions__right { pointer-events: auto; }

.project-actions__inner { justify-content: space-between; }
.project-actions a, .project-actions button { min-height: 44px; padding: 10px 16px; font-size: 15px; gap: 14px; }
.project-actions__next { background: #fff; color: #111; }
.project-actions__next:disabled { opacity: 1; cursor: default; }
.project-actions__next strong { font-weight: 500; }
.project-actions__previous-arrow, .project-actions__next-arrow { width: 25px; height: 25px; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.project-actions__previous-arrow { color: #d2d2d2; }
.project-actions__previous-arrow::after, .project-actions__next-arrow::after, .project-actions__consult-arrow { content: ''; width: 12px; height: 12px; background: currentColor; -webkit-mask: url('../img/icons/arrow-right-top.svg') center / contain no-repeat; mask: url('../img/icons/arrow-right-top.svg') center / contain no-repeat; }
.project-actions__next-arrow::after { transform: rotate(45deg); }
.project-actions__previous-arrow::after { transform: rotate(225deg); }
.project-actions__consult-arrow { width: 14px; height: 14px; flex-shrink: 0; }
.project-actions__favorite svg { width: 21px; height: 20px; }
@media (max-width: 1024px) {
 .project-actions .project-actions__next { display: inline-flex; }
 .project-actions__inner { justify-content: space-between; }
 .project-actions a, .project-actions button { min-height: 38px; padding: 8px 10px; font-size: 12px; gap: 8px; }
 .project-actions .project-actions__favorite { width: 38px; padding: 8px; }
 .project-actions__consult-arrow { width: 12px; height: 12px; }
}
/* Controls sit directly at the viewport corners with no enclosing surface. */
.project-actions { padding: 0 0 env(safe-area-inset-bottom); background: none; border: 0; box-shadow: none; }
.project-actions__inner { width: 100%; max-width: none; margin: 0; }
@media (max-width: 1024px) {
 .project-actions { padding: 0 0 env(safe-area-inset-bottom); }
 .project-actions__inner { width: 100%; margin: 0; }
}

.order .order-form__button { background: #ff6a33; color: #fff; }
.order .order-form__button:hover { background: #e85a25; }
/* Joined project actions and clean, unboxed navigation arrows. */
.project-actions__right { gap: 0; }
.project-actions a, .project-actions button { min-height: 50px; padding: 12px 22px; font-size: 16px; gap: 18px; }
.project-actions__previous-arrow, .project-actions__next-arrow { width: 22px; height: 22px; border: 0; }
.project-actions__previous-arrow::after, .project-actions__next-arrow::after { width: 18px; height: 18px; }
.project-actions__previous-arrow { color: #969696; }
.project-actions__favorite svg { width: 24px; height: 22px; }
.project-actions__consult-arrow { width: 18px; height: 18px; }
@media (max-width:1024px) {
 .project-actions__right { gap: 0; }
 .project-actions a, .project-actions button { min-height: 44px; padding: 10px 14px; font-size: 13px; gap: 10px; }
 .project-actions .project-actions__favorite { width: 44px; padding: 10px; }
 .project-actions__favorite svg { width: 23px; height: 21px; }
 .project-actions__consult-arrow { width: 14px; height: 14px; }
}
/* Next-project navigation matches the supplied reference. */
.project-actions .project-actions__next { gap: 20px; padding: 8px 22px; border-radius: 0; }
.project-actions__next strong { font-weight: 700; }
.project-actions__previous-arrow, .project-actions__next-arrow { width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 0; }
.project-actions__previous-arrow { color: #d2d2d2; }
.project-actions__next-arrow { color: #111; }
.project-actions__previous-arrow::after, .project-actions__next-arrow::after { width: 12px; height: 12px; }
/* Frosted next-project control with balanced padding and matching action height. */
.project-actions .project-actions__next {
 height: 50px;
 min-height: 50px;
 padding: 10px 20px;
 gap: 20px;
 box-sizing: border-box;
 background: rgba(255,255,255,.78);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 color: #111;
}
.project-actions__previous-arrow, .project-actions__next-arrow {
 box-sizing: border-box;
 width: 30px;
 height: 30px;
 flex: 0 0 30px;
}
/* Equal padding on all four sides of the frosted next-project control. */
.project-actions .project-actions__next { padding: 10px; }
.project-actions__previous-arrow::after, .project-actions__next-arrow::after { width: 9px; height: 9px; }
.project-actions__previous-arrow { color: #555; }
/* Keep the next project visible alongside consultation on narrow screens. */
@media (max-width: 640px) {
 .project-actions__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
 .project-actions .project-actions__next { width: 100%; min-width: 0; gap: 6px; padding: 8px; justify-content: space-between; border-right: 1px solid #11111114; }
 .project-actions__next-label { display: grid; flex: 1; min-width: 0; gap: 2px; text-align: center; white-space: nowrap; }
 .project-actions__next-kicker { font-size: 10px; line-height: 1.2; }
 .project-actions__next strong { font-size: 13px; line-height: 1.25; }
 .project-actions .project-actions__previous-arrow,
 .project-actions .project-actions__next-arrow { width: 18px; height: 18px; flex-basis: 18px; border: 0; }
 .project-actions__previous-arrow::after,
 .project-actions__next-arrow::after { width: 14px; height: 14px; }
 .project-actions__right { display: grid; grid-template-columns: minmax(0, 1fr) 44px; min-width: 0; }
 .project-actions .project-actions__consult { min-width: 0; justify-content: space-between; border-right: 1px solid #11111114; }
 .project-actions .project-actions__consult,
 .project-actions .project-actions__favorite { min-height: 50px; }
}
@media (max-width: 359px) {
 .project-actions .project-actions__next { padding-inline: 8px; gap: 6px; }
 .project-actions .project-actions__consult { padding-inline: 10px; font-size: 12px; gap: 8px; }
}

/* Consultation headings reflow as continuous prose on narrow layouts. */
@media(max-width:1024px) {
    .order :is(.consultation-heading h2,.order__title) {
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        text-wrap: pretty;
    }
    .order :is(.consultation-heading h2,.order__title) br { display: none; }
    .order :is(.consultation-heading h2,.order__title) span { display: inline; }
}

/* Project actions stay out of the first screen and enter as one quiet group. */
.project-actions {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1), visibility 0s .4s;
}
.project-actions.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}
@media(prefers-reduced-motion:reduce) {
    .project-actions { transition: none; transform: none; }
}

/* Shared image viewer is mounted outside the scaled body. */
html > .fancybox__container { font-family: var(--first-font); }

/* Match the related-project cursor, with a magnifier for image galleries. */
@media (hover: hover) and (pointer: fine) {
 .project-gallery-slider,
 .project-gallery-slider * { cursor: url("../img/main/zoom-cursor.svg?v=2") 24 24, zoom-in !important; }
 .planning-zoom:hover { cursor: url("../img/main/zoom-cursor.svg?v=2") 24 24, zoom-in; }
}

/* Remove fixed actions immediately while a modal owns the screen. */
.project-actions.is-overlay-open {
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: none;
}

/* Mobile project hero: landscape photograph followed by an independent text block. */
@media(max-width:768px) {
    .main.project-page { padding-top: var(--project-mobile-header-height,64px); }
    .project-page > .project { padding: 0; background: #0d0d0d; }
    .project-page > .project::after { display: none; }
    .project-page .project-bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; }
    .project-page .project-bg__img img { object-fit: cover; }
    .project-page .project > .container { position: static; }
    .project-page .project-row { position: static; min-height: 0; height: auto; padding: 24px 0 32px; gap: 0; }
    .project-page .project-top { position: absolute; top: 12px; right: var(--page-gutter); width: auto; z-index: 2; }
    .project-page .project-tabs__button { width: 38px; height: 38px; }
    .project-page .project-tabs__button svg { width: 22px; height: 22px; }
    .project-page .project-bottom { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
    .project-page .project__title.section-title { width: 100%; margin: 0; font-size: clamp(30px,8vw,44px); line-height: 1.1; }
    .project-page .project-info { width: 100%; max-width: none; gap: 16px; }
    .project-page .project-info__text.section-text { color: #c7c7c7; font-size: 17px; line-height: 1.5; }
}



/* Compact mobile adaptation form: one gap between the film, title and form. */
@media(max-width:768px) {
 .request .request-left { padding-top:24px; padding-bottom:28px; }
 .request .request-row.container .request-left__content { gap:24px; }
 .request .consultation-heading { margin-bottom:0; }
 .request .consultation-submit { margin-top:0; gap:12px; }
}

/* Photos meet the specification grid without an extra mobile flex gap. */
.project-gallery .project-gallery-row { row-gap: 0; }

/* Reserve horizontal drags for facades; retain page scrolling and pinch zoom. */
@media(max-width:1024px) {
 .facades-stage, .planning-main { touch-action: pan-y pinch-zoom; }
 .facades-stage img, .planning-main img { -webkit-user-drag: none; user-select: none; }
}

/* Inline facade/floor swipes: horizontal gestures, native vertical scroll and zoom. */
.facades-stage, .planning-main { touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.facades-stage img, .planning-main img { -webkit-user-drag: none; }
.facades-stage { cursor: grab; }
.facades-stage.is-dragging, .facades-stage.is-dragging *,
.planning-main.is-dragging, .planning-main.is-dragging * { cursor: grabbing!important; }

/* Accessible hit area for switching the hero exposure by clicking the photograph. */
.project-photo-toggle { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; z-index:1; cursor:pointer; touch-action:pan-y pinch-zoom; }
.project-photo-toggle:focus-visible { outline:2px solid #ff6a33; outline-offset:-5px; }

/* Do not start Safari image dragging/callouts while swiping inline images. */
.planning-main, .planning-main a, .planning-main img, .facades-stage, .facades-stage img { -webkit-touch-callout:none; touch-action:pan-y pinch-zoom; }

@media(max-width:768px) {
 .project-page .planning-bottom__link { min-height:60px; padding:18px 24px; font-size:18px; line-height:1.3; }
 .project-page .planning-bottom__link::after { width:18px; height:18px; right:20px; top:calc(50% - 9px); }
}
