:root {
    --bg: #f7f4ed;
    --bg-soft: #eee9df;
    --text: #111111;
    --muted: rgba(17, 17, 17, 0.62);
    --line: rgba(17, 17, 17, 0.11);
    --line-soft: rgba(17, 17, 17, 0.065);
    --accent: #ff4a1c;
    --accent-soft: rgba(255, 74, 28, 0.12);
    --blue: #3047ff;
    --white: #ffffff;
    --paper: #fbf7f0;
    --tile-bg: #f7f2ea;
    --container: min(100% - 48px, 1360px);
    --radius: 28px;
    --header-height: 76px;
    --font-main: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.35;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
}

p,
h1,
h2,
h3,
ul {
    margin-top: 0;
}

p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
ul:last-child {
    margin-bottom: 0;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

/* Standard header for inner pages. Hidden on the home artboard below. */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(247, 244, 237, 0.78);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(16px);
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    width: var(--container);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 860;
    letter-spacing: -0.075em;
    line-height: 0.9;
}

.site-logo::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.site-nav {
    justify-self: end;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    transition: color 0.2s ease;
}

.site-menu a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    padding: 10px 16px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

/* Standard footer for inner pages. Hidden on the home artboard below. */

.site-footer {
    padding: 80px 0 28px;
    background: var(--text);
    color: var(--bg);
}

.site-footer .container {
    width: var(--container);
}

.site-footer .eyebrow,
.site-footer .b-kicker {
    color: rgba(247, 244, 237, 0.58);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 48px;
}

.site-footer h2 {
    margin: 0;
    color: var(--bg);
    font-size: clamp(44px, 6vw, 96px);
    line-height: 0.9;
    letter-spacing: -0.075em;
}

.site-footer__contacts {
    display: grid;
    gap: 14px;
}

.site-footer__contacts a {
    color: var(--bg);
    font-size: clamp(22px, 2.4vw, 38px);
    font-weight: 840;
    letter-spacing: -0.055em;
}

.site-footer__contacts p {
    color: rgba(247, 244, 237, 0.62);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid rgba(247, 244, 237, 0.16);
    color: rgba(247, 244, 237, 0.58);
    font-size: 14px;
}

[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 980px) {
    :root {
        --container: min(100% - 32px, 1360px);
        --header-height: 68px;
    }

    body.admin-bar .site-header {
        top: 46px;
    }

    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 130;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 120;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(247, 244, 237, 0.96);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.24s ease, transform 0.24s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-menu {
        flex-direction: column;
        gap: 26px;
    }

    .site-menu a {
        color: var(--text);
        font-size: clamp(42px, 12vw, 90px);
        font-weight: 870;
        letter-spacing: -0.095em;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    :root {
        --container: min(100% - 24px, 1360px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Beaucoup-inspired artboard hero */

.home .site-header {
    display: none;
}

.bp-hero {
    position: relative;
    min-height: 1120px;
    padding: 0;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

/* фон из скруглённых ячеек */
.bp-hero__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
    opacity: 0.98;
}

.bp-card {
    position: absolute;
    z-index: 3;
    background: #fbf7f0;
    border: 1.4px solid #111;
    border-radius: 18px;
    box-shadow: none;
}

/* карточка логотипа */
.bp-card--logo {
    left: 54px;
    top: 56px;
    width: 390px;
    height: 150px;
    display: flex;
    align-items: center;
    padding: 0 68px;
}

.bp-logo {
    font-size: clamp(36px, 3vw, 58px);
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.085em;
    color: #111;
}

.bp-logo span {
    color: #ff4a1c;
}

/* карточка меню */
.bp-card--menu {
    right: 54px;
    top: 56px;
    width: 310px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.bp-menu-star {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 50%;
    font-size: 18px;
}

/* большое видео как главная сцена */
.bp-video {
    position: absolute;
    z-index: 1;
    left: 132px;
    right: 282px;
    top: 132px;
    height: 650px;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 0 0 14px 14px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.9), transparent 26%),
        linear-gradient(135deg, #d9d2c6, #f7f2ea);
}

.bp-video video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-video__fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 17, 17, 0.34);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* кнопка как отдельная карточка поверх сетки */
.bp-work-badge {
    position: absolute;
    z-index: 5;
    right: 130px;
    top: 454px;
    width: 282px;
    height: 208px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 27%, transparent 27.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 12deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* большой заголовок — отдельный лист поверх видео */
.bp-card--headline {
    left: 184px;
    top: 760px;
    width: min(68vw, 1180px);
    min-height: 300px;
    padding: 50px 78px 62px;
}

.bp-card--headline p {
    margin: 0 0 28px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bp-card--headline h1 {
    margin: 0;
    max-width: 1000px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(72px, 7.4vw, 142px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.075em;
}

/* текстовая карточка справа, с перекрытием */
.bp-card--text {
    right: 112px;
    top: 935px;
    width: 620px;
    min-height: 270px;
    padding: 54px 78px;
    display: grid;
    gap: 24px;
}

.bp-card--text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.17;
    letter-spacing: -0.045em;
}

/* нижняя карточка направлений */
.bp-card--news {
    left: 98px;
    top: 1110px;
    width: 820px;
    min-height: 260px;
    padding: 54px 70px;
}

.bp-card__label {
    margin: 0 0 24px;
    color: rgba(17, 17, 17, 0.72);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bp-card--news ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-card--news li {
    color: #111;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.bp-card--news li::before {
    content: "✦";
    margin-right: 14px;
    color: #3047ff;
    font-size: 16px;
}

/* чтобы следующий блок начинался ниже наложенных карточек */
.bp-hero + * {
    position: relative;
    z-index: 2;
}

/* планшет */
@media (max-width: 1180px) {
    .bp-hero {
        min-height: 1220px;
    }

    .bp-card--logo {
        left: 32px;
        top: 36px;
        width: 330px;
        height: 128px;
        padding: 0 42px;
    }

    .bp-card--menu {
        right: 32px;
        top: 36px;
        width: 230px;
        height: 128px;
    }

    .bp-video {
        left: 48px;
        right: 48px;
        top: 160px;
        height: 540px;
    }

    .bp-work-badge {
        right: 70px;
        top: 520px;
        width: 230px;
        height: 170px;
    }

    .bp-card--headline {
        left: 48px;
        top: 720px;
        width: calc(100% - 96px);
        padding: 42px;
    }

    .bp-card--text {
        right: 48px;
        top: 1010px;
        width: min(560px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-card--news {
        left: 48px;
        top: 1260px;
        width: calc(100% - 96px);
        padding: 42px;
    }
}

/* мобильный */
@media (max-width: 760px) {
    .bp-hero {
        min-height: 1220px;
    }

    .bp-hero__tiles {
        background-size: 54px 54px;
    }

    .bp-card {
        border-radius: 14px;
    }

    .bp-card--logo {
        left: 16px;
        right: 16px;
        top: 18px;
        width: auto;
        height: 104px;
        padding: 0 28px;
    }

    .bp-logo {
        font-size: 42px;
    }

    .bp-card--menu {
        left: 16px;
        right: 16px;
        top: 136px;
        width: auto;
        height: 84px;
    }

    .bp-video {
        left: 16px;
        right: 16px;
        top: 238px;
        height: 340px;
        border-radius: 14px;
    }

    .bp-work-badge {
        right: 28px;
        top: 514px;
        width: 170px;
        height: 126px;
        font-size: 12px;
    }

    .bp-card--headline {
        left: 16px;
        right: 16px;
        top: 610px;
        width: auto;
        min-height: 260px;
        padding: 32px 26px;
    }

    .bp-card--headline h1 {
        font-size: clamp(48px, 14vw, 76px);
    }

    .bp-card--text {
        left: 16px;
        right: 16px;
        top: 880px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-card--text p {
        font-size: 18px;
    }

    .bp-card--news {
        left: 16px;
        right: 16px;
        top: 1110px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-card--news li {
        font-size: 18px;
    }
}

/* Beaucoup-inspired studio scene */

.bp-studio-scene {
    position: relative;
    min-height: 1180px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-studio-scene__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

/* маленькая карточка-метка */
.bp-studio-label {
    left: 96px;
    top: 96px;
    width: 250px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-studio-label span {
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff4a1c;
}

/* большой заголовок */
.bp-studio-headline {
    left: 250px;
    top: 150px;
    width: min(72vw, 1180px);
    min-height: 350px;
    padding: 58px 76px 66px;
}

.bp-studio-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-studio-headline h2 {
    margin: 0;
    max-width: 1050px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(62px, 6.7vw, 126px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.07em;
}

/* визуальный блок */
.bp-studio-media {
    position: absolute;
    z-index: 2;
    left: 126px;
    top: 540px;
    width: min(46vw, 760px);
    height: 420px;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 18px;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 74, 28, 0.18), transparent 32%),
        #fbf7f0;
}

.bp-studio-media__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 48px 60px;
    background:
        linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
}

.bp-studio-media span {
    color: #ff4a1c;
    font-size: clamp(180px, 20vw, 340px);
    font-weight: 900;
    line-height: 0.72;
    letter-spacing: -0.14em;
}

/* текстовая карточка */
.bp-studio-text {
    right: 116px;
    top: 590px;
    width: 620px;
    min-height: 340px;
    padding: 58px 74px;
    display: grid;
    gap: 26px;
}

.bp-studio-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

/* карточка списка */
.bp-studio-list {
    left: 300px;
    top: 890px;
    width: 760px;
    min-height: 270px;
    padding: 52px 64px;
}

.bp-studio-list ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-studio-list li {
    color: #111;
    font-size: 22px;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.bp-studio-list li::before {
    content: "✦";
    margin-right: 14px;
    color: #3047ff;
    font-size: 16px;
}

/* круглая/лучевая CTA-карточка */
.bp-studio-link {
    position: absolute;
    z-index: 6;
    right: 210px;
    top: 935px;
    width: 235px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 28%, transparent 28.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 13deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* планшет */
@media (max-width: 1180px) {
    .bp-studio-scene {
        min-height: 1320px;
    }

    .bp-studio-label {
        left: 48px;
        top: 64px;
    }

    .bp-studio-headline {
        left: 48px;
        top: 170px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-studio-media {
        left: 48px;
        top: 560px;
        width: calc(100% - 96px);
        height: 380px;
    }

    .bp-studio-text {
        left: 48px;
        right: auto;
        top: 970px;
        width: min(620px, calc(100% - 96px));
        padding: 44px;
    }

    .bp-studio-list {
        left: 48px;
        top: 1210px;
        width: calc(100% - 96px);
        padding: 44px;
    }

    .bp-studio-link {
        right: 58px;
        top: 1070px;
    }
}

/* мобильный */
@media (max-width: 760px) {
    .bp-studio-scene {
        min-height: 1420px;
    }

    .bp-studio-scene__tiles {
        background-size: 54px 54px;
    }

    .bp-studio-label {
        left: 16px;
        right: 16px;
        top: 42px;
        width: auto;
        height: 80px;
    }

    .bp-studio-headline {
        left: 16px;
        right: 16px;
        top: 142px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-studio-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-studio-media {
        left: 16px;
        right: 16px;
        top: 470px;
        width: auto;
        height: 300px;
    }

    .bp-studio-media__inner {
        padding: 32px;
    }

    .bp-studio-text {
        left: 16px;
        right: 16px;
        top: 800px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-studio-text p {
        font-size: 18px;
    }

    .bp-studio-link {
        left: 34px;
        right: auto;
        top: 1040px;
        width: 180px;
        height: 132px;
        font-size: 12px;
    }

    .bp-studio-list {
        left: 16px;
        right: 16px;
        top: 1200px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-studio-list li {
        font-size: 18px;
    }
}
/* Beaucoup-inspired works scene */

.bp-works-scene {
    position: relative;
    min-height: 1420px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-works-scene__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

/* маленькая метка */
.bp-works-label {
    left: 96px;
    top: 92px;
    width: 230px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-works-label span {
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* заголовок */
.bp-works-headline {
    left: 250px;
    top: 150px;
    width: min(74vw, 1120px);
    min-height: 330px;
    padding: 58px 76px 66px;
}

.bp-works-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-works-headline h2 {
    margin: 0;
    max-width: 1040px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(62px, 6.7vw, 126px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.07em;
}

/* текстовая карточка */
.bp-works-text {
    right: 116px;
    top: 440px;
    width: 540px;
    min-height: 230px;
    padding: 48px 58px;
}

.bp-works-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

/* проекты */
.bp-work-project {
    position: absolute;
    z-index: 3;
}

.bp-work-project a {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: inherit;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
}

.bp-work-project__media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 74, 28, 0.14), transparent 32%),
        linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        #eee7dc;
    background-size: auto, 42px 42px, 42px 42px, auto;
}

.bp-work-project__media span {
    position: absolute;
    left: 28px;
    bottom: 24px;
    color: rgba(17, 17, 17, 0.34);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.bp-work-project__caption {
    padding: 28px 32px 34px;
    border-top: 1.4px solid #111;
    background: #fbf7f0;
}

.bp-work-project__caption p {
    margin: 0 0 14px;
    color: rgba(17, 17, 17, 0.62);
    font-size: 15px;
    font-weight: 700;
}

.bp-work-project__caption h3 {
    margin: 0;
    max-width: 620px;
    color: #111;
    font-size: clamp(32px, 3vw, 54px);
    line-height: 0.94;
    letter-spacing: -0.065em;
    font-weight: 850;
}

.bp-work-project--main {
    left: 116px;
    top: 620px;
    width: min(48vw, 760px);
    min-height: 650px;
}

.bp-work-project--main .bp-work-project__media {
    min-height: 470px;
}

.bp-work-project--second {
    right: 116px;
    top: 710px;
    width: min(34vw, 560px);
    min-height: 430px;
}

.bp-work-project--third {
    right: 260px;
    top: 1080px;
    width: min(32vw, 520px);
    min-height: 390px;
}

.bp-work-project--third .bp-work-project__media {
    min-height: 250px;
}

/* CTA-бейдж */
.bp-works-badge {
    position: absolute;
    z-index: 6;
    left: 720px;
    top: 560px;
    width: 245px;
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 28%, transparent 28.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 13deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* hover */
.bp-work-project a {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bp-work-project a:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(17, 17, 17, 0.12);
}

/* планшет */
@media (max-width: 1180px) {
    .bp-works-scene {
        min-height: 1660px;
    }

    .bp-works-label {
        left: 48px;
        top: 64px;
    }

    .bp-works-headline {
        left: 48px;
        top: 170px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-works-text {
        left: 48px;
        right: auto;
        top: 520px;
        width: min(580px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-works-badge {
        right: 58px;
        left: auto;
        top: 560px;
    }

    .bp-work-project--main {
        left: 48px;
        top: 780px;
        width: calc(100% - 96px);
        min-height: 560px;
    }

    .bp-work-project--main .bp-work-project__media {
        min-height: 380px;
    }

    .bp-work-project--second {
        left: 48px;
        right: auto;
        top: 1380px;
        width: calc(50% - 56px);
        min-height: 410px;
    }

    .bp-work-project--third {
        right: 48px;
        top: 1440px;
        width: calc(50% - 56px);
        min-height: 410px;
    }
}

/* мобильный */
@media (max-width: 760px) {
    .bp-works-scene {
        min-height: 1980px;
    }

    .bp-works-scene__tiles {
        background-size: 54px 54px;
    }

    .bp-works-label {
        left: 16px;
        right: 16px;
        top: 42px;
        width: auto;
        height: 80px;
    }

    .bp-works-headline {
        left: 16px;
        right: 16px;
        top: 142px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-works-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-works-text {
        left: 16px;
        right: 16px;
        top: 500px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-works-text p {
        font-size: 18px;
    }

    .bp-works-badge {
        left: 34px;
        right: auto;
        top: 690px;
        width: 180px;
        height: 132px;
        font-size: 12px;
    }

    .bp-work-project--main {
        left: 16px;
        right: 16px;
        top: 850px;
        width: auto;
        min-height: 520px;
    }

    .bp-work-project--main .bp-work-project__media {
        min-height: 330px;
    }

    .bp-work-project--second {
        left: 16px;
        right: 16px;
        top: 1400px;
        width: auto;
        min-height: 390px;
    }

    .bp-work-project--third {
        left: 16px;
        right: 16px;
        top: 1780px;
        width: auto;
        min-height: 390px;
    }

    .bp-work-project__caption {
        padding: 24px 26px 28px;
    }

    .bp-work-project__caption h3 {
        font-size: 32px;
    }
}

/* Beaucoup-inspired services scene */

.bp-services-scene {
    position: relative;
    min-height: 1260px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-services-scene__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-services-label {
    left: 96px;
    top: 92px;
    width: 230px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-services-label span {
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-services-headline {
    left: 250px;
    top: 150px;
    width: min(70vw, 1080px);
    min-height: 330px;
    padding: 58px 76px 66px;
}

.bp-services-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-services-headline h2 {
    margin: 0;
    max-width: 980px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(60px, 6.5vw, 122px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.bp-services-text {
    right: 116px;
    top: 455px;
    width: 560px;
    min-height: 250px;
    padding: 50px 60px;
}

.bp-services-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

/* карточки-услуги */
.bp-service-ticket {
    position: absolute;
    z-index: 3;
    padding: 42px 46px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
}

.bp-service-ticket span {
    display: block;
    margin-bottom: 36px;
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.bp-service-ticket h3 {
    margin: 0 0 34px;
    color: #111;
    font-size: clamp(34px, 3.1vw, 56px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 850;
}

.bp-service-ticket ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-service-ticket li {
    color: rgba(17, 17, 17, 0.72);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.bp-service-ticket li::before {
    content: "✦";
    margin-right: 10px;
    color: #3047ff;
    font-size: 13px;
}

.bp-service-ticket--one {
    left: 116px;
    top: 650px;
    width: 430px;
    min-height: 430px;
}

.bp-service-ticket--two {
    left: 520px;
    top: 745px;
    width: 390px;
    min-height: 390px;
}

.bp-service-ticket--three {
    right: 116px;
    top: 690px;
    width: 460px;
    min-height: 440px;
}

.bp-service-ticket--four {
    left: 285px;
    top: 1050px;
    width: 560px;
    min-height: 340px;
}

/* бейдж */
.bp-services-badge {
    position: absolute;
    z-index: 6;
    right: 300px;
    top: 1040px;
    width: 235px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 28%, transparent 28.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 13deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* hover */
.bp-service-ticket {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bp-service-ticket:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(17, 17, 17, 0.11);
}

/* планшет */
@media (max-width: 1180px) {
    .bp-services-scene {
        min-height: 1650px;
    }

    .bp-services-label {
        left: 48px;
        top: 64px;
    }

    .bp-services-headline {
        left: 48px;
        top: 170px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-services-text {
        left: 48px;
        right: auto;
        top: 520px;
        width: min(580px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-service-ticket--one {
        left: 48px;
        top: 800px;
        width: calc(50% - 58px);
    }

    .bp-service-ticket--two {
        right: 48px;
        left: auto;
        top: 880px;
        width: calc(50% - 58px);
    }

    .bp-service-ticket--three {
        left: 48px;
        right: auto;
        top: 1210px;
        width: calc(50% - 58px);
    }

    .bp-service-ticket--four {
        right: 48px;
        left: auto;
        top: 1290px;
        width: calc(50% - 58px);
    }

    .bp-services-badge {
        right: 58px;
        top: 615px;
    }
}

/* мобильный */
@media (max-width: 760px) {
    .bp-services-scene {
        min-height: 2100px;
    }

    .bp-services-scene__tiles {
        background-size: 54px 54px;
    }

    .bp-services-label {
        left: 16px;
        right: 16px;
        top: 42px;
        width: auto;
        height: 80px;
    }

    .bp-services-headline {
        left: 16px;
        right: 16px;
        top: 142px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-services-text {
        left: 16px;
        right: 16px;
        top: 530px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-text p {
        font-size: 18px;
    }

    .bp-services-badge {
        left: 34px;
        right: auto;
        top: 760px;
        width: 180px;
        height: 132px;
        font-size: 12px;
    }

    .bp-service-ticket {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-service-ticket h3 {
        font-size: 36px;
    }

    .bp-service-ticket--one {
        top: 920px;
    }

    .bp-service-ticket--two {
        top: 1210px;
    }

    .bp-service-ticket--three {
        top: 1490px;
    }

    .bp-service-ticket--four {
        top: 1790px;
    }
}
/* Beaucoup-inspired production scene */

.bp-production-scene {
    position: relative;
    min-height: 1180px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-production-scene__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-production-label {
    left: 96px;
    top: 92px;
    width: 270px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-production-label span {
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-production-headline {
    left: 250px;
    top: 150px;
    width: min(72vw, 1120px);
    min-height: 330px;
    padding: 58px 76px 66px;
}

.bp-production-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-production-headline h2 {
    margin: 0;
    max-width: 1040px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(60px, 6.4vw, 120px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.bp-production-text {
    right: 116px;
    top: 450px;
    width: 620px;
    min-height: 320px;
    padding: 54px 68px;
    display: grid;
    gap: 24px;
}

.bp-production-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.bp-production-media {
    position: absolute;
    z-index: 2;
    left: 116px;
    top: 610px;
    width: min(46vw, 760px);
    height: 420px;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 18px;
    background:
        radial-gradient(circle at 76% 20%, rgba(255, 74, 28, 0.16), transparent 32%),
        #fbf7f0;
}

.bp-production-media__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 44px 54px;
    background:
        linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
}

.bp-production-media span {
    color: rgba(17, 17, 17, 0.22);
    font-size: clamp(58px, 8vw, 128px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.1em;
}

.bp-production-step {
    position: absolute;
    z-index: 4;
    width: 360px;
    min-height: 230px;
    padding: 34px 38px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
}

.bp-production-step span {
    display: block;
    margin-bottom: 26px;
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 900;
}

.bp-production-step h3 {
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(30px, 2.6vw, 46px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 850;
}

.bp-production-step p {
    margin: 0;
    color: rgba(17, 17, 17, 0.72);
    font-size: 17px;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.bp-production-step--one {
    left: 300px;
    top: 945px;
}

.bp-production-step--two {
    left: 690px;
    top: 860px;
}

.bp-production-step--three {
    right: 116px;
    top: 900px;
}

.bp-production-step {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bp-production-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(17, 17, 17, 0.11);
}

@media (max-width: 1180px) {
    .bp-production-scene {
        min-height: 1580px;
    }

    .bp-production-label {
        left: 48px;
        top: 64px;
    }

    .bp-production-headline {
        left: 48px;
        top: 170px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-production-text {
        left: 48px;
        right: auto;
        top: 530px;
        width: min(620px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-production-media {
        left: 48px;
        top: 820px;
        width: calc(100% - 96px);
        height: 360px;
    }

    .bp-production-step--one {
        left: 48px;
        top: 1220px;
        width: calc(50% - 58px);
    }

    .bp-production-step--two {
        right: 48px;
        left: auto;
        top: 1280px;
        width: calc(50% - 58px);
    }

    .bp-production-step--three {
        left: 48px;
        right: auto;
        top: 1480px;
        width: calc(100% - 96px);
    }
}

@media (max-width: 760px) {
    .bp-production-scene {
        min-height: 1840px;
    }

    .bp-production-scene__tiles {
        background-size: 54px 54px;
    }

    .bp-production-label {
        left: 16px;
        right: 16px;
        top: 42px;
        width: auto;
        height: 80px;
    }

    .bp-production-headline {
        left: 16px;
        right: 16px;
        top: 142px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-production-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-production-text {
        left: 16px;
        right: 16px;
        top: 560px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-production-text p {
        font-size: 18px;
    }

    .bp-production-media {
        left: 16px;
        right: 16px;
        top: 840px;
        width: auto;
        height: 300px;
    }

    .bp-production-media__inner {
        padding: 32px;
    }

    .bp-production-step {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-production-step--one {
        top: 1180px;
    }

    .bp-production-step--two {
        top: 1390px;
    }

    .bp-production-step--three {
        top: 1600px;
    }

    .bp-production-step h3 {
        font-size: 34px;
    }
}

/* Beaucoup-inspired contact scene */

.bp-contact-scene {
    position: relative;
    min-height: 880px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-contact-scene__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-contact-label {
    left: 96px;
    top: 92px;
    width: 250px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-contact-label span {
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-contact-main {
    left: 250px;
    top: 150px;
    width: min(72vw, 1120px);
    min-height: 390px;
    padding: 58px 76px 66px;
}

.bp-contact-main > p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-contact-main h2 {
    margin: 0;
    max-width: 980px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(68px, 7.4vw, 142px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.bp-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 44px;
}

.bp-contact-links a {
    color: #111;
    font-size: clamp(24px, 2.8vw, 46px);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.bp-contact-text {
    right: 116px;
    top: 465px;
    width: 620px;
    min-height: 300px;
    padding: 54px 68px;
    display: grid;
    gap: 24px;
}

.bp-contact-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.bp-contact-small {
    width: 270px;
    min-height: 150px;
    padding: 30px 34px;
}

.bp-contact-small span {
    display: block;
    margin-bottom: 20px;
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 900;
}

.bp-contact-small p {
    margin: 0;
    color: #111;
    font-size: 28px;
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.bp-contact-small--one {
    left: 116px;
    top: 600px;
}

.bp-contact-small--two {
    left: 405px;
    top: 665px;
}

.bp-contact-small--three {
    left: 695px;
    top: 610px;
}

.bp-contact-copy {
    position: absolute;
    z-index: 3;
    left: 96px;
    bottom: 44px;
    color: rgba(17, 17, 17, 0.62);
    font-size: 14px;
    font-weight: 700;
}

/* Прячем стандартный футер только на главной, чтобы не было дубля */
.home .site-footer {
    display: none;
}

@media (max-width: 1180px) {
    .bp-contact-scene {
        min-height: 1120px;
    }

    .bp-contact-label {
        left: 48px;
        top: 64px;
    }

    .bp-contact-main {
        left: 48px;
        top: 170px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-contact-text {
        left: 48px;
        right: auto;
        top: 570px;
        width: min(620px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-contact-small--one {
        left: 48px;
        top: 870px;
    }

    .bp-contact-small--two {
        left: 335px;
        top: 920px;
    }

    .bp-contact-small--three {
        left: 620px;
        top: 870px;
    }

    .bp-contact-copy {
        left: 48px;
    }
}

@media (max-width: 760px) {
    .bp-contact-scene {
        min-height: 1320px;
    }

    .bp-contact-scene__tiles {
        background-size: 54px 54px;
    }

    .bp-contact-label {
        left: 16px;
        right: 16px;
        top: 42px;
        width: auto;
        height: 80px;
    }

    .bp-contact-main {
        left: 16px;
        right: 16px;
        top: 142px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-contact-main h2 {
        font-size: clamp(48px, 14vw, 82px);
    }

    .bp-contact-links {
        flex-direction: column;
        margin-top: 34px;
    }

    .bp-contact-links a {
        font-size: 28px;
    }

    .bp-contact-text {
        left: 16px;
        right: 16px;
        top: 560px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-contact-text p {
        font-size: 18px;
    }

    .bp-contact-small {
        left: 16px !important;
        right: 16px !important;
        width: auto;
        min-height: auto;
        padding: 28px 26px;
    }

    .bp-contact-small--one {
        top: 840px;
    }

    .bp-contact-small--two {
        top: 980px;
    }

    .bp-contact-small--three {
        top: 1120px;
    }

    .bp-contact-copy {
        left: 16px;
        bottom: 32px;
    }
}

/* Menu panel */

.bp-card--menu {
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.bp-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #f7f2ea;
    color: #111;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
        opacity 0.32s ease,
        visibility 0.32s ease,
        transform 0.32s ease;
    overflow: hidden;
}

body.bp-menu-open {
    overflow: hidden;
}

body.bp-menu-open .bp-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.bp-menu-panel__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-menu-panel__close {
    position: absolute;
    z-index: 3;
    right: 54px;
    top: 56px;
    width: 310px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
    font: inherit;
    font-size: 22px;
    cursor: pointer;
}

.bp-menu-panel__close span:last-child {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 50%;
    font-size: 18px;
}

.bp-menu-panel__nav {
    position: absolute;
    z-index: 2;
    left: 96px;
    top: 170px;
    width: min(1040px, calc(100% - 192px));
    display: grid;
    gap: 18px;
}

.bp-menu-panel__nav a {
    min-height: 140px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 34px 56px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(56px, 7vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.075em;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.bp-menu-panel__nav a:hover {
    transform: translateX(12px);
    box-shadow: 0 26px 70px rgba(17, 17, 17, 0.1);
}

.bp-menu-panel__nav span {
    color: #ff4a1c;
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.bp-menu-panel__contact {
    position: absolute;
    z-index: 2;
    right: 116px;
    bottom: 72px;
    width: 560px;
    min-height: 190px;
    padding: 44px 52px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
}

.bp-menu-panel__contact p {
    margin: 0 0 18px;
    color: rgba(17, 17, 17, 0.64);
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-menu-panel__contact a {
    color: #111;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

@media (max-width: 980px) {
    .bp-menu-panel__close {
        right: 32px;
        top: 32px;
        width: 230px;
        height: 110px;
    }

    .bp-menu-panel__nav {
        left: 32px;
        top: 170px;
        width: calc(100% - 64px);
    }

    .bp-menu-panel__nav a {
        min-height: 110px;
        padding: 28px 34px;
        font-size: clamp(46px, 11vw, 88px);
    }

    .bp-menu-panel__contact {
        left: 32px;
        right: 32px;
        bottom: 42px;
        width: auto;
    }
}

@media (max-width: 560px) {
    .bp-menu-panel__tiles {
        background-size: 54px 54px;
    }

    .bp-menu-panel__close {
        left: 16px;
        right: 16px;
        top: 18px;
        width: auto;
        height: 84px;
        font-size: 18px;
    }

    .bp-menu-panel__nav {
        left: 16px;
        top: 130px;
        width: calc(100% - 32px);
        gap: 12px;
    }

    .bp-menu-panel__nav a {
        min-height: 86px;
        padding: 22px 24px;
        gap: 18px;
        font-size: clamp(38px, 13vw, 62px);
    }

    .bp-menu-panel__contact {
        left: 16px;
        right: 16px;
        bottom: 24px;
        padding: 28px 26px;
    }

    .bp-menu-panel__contact a {
        font-size: 26px;
    }
}

/* Site-wide Beaucoup-inspired footer */

.home .site-footer {
    display: block;
}

.bp-site-footer {
    position: relative;
    padding: 0;
    background: #f7f2ea;
    color: #111;
    border-top: 1.4px solid #111;
}

.bp-footer-wrap {
    position: relative;
    padding: 28px 28px 32px;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-footer-logo-card {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: clamp(38px, 6vw, 88px);
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
}

.bp-footer-logo {
    display: inline-flex;
    align-items: baseline;
    color: #111;
    font-size: clamp(72px, 14vw, 250px);
    font-weight: 950;
    line-height: 0.82;
    letter-spacing: -0.11em;
}

.bp-footer-logo span {
    color: #ff4a1c;
}

.bp-footer-nav-card {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: -1.4px;
    padding: 0 clamp(28px, 4vw, 74px);
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
}

.bp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}

.bp-footer-nav a,
.bp-footer-contacts a {
    color: #111;
    font-size: clamp(18px, 1.35vw, 24px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.bp-footer-nav a {
    font-weight: 500;
}

.bp-footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 28px;
}

.bp-footer-contacts a {
    font-weight: 760;
}

.bp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 4px 0;
    color: rgba(17, 17, 17, 0.58);
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 980px) {
    .bp-footer-logo-card {
        min-height: 300px;
    }

    .bp-footer-nav-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 34px;
    }

    .bp-footer-contacts {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .bp-footer-wrap {
        padding: 16px;
        background-size: 54px 54px;
    }

    .bp-footer-logo-card {
        min-height: 220px;
        padding: 34px 26px;
    }

    .bp-footer-logo {
        font-size: clamp(52px, 17vw, 92px);
    }

    .bp-footer-nav-card {
        padding: 24px 26px;
    }

    .bp-footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .bp-footer-contacts {
        flex-direction: column;
        gap: 12px;
    }

    .bp-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Services page */

.bp-page {
    background: #f7f2ea;
    color: #111;
}

.bp-services-hero,
.bp-services-cards,
.bp-services-process {
    position: relative;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-services-hero {
    min-height: 980px;
    padding-top: var(--header-height);
}

body.admin-bar .bp-services-hero {
    padding-top: calc(var(--header-height) + 32px);
}

.bp-services-hero__tiles,
.bp-services-cards__tiles,
.bp-services-process__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-services-page-label {
    left: 96px;
    top: 150px;
    width: 250px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-services-page-label span {
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-services-page-headline {
    left: 250px;
    top: 220px;
    width: min(74vw, 1180px);
    min-height: 390px;
    padding: 58px 76px 66px;
}

.bp-services-page-headline p,
.bp-services-process-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-services-page-headline h1,
.bp-services-process-headline h2 {
    margin: 0;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 7vw, 136px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.bp-services-page-text {
    right: 116px;
    top: 570px;
    width: 620px;
    min-height: 300px;
    padding: 54px 68px;
    display: grid;
    gap: 24px;
}

.bp-services-page-text p,
.bp-services-process-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.bp-services-page-badge {
    position: absolute;
    z-index: 6;
    left: 120px;
    top: 670px;
    width: 245px;
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 28%, transparent 28.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 13deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* cards section */

.bp-services-cards {
    min-height: 1580px;
    margin-top: -1px;
}

.bp-service-full {
    position: absolute;
    z-index: 3;
    padding: 54px 62px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
}

.bp-service-full > span {
    display: block;
    margin-bottom: 36px;
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.bp-service-full h2 {
    margin: 0 0 34px;
    color: #111;
    font-size: clamp(48px, 5.4vw, 102px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 850;
}

.bp-service-full p {
    max-width: 620px;
    margin: 0 0 34px;
    color: rgba(17, 17, 17, 0.76);
    font-size: clamp(18px, 1.35vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.bp-service-full ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-service-full li {
    color: #111;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.bp-service-full li::before {
    content: "✦";
    margin-right: 10px;
    color: #3047ff;
    font-size: 13px;
}

.bp-service-full--one {
    left: 96px;
    top: 120px;
    width: min(52vw, 840px);
    min-height: 520px;
}

.bp-service-full--two {
    right: 116px;
    top: 300px;
    width: min(42vw, 680px);
    min-height: 500px;
}

.bp-service-full--three {
    left: 220px;
    top: 720px;
    width: min(46vw, 760px);
    min-height: 520px;
}

.bp-service-full--four {
    right: 170px;
    top: 1030px;
    width: min(48vw, 780px);
    min-height: 500px;
}

/* process */

.bp-services-process {
    min-height: 980px;
    margin-top: -1px;
}

.bp-services-process-headline {
    left: 150px;
    top: 120px;
    width: min(72vw, 1120px);
    min-height: 360px;
    padding: 58px 76px 66px;
}

.bp-services-process-text {
    right: 116px;
    top: 430px;
    width: 560px;
    min-height: 220px;
    padding: 48px 58px;
}

.bp-services-process-step {
    width: 360px;
    min-height: 230px;
    padding: 34px 38px;
}

.bp-services-process-step span {
    display: block;
    margin-bottom: 26px;
    color: #ff4a1c;
    font-size: 15px;
    font-weight: 900;
}

.bp-services-process-step h3 {
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(30px, 2.6vw, 46px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 850;
}

.bp-services-process-step p {
    margin: 0;
    color: rgba(17, 17, 17, 0.72);
    font-size: 17px;
    line-height: 1.18;
}

.bp-services-process-step--one {
    left: 116px;
    top: 660px;
}

.bp-services-process-step--two {
    left: 505px;
    top: 720px;
}

.bp-services-process-step--three {
    right: 116px;
    top: 650px;
}

@media (max-width: 1180px) {
    .bp-services-hero {
        min-height: 1080px;
    }

    .bp-services-page-label {
        left: 48px;
        top: 130px;
    }

    .bp-services-page-headline {
        left: 48px;
        top: 240px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-services-page-text {
        left: 48px;
        right: auto;
        top: 640px;
        width: min(620px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-services-page-badge {
        right: 58px;
        left: auto;
        top: 700px;
    }

    .bp-services-cards {
        min-height: 2080px;
    }

    .bp-service-full {
        left: 48px !important;
        right: 48px !important;
        width: auto !important;
    }

    .bp-service-full--one {
        top: 90px;
    }

    .bp-service-full--two {
        top: 590px;
    }

    .bp-service-full--three {
        top: 1090px;
    }

    .bp-service-full--four {
        top: 1590px;
    }

    .bp-services-process {
        min-height: 1300px;
    }

    .bp-services-process-headline {
        left: 48px;
        top: 110px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-services-process-text {
        left: 48px;
        right: auto;
        top: 520px;
        width: min(620px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-services-process-step--one {
        left: 48px;
        top: 820px;
        width: calc(50% - 58px);
    }

    .bp-services-process-step--two {
        right: 48px;
        left: auto;
        top: 880px;
        width: calc(50% - 58px);
    }

    .bp-services-process-step--three {
        left: 48px;
        right: auto;
        top: 1120px;
        width: calc(100% - 96px);
    }
}

@media (max-width: 760px) {
    .bp-services-hero {
        min-height: 1180px;
    }

    .bp-services-hero__tiles,
    .bp-services-cards__tiles,
    .bp-services-process__tiles {
        background-size: 54px 54px;
    }

    .bp-services-page-label {
        left: 16px;
        right: 16px;
        top: 110px;
        width: auto;
        height: 80px;
    }

    .bp-services-page-headline {
        left: 16px;
        right: 16px;
        top: 210px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-page-headline h1 {
        font-size: clamp(46px, 13vw, 78px);
    }

    .bp-services-page-text {
        left: 16px;
        right: 16px;
        top: 610px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-page-text p {
        font-size: 18px;
    }

    .bp-services-page-badge {
        left: 34px;
        right: auto;
        top: 900px;
        width: 180px;
        height: 132px;
        font-size: 12px;
    }

    .bp-services-cards {
        min-height: 2320px;
    }

    .bp-service-full {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        padding: 32px 26px;
    }

    .bp-service-full h2 {
        font-size: clamp(38px, 12vw, 66px);
    }

    .bp-service-full p {
        font-size: 18px;
    }

    .bp-service-full ul {
        grid-template-columns: 1fr;
    }

    .bp-service-full--one {
        top: 70px;
    }

    .bp-service-full--two {
        top: 610px;
    }

    .bp-service-full--three {
        top: 1140px;
    }

    .bp-service-full--four {
        top: 1710px;
    }

    .bp-services-process {
        min-height: 1420px;
    }

    .bp-services-process-headline {
        left: 16px;
        right: 16px;
        top: 80px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-process-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-services-process-text {
        left: 16px;
        right: 16px;
        top: 430px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-process-step {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-services-process-step--one {
        top: 700px;
    }

    .bp-services-process-step--two {
        top: 910px;
    }

    .bp-services-process-step--three {
        top: 1120px;
    }
}

/* Animated word hero — Beaucoup-like services header */

.page-template-page-services .site-header,
.page-template-page-services-php .site-header {
    display: none;
}

.bp-word-hero {
    position: relative;
    height: 185vh;
    background: #f7f2ea;
    color: #111;
}

.bp-word-hero__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #f7f2ea;
}

body.admin-bar .bp-word-hero__sticky {
    top: 32px;
    height: calc(100vh - 32px);
}

.bp-word-hero__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

/* большое белое поле со словом */
.bp-word-hero__stage {
    position: absolute;
    z-index: 1;
    left: 126px;
    right: 126px;
    top: 86px;
    height: min(66vh, 680px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
}

.bp-word-hero__word {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(118px, 18vw, 330px);
    font-weight: 400;
    line-height: 0.72;
    letter-spacing: -0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform;
}

.bp-word-hero__word span {
    display: inline-block;
    transform-origin: 50% 56%;
    will-change: transform;
    text-shadow:
        1px 1px 0 rgba(17, 17, 17, 0.24),
        2px 2px 0 rgba(17, 17, 17, 0.12);
}

/* верхние карточки */
.bp-word-hero__logo-card,
.bp-word-hero__menu-card {
    position: absolute;
    z-index: 4;
    top: 54px;
    height: 150px;
    display: flex;
    align-items: center;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
}

.bp-word-hero__logo-card {
    left: 54px;
    width: 390px;
    padding: 0 68px;
    font-size: clamp(36px, 3vw, 58px);
    font-weight: 950;
    line-height: 0.88;
    letter-spacing: -0.085em;
}

.bp-word-hero__logo-card span {
    color: #ff4a1c;
}

.bp-word-hero__menu-card {
    right: 54px;
    width: 310px;
    justify-content: center;
    gap: 14px;
    appearance: none;
    font: inherit;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
    cursor: pointer;
}

.bp-word-hero__menu-card span:last-child {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 50%;
    font-size: 18px;
}

/* карточка, которая наезжает снизу */
.bp-word-hero__content-card {
    position: absolute;
    z-index: 5;
    left: 126px;
    bottom: -310px;
    width: min(62vw, 1120px);
    min-height: 360px;
    padding: 58px 76px 66px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    will-change: transform;
}

.bp-word-hero__content-card p {
    margin: 0 0 30px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-word-hero__content-card h1 {
    margin: 0;
    max-width: 980px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.8vw, 128px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.075em;
}

/* боковая карточка тоже появляется во время прокрутки */
.bp-word-hero__side-card {
    position: absolute;
    z-index: 6;
    right: 126px;
    bottom: -210px;
    width: 520px;
    min-height: 300px;
    padding: 46px 54px;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    will-change: transform;
}

.bp-word-hero__side-card p {
    margin: 0 0 26px;
    color: #111;
    font-size: clamp(18px, 1.2vw, 22px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.bp-word-hero__side-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-word-hero__side-card li {
    color: #111;
    font-size: 17px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.bp-word-hero__side-card li::before {
    content: "✦";
    margin-right: 10px;
    color: #3047ff;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .bp-word-hero {
        height: 170vh;
    }

    .bp-word-hero__stage {
        left: 48px;
        right: 48px;
        top: 160px;
        height: 52vh;
    }

    .bp-word-hero__logo-card {
        left: 32px;
        top: 36px;
        width: 330px;
        height: 128px;
        padding: 0 42px;
    }

    .bp-word-hero__menu-card {
        right: 32px;
        top: 36px;
        width: 230px;
        height: 128px;
    }

    .bp-word-hero__content-card {
        left: 48px;
        bottom: -300px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-word-hero__side-card {
        left: 48px;
        right: auto;
        bottom: -250px;
        width: min(560px, calc(100% - 96px));
        padding: 42px;
    }
}

@media (max-width: 760px) {
    .bp-word-hero {
        height: 165vh;
    }

    .bp-word-hero__tiles {
        background-size: 54px 54px;
    }

    .bp-word-hero__logo-card {
        left: 16px;
        right: 16px;
        top: 18px;
        width: auto;
        height: 104px;
        padding: 0 28px;
        font-size: 42px;
    }

    .bp-word-hero__menu-card {
        left: 16px;
        right: 16px;
        top: 136px;
        width: auto;
        height: 84px;
    }

    .bp-word-hero__stage {
        left: 16px;
        right: 16px;
        top: 238px;
        height: 360px;
    }

    .bp-word-hero__word {
        font-size: clamp(78px, 24vw, 136px);
    }

    .bp-word-hero__content-card {
        left: 16px;
        right: 16px;
        bottom: -330px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-word-hero__content-card h1 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-word-hero__side-card {
        left: 16px;
        right: 16px;
        bottom: -390px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }
}

/* Stronger word hero motion fix */

.bp-word-hero {
    height: 220vh;
}

.bp-word-hero__content-card {
    bottom: auto !important;
    top: calc(100vh + 44px);
    opacity: 0;
    transform: translateY(0);
}

.bp-word-hero__side-card {
    bottom: auto !important;
    top: calc(100vh + 190px);
    opacity: 0;
    transform: translateY(0);
}

.bp-word-hero__content-card,
.bp-word-hero__side-card {
    transition: opacity 0.12s linear;
}

/* чтобы большое слово оставалось главным первым впечатлением */
.bp-word-hero__stage {
    height: min(72vh, 720px);
}

@media (max-width: 1180px) {
    .bp-word-hero {
        height: 210vh;
    }

    .bp-word-hero__content-card {
        top: calc(100vh + 40px);
    }

    .bp-word-hero__side-card {
        top: calc(100vh + 230px);
    }
}

@media (max-width: 760px) {
    .bp-word-hero {
        height: 215vh;
    }

    .bp-word-hero__content-card {
        top: calc(100vh + 32px);
    }

    .bp-word-hero__side-card {
        top: calc(100vh + 360px);
    }
}

/* Fix for inner animated pages */
body:has(.bp-word-hero) .site-header {
    display: none;
}

/* Works page emergency layout */

.bp-works-list {
    position: relative;
    min-height: 1760px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-works-list__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-work-full {
    position: absolute;
    z-index: 3;
}

.bp-work-full a {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: inherit;
    overflow: hidden;
    border: 1.4px solid #111;
    border-radius: 18px;
    background: #fbf7f0;
    color: #111;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bp-work-full a:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(17, 17, 17, 0.12);
}

.bp-work-full__media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 74, 28, 0.14), transparent 32%),
        linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
        #eee7dc;
    background-size: auto, 42px 42px, 42px 42px, auto;
}

.bp-work-full__media span {
    position: absolute;
    left: 28px;
    bottom: 24px;
    color: rgba(17, 17, 17, 0.34);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.bp-work-full__caption {
    padding: 32px 38px 40px;
    border-top: 1.4px solid #111;
    background: #fbf7f0;
}

.bp-work-full__caption p {
    margin: 0 0 16px;
    color: rgba(17, 17, 17, 0.62);
    font-size: 15px;
    font-weight: 700;
}

.bp-work-full__caption h2 {
    margin: 0;
    color: #111;
    font-size: clamp(38px, 4.2vw, 78px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 850;
}

.bp-work-full--one {
    left: 96px;
    top: 110px;
    width: min(52vw, 820px);
    min-height: 680px;
}

.bp-work-full--two {
    right: 116px;
    top: 270px;
    width: min(40vw, 640px);
    min-height: 560px;
}

.bp-work-full--three {
    left: 220px;
    top: 850px;
    width: min(40vw, 650px);
    min-height: 560px;
}

.bp-work-full--four {
    right: 170px;
    top: 1050px;
    width: min(46vw, 760px);
    min-height: 620px;
}

/* Note block */

.bp-works-note {
    position: relative;
    min-height: 900px;
    margin-top: -1px;
    overflow: hidden;
    background: #f7f2ea;
    color: #111;
}

.bp-works-note__tiles {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='78' height='78' viewBox='0 0 78 78' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.8' y='0.8' width='76.4' height='76.4' rx='14' ry='14' fill='none' stroke='%23111111' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 78px 78px;
}

.bp-works-note-headline {
    left: 150px;
    top: 120px;
    width: min(72vw, 1120px);
    min-height: 360px;
    padding: 58px 76px 66px;
}

.bp-works-note-headline p {
    margin: 0 0 26px;
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-works-note-headline h2 {
    margin: 0;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 7vw, 136px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.bp-works-note-text {
    right: 116px;
    top: 430px;
    width: 620px;
    min-height: 260px;
    padding: 54px 68px;
}

.bp-works-note-text p {
    margin: 0;
    color: #111;
    font-size: clamp(19px, 1.3vw, 24px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.bp-works-note-badge {
    position: absolute;
    z-index: 6;
    left: 120px;
    top: 580px;
    width: 245px;
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #111;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, #fbf7f0 0 28%, transparent 28.5%),
        repeating-conic-gradient(from 0deg, #3047ff 0deg 2deg, transparent 2deg 13deg),
        #fbf7f0;
    color: #3047ff;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 1180px) {
    .bp-works-list {
        min-height: 2440px;
    }

    .bp-work-full {
        left: 48px !important;
        right: 48px !important;
        width: auto !important;
    }

    .bp-work-full--one {
        top: 90px;
    }

    .bp-work-full--two {
        top: 680px;
    }

    .bp-work-full--three {
        top: 1260px;
    }

    .bp-work-full--four {
        top: 1840px;
    }

    .bp-works-note {
        min-height: 1060px;
    }

    .bp-works-note-headline {
        left: 48px;
        top: 110px;
        width: calc(100% - 96px);
        padding: 46px;
    }

    .bp-works-note-text {
        left: 48px;
        right: auto;
        top: 520px;
        width: min(620px, calc(100% - 96px));
        padding: 42px;
    }

    .bp-works-note-badge {
        right: 58px;
        left: auto;
        top: 690px;
    }
}

@media (max-width: 760px) {
    .bp-works-list {
        min-height: 2460px;
    }

    .bp-works-list__tiles,
    .bp-works-note__tiles {
        background-size: 54px 54px;
    }

    .bp-work-full {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
    }

    .bp-work-full__media {
        min-height: 300px;
    }

    .bp-work-full__caption {
        padding: 26px;
    }

    .bp-work-full__caption h2 {
        font-size: clamp(34px, 10vw, 58px);
    }

    .bp-work-full--one {
        top: 70px;
    }

    .bp-work-full--two {
        top: 640px;
    }

    .bp-work-full--three {
        top: 1210px;
    }

    .bp-work-full--four {
        top: 1780px;
    }

    .bp-works-note {
        min-height: 1040px;
    }

    .bp-works-note-headline {
        left: 16px;
        right: 16px;
        top: 80px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-works-note-headline h2 {
        font-size: clamp(44px, 12vw, 72px);
    }

    .bp-works-note-text {
        left: 16px;
        right: 16px;
        top: 430px;
        width: auto;
        min-height: auto;
        padding: 32px 26px;
    }

    .bp-works-note-text p {
        font-size: 18px;
    }

    .bp-works-note-badge {
        left: 34px;
        right: auto;
        top: 700px;
        width: 180px;
        height: 132px;
        font-size: 12px;
    }
}
.bp-work-full__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}