/*
 * West Moor Park East - site stylesheet
 * Replaces the Archicon theme, Elementor, Qi Addons, Royal Addons and LoftLoader styles.
 * Sizes are the live site's. Breakpoints as on live: Elementor tablet <= 1024px and phone <= 767px,
 * Archicon type steps at 1680 / 1440 / 1366 / 1024 / 768 / 680px.
 * Fonts: "Oakes regular" / "Oakes bold" (Oakes Grotesk Medium / Bold), Space Grotesk and Roboto, self-hosted
 * (declared in inc/site/site.php). Text that live sets in "OAK-R", "OAK-B" or "NeueEinstellung" never gets
 * those fonts on live (they are blocked cross-origin), so it is set in the browser's sans-serif here too.
 *
 *  1. Tokens            8. Case studies (tabs, slider)    15. Transport links
 *  2. Base              9. Location                       16. Project team
 *  3. Section titles   10. Potential                      17. Agents
 *  4. Loader           11. Statistics                     18. Bottom bar
 *  5. Header and menu  12. Amongst the best               19. Back to top, lightbox
 *  6. Hero             13. Neighbours                     20. Reveal animations, plain pages
 *  7. Flexible space,  14. Sustainability
 *     schemes, banners
 */

/* 1. Tokens -------------------------------------------------------------- */

:root {
    --body: "Oakes regular", sans-serif;
    --display: "Oakes bold", sans-serif;
    --menu: "Space Grotesk", sans-serif;
    --roboto: "Roboto", sans-serif;
    /* OAK-R / OAK-B / NeueEinstellung on live: never loaded there, so the generic fallback */
    --fallback: sans-serif;

    --green: #00de82;
    --dark: #262724;
    --panel: #32332f;
    --light: #f8f8f7;
    --blue: #6ec1e4;
    --rule: rgba(112, 112, 112, 0.5);
    --gradient: linear-gradient(63deg, #527f91 40%, #00de82 100%);
}

/* 2. Base ---------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: #000;
    font-family: var(--body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.667em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

p {
    margin: 10px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 25px 0;
    font-weight: 400;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

h1 {
    font-family: var(--display);
    font-size: 60px;
    line-height: 1em;
}

h2 {
    font-family: var(--display);
    font-size: 40px;
    line-height: 1.125em;
}

h3 {
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.143em;
}

h5 {
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.556em;
}

@media (max-width: 680px) {
    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 30px;
    }
}

ul,
dl,
dd,
figure {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease-out;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    z-index: 100001;
    padding: 10px 16px;
    background: #fff;
    color: #000;
}

.skip-link:focus {
    top: 10px;
}

/* 3. Section titles (Archicon "section title") ---------------------------- */

/* The title inherits the metrics of the heading it sits in on live: h1 (60px / 45px <= 680px) for most,
   h2 for the sustainability title. Per-breakpoint sizes come from inline custom properties (wm_title());
   a breakpoint without a value falls back to the heading's own size, exactly as the theme does. */
.stitle {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
}

.stitle--h1 {
    font-size: 60px;
    line-height: 1em;
    letter-spacing: -0.025em;
}

.stitle--h2 {
    font-size: 40px;
    line-height: 1.125em;
    letter-spacing: -0.025em;
}

@media (max-width: 680px) {
    .stitle--h1 {
        font-size: 45px;
    }

    .stitle--h2 {
        font-size: 30px;
    }
}

.stitle__inner {
    display: block;
    font-size: var(--fs);
    line-height: var(--lh);
}

@media (max-width: 1680px) {
    .stitle__inner {
        font-size: var(--fs-1680);
        line-height: var(--lh-1680);
    }
}

@media (max-width: 1440px) {
    .stitle__inner {
        font-size: var(--fs-1440);
        line-height: var(--lh-1440);
    }
}

@media (max-width: 1366px) {
    .stitle__inner {
        font-size: var(--fs-1366);
        line-height: var(--lh-1366);
    }
}

@media (max-width: 1024px) {
    .stitle__inner {
        font-size: var(--fs-1024);
        line-height: var(--lh-1024);
    }
}

@media (max-width: 768px) {
    .stitle__inner {
        font-size: var(--fs-768);
        line-height: var(--lh-768);
    }
}

@media (max-width: 680px) {
    .stitle__inner {
        font-size: var(--fs-680);
        line-height: var(--lh-680);
    }
}

/* Highlighted words: white/black first, then the green copy wipes in from the left */
.stitle__highlight {
    position: relative;
    line-height: 1.1;
}

.stitle__original {
    color: currentColor;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.stitle__fake {
    position: absolute;
    left: 0;
    color: var(--green);
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.stitle__highlight.is-appeared .stitle__original {
    clip-path: inset(0 0 0 100%);
}

.stitle__highlight.is-appeared .stitle__fake {
    clip-path: inset(0 0 0 0);
}

/* Words and letters rise in (split by wmpe.js) */
.stitle__word,
.stitle__char {
    position: relative;
    display: inline-block;
}

.js .stitle--appear {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.js .stitle--appear.is-appeared {
    opacity: 1;
}

/* Text under a title (Archicon "qodef-m-text") */
.stitle-text {
    margin: 18px 0 0;
}

/* 4. Loader (LoftLoader "frame") -------------------------------------------- */

.loader {
    display: none;
}

.js .loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: block;
    background: var(--green);
    transition: opacity 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
}

.js.is-loaded .loader {
    opacity: 0;
    pointer-events: none;
}

.js.is-loaded .loader.is-gone {
    display: none;
}

.loader__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
}

.loader__frame {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    max-width: 90vw;
    color: #fff;
    transition: opacity 0.3s ease-out;
}

.is-loaded .loader__frame {
    opacity: 0;
}

.loader__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 64px;
    max-width: 80%;
    height: auto;
    max-height: 80%;
    transform: translate(-50%, -50%);
}

.loader__frame::before,
.loader__frame::after,
.loader__sides::before,
.loader__sides::after {
    position: absolute;
    background: currentColor;
    content: "";
}

.loader__frame::before,
.loader__frame::after {
    width: 100%;
    height: 4px;
}

.loader__frame::before {
    top: 0;
    right: 0;
    animation: wm-frame-top 4s linear infinite;
}

.loader__frame::after {
    bottom: 0;
    left: 0;
    animation: wm-frame-bottom 4s linear 1s infinite;
}

.loader__sides {
    position: absolute;
    inset: 0;
}

.loader__sides::before,
.loader__sides::after {
    width: 4px;
    height: 100%;
}

.loader__sides::before {
    right: 0;
    bottom: 0;
    animation: wm-frame-right 4s linear 0.5s infinite;
}

.loader__sides::after {
    top: 0;
    left: 0;
    animation: wm-frame-left 4s linear 1.5s infinite;
}

@keyframes wm-frame-top {
    0% { transform: scaleX(1); transform-origin: 100% 0; }
    12.5% { transform: scaleX(0); transform-origin: 100% 0; }
    50% { transform: scaleX(0); transform-origin: 0 0; }
    62.5% { transform: scaleX(1); transform-origin: 0 0; }
    100% { transform: scaleX(1); transform-origin: 0 0; }
}

@keyframes wm-frame-bottom {
    0% { transform: scaleX(1); transform-origin: 0 0; }
    12.5% { transform: scaleX(0); transform-origin: 0 0; }
    50% { transform: scaleX(0); transform-origin: 100% 0; }
    62.5% { transform: scaleX(1); transform-origin: 100% 0; }
    100% { transform: scaleX(1); transform-origin: 100% 0; }
}

@keyframes wm-frame-right {
    0% { transform: scaleY(1); transform-origin: 0 100%; }
    12.5% { transform: scaleY(0); transform-origin: 0 100%; }
    50% { transform: scaleY(0); transform-origin: 0 0; }
    62.5% { transform: scaleY(1); transform-origin: 0 0; }
    100% { transform: scaleY(1); transform-origin: 0 0; }
}

@keyframes wm-frame-left {
    0% { transform: scaleY(1); transform-origin: 0 0; }
    12.5% { transform: scaleY(0); transform-origin: 0 0; }
    50% { transform: scaleY(0); transform-origin: 0 100%; }
    62.5% { transform: scaleY(1); transform-origin: 0 100%; }
    100% { transform: scaleY(1); transform-origin: 0 100%; }
}

/* 5. Header and menu ------------------------------------------------------- */

/* Sits over the hero and scrolls away with it (live: 400px box, page pulled up underneath) */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

.site-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 400px;
    padding: 0 30px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    width: 320px;
    height: 80px;
    padding: 60px 60px 10px;
}

.site-header__logo-img {
    display: block;
    width: 200px;
    height: auto;
}

.site-nav {
    position: relative;
    width: 150px;
    height: 480px;
    margin-right: 11px;
    padding-top: 25px;
    overflow: hidden;
    text-align: right;
}

.site-nav__list {
    display: inline-block;
    width: 100%;
}

.site-nav__list li {
    position: relative;
}

.site-nav__link {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 8px 0;
    color: #fff;
    font-family: var(--menu);
    font-size: 18px;
    line-height: 28.008px;
    letter-spacing: -0.45px;
    text-transform: uppercase;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #fff;
}

.site-nav__link__text,
.mobile-menu__link__text {
    background-image: linear-gradient(to top, currentColor 1px, transparent 1px);
    background-repeat: no-repeat;
    background-position: 100% 0;
    background-size: 0 100%;
    transition: background-size 0.35s cubic-bezier(0.16, 0.48, 0.36, 1), color 0.3s ease-out;
}

.site-nav__link:hover .site-nav__link__text,
.site-nav__link:focus-visible .site-nav__link__text,
.mobile-menu__link:hover .mobile-menu__link__text,
.mobile-menu__link:focus-visible .mobile-menu__link__text {
    background-position-x: 0;
    background-size: 100% 100%;
}

.mobile-header {
    display: none;
}

@media (max-width: 1024px) {
    .site-header__inner {
        display: none;
    }

    .mobile-header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 70px;
        padding: 0 5%;
    }
}

.menu-toggle {
    display: grid;
    align-items: center;
    justify-items: center;
    margin-left: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    line-height: 1;
    cursor: pointer;
}

.menu-toggle {
    font-size: 20px;
}

.menu-toggle__icon {
    grid-area: 1 / 1;
}

.menu-toggle__icon svg {
    display: inline;
    height: auto;
}

.menu-toggle__icon--close {
    place-self: center end;
    visibility: hidden;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon--open {
    visibility: hidden;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon--close {
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    display: none;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom: 1px solid #d4d4d4;
    background: #fff;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__list {
    margin: 0 auto;
    padding: 34px 5%;
}

@media (max-width: 680px) {
    .mobile-header {
        padding: 0 7%;
    }

    .mobile-menu__list {
        padding-right: 7%;
        padding-left: 7%;
    }
}

.mobile-menu__list li {
    padding: 11px 0;
}

.mobile-menu__link {
    display: block;
    color: #000;
    font-family: var(--menu);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.45px;
    text-transform: uppercase;
}

/* 6. Hero ------------------------------------------------------------------ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero {
        height: auto;
    }
}

/* Parallax photo (Archicon): a holder 150% tall, the photo filling its height, moved by wmpe.js */
.hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__media-holder {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 150%;
}

.hero__media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 12.5%, 0);
    will-change: transform;
}

.hero__image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    transform: translate(-50%, -50%);
}

/* No parallax on touch screens or with reduced motion: the photo simply covers the hero */
.hero.is-static .hero__media-holder {
    top: 0;
    height: 100%;
}

.hero.is-static .hero__media-wrapper {
    transform: none;
}

.hero.is-static .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    margin-left: 60px;
    padding: 10px;
}

.hero__logo {
    display: none;
}

.hero__title {
    width: 1069px;
    max-width: 100%;
    color: #fff;
}

.hero__kicker {
    width: 90.774%;
    color: #fff;
    font-family: var(--fallback);
    font-size: 26px;
}

.hero__text {
    width: 53.866%;
    color: #fff;
    font-family: var(--fallback);
    font-size: 18px;
}

@media (max-width: 1024px) {
    .hero__logo {
        display: block;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .hero__logo-img {
        display: block;
        width: calc(min(300px, 100%) * 0.81);
        height: auto;
    }

    .hero__title {
        width: 790px;
    }

    .hero__title .stitle {
        margin: 0 66px 0 -66px;
        padding: 60px 0 60px 60px;
    }

    .hero__text {
        width: 459.914px;
    }
}

@media (max-width: 767px) {
    .hero__content {
        margin-left: 5%;
    }

    .hero__logo {
        margin-top: 10px;
    }

    .hero__logo-img {
        width: calc(min(300px, 100%) * 0.51);
    }

    .hero__title .stitle {
        margin: 0 25px 0 0;
        padding: 28px 0 0;
    }

    /* live: 5% padding of the 269.969px text box */
    .hero__text {
        width: 269.969px;
        padding: 13.498px 0;
    }
}

/* 7. Flexible space, recent schemes, photo banners -------------------------- */

.flexible {
    display: flex;
    padding: 135px 70px 80px 0;
    background: #fff;
}

.flexible__title {
    width: 50%;
}

.flexible__title .stitle {
    margin-left: 60px;
}

.flexible__benefits {
    display: flex;
    width: 50%;
}

.flexible__column {
    width: 50%;
}

.flexible__column:first-child {
    padding-right: 60px;
}

.flexible__column:last-child {
    padding-left: 60px;
}

.benefit {
    display: flex;
    align-items: flex-start;
}

.benefit + .benefit {
    padding-top: 70px;
}

.benefit__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin-right: 15px;
}

.benefit__title {
    flex: 1;
    margin: 0;
}

@media (max-width: 1024px) {
    .flexible {
        flex-wrap: wrap;
        padding: 50px 70px;
    }

    .flexible__title {
        width: 100%;
    }

    .flexible__title .stitle {
        width: 790px;
        max-width: 100%;
        margin: 0;
        padding: 130px 0 60px;
    }

    .flexible__benefits {
        width: 100%;
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .flexible {
        padding: 50px 30px 0;
    }

    .flexible__title .stitle {
        width: auto;
        margin: 0 25px 0 0;
        padding: 10% 0 0;
    }

    .flexible__benefits {
        flex-direction: column;
        padding-top: 50px;
    }

    .flexible__column,
    .flexible__column:first-child,
    .flexible__column:last-child {
        width: 100%;
        padding: 0;
    }

    .flexible__column:last-child .benefit:first-child {
        padding-top: 70px;
    }
}

.schemes {
    display: flex;
    align-items: flex-start;
    padding: 90px 70px;
    background: var(--light);
}

.schemes__title {
    width: 25%;
    margin: 9px 0 0;
    font-family: var(--fallback);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.6px;
}

.schemes__item {
    width: 25%;
}

.schemes__link {
    display: block;
    margin: 4%;
}

.schemes__image {
    display: block;
    margin: 0 auto;
}

/* the development version has more room above and below */
@media (min-width: 1025px) {
    .schemes--tall {
        padding: 160px 70px;
    }
}

@media (max-width: 1024px) {
    .schemes {
        flex-wrap: wrap;
        margin-top: 115px;
        padding: 110px 70px 105px;
    }

    .schemes__title {
        width: 100%;
        margin: 0 0 20px;
    }

    .schemes__item {
        width: 33%;
    }
}

@media (max-width: 767px) {
    .schemes {
        margin-top: 50px;
        padding: 80px 25px;
    }

    .schemes__item {
        width: 100%;
    }

    .schemes__link {
        margin: 0;
    }

    .schemes__item:nth-of-type(2) .schemes__link {
        margin: 7% 0;
    }
}

@media (max-width: 680px) {
    .schemes__title {
        font-size: 30px;
    }
}

/* Full-height photo with the green gradient multiplied over it (fixed background on desktop, as on live) */
.banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1025px;
    background: var(--bg) 0 0 / cover no-repeat fixed;
}

.banner::before {
    position: absolute;
    inset: 0;
    background-image: var(--gradient);
    opacity: 0.5;
    mix-blend-mode: multiply;
    content: "";
}

.banner__content {
    position: relative;
    width: 722px;
    max-width: 100%;
    padding: 265px 70px;
}

.banner__title {
    color: #fff;
}

@media (max-width: 1024px) {
    .banner {
        background-attachment: scroll;
    }

    .banner__content {
        padding: 150px 70px;
    }
}

@media (max-width: 767px) {
    .banner {
        padding: 0 25px;
    }

    .banner__content {
        padding: 100px 0;
    }
}

/* 8. Case studies (Elementor tabs + Qi image slider) ------------------------ */

/* Live shows these cases unstyled (huge light-blue Roboto, black headings) because the case templates' own
   CSS never loads there. At the client's request (21 Oct 2026) they use the templates' intended styles:
   white text at the normal sizes, green region name, a 1400px two-column layout (one column on tablet and phone).
   The OAK-R / OAK-B fonts named in the templates are set in the site's Oakes faces. */
.cases {
    padding: 20px;
    overflow: hidden;
    background: var(--dark);
}

.tabs {
    margin-top: 50px;
}

.tabs__list {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.tabs__tab,
.tabs__toggle {
    position: relative;
    margin: 0;
    padding: 20px 25px;
    border: 0;
    background: var(--panel);
    color: #fff;
    font-family: var(--roboto);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    cursor: pointer;
}

.tabs__tab.is-active {
    color: var(--green);
}

.tabs__panels {
    background: var(--panel);
}

.tabs__toggle {
    display: none;
}

.tabs__panel {
    padding: 30px 20px;
}

.tabs__panel[hidden] {
    display: none;
}

.case {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* the templates use 80px / 60px column padding; one 60px padding keeps the heading, photo and phase
   columns on the same lines */
.case__text,
.case__media {
    width: 50%;
    padding: 60px;
}

.case--phases .case__text {
    padding-top: 0;
}

.case__heading {
    margin: 0 0 15px;
    font-weight: 400;
    line-height: 1.125;
    letter-spacing: -0.025em;
}

.case__place {
    color: #fff;
    font-family: var(--body);
    font-size: 28px;
}

.case__region {
    color: var(--green);
    font-family: var(--display);
    font-size: 32px;
}

.case__lead {
    width: 97.661%;
    margin: 0;
    padding-bottom: 60px;
    color: #fff;
    font-family: var(--display);
    font-size: 18px;
    line-height: 22px;
}

.case__body p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    text-align: justify;
}

.case__body p + p {
    margin-top: 22px;
}

@media (max-width: 1024px) {
    .cases {
        padding: 0;
    }

    .tabs__tab {
        border: 3px solid transparent;
        border-right-width: 0;
    }

    .tabs__tab.is-active {
        border-color: #d5d8dc;
        border-bottom-style: none;
    }

    /* the line under the tab row runs out from both sides of the active tab */
    .tabs__tab.is-active::before,
    .tabs__tab.is-active::after {
        position: absolute;
        bottom: 0;
        width: 999em;
        border-bottom: 1px solid #d5d8dc;
        content: "";
    }

    .tabs__tab.is-active::before {
        right: 100%;
    }

    .tabs__tab.is-active::after {
        left: 100%;
    }

    .tabs__panel {
        border: 1px solid #d5d8dc;
        border-width: 0 3px 1px 1px;
    }

    .case {
        display: block;
    }

    .case__text,
    .case__media,
    .case--phases .case__text {
        width: 100%;
        padding: 20px;
    }

    .case__media {
        padding: 0 20px 20px;
    }
}

@media (max-width: 767px) {
    .tabs__list {
        display: none;
    }

    .tabs__panels {
        border-bottom: 1px solid #d5d8dc;
    }

    .tabs__toggle {
        display: block;
        width: 100%;
        padding: 10px;
        border: solid #d5d8dc;
        border-width: 1px 0 0 1px;
        line-height: 25.005px;
        text-align: left;
    }

    .tabs__panel {
        padding: 10px;
        border-width: 1px 0 0 1px;
    }

    .case__lead {
        padding-bottom: 30px;
        font-size: 15px;
    }

    .case__body {
        padding-bottom: 30px;
    }

    .case__body p {
        font-size: 15px;
        text-align: left;
    }

}

/* Slider: one photo at a time, looping, autoplay every 3s (Qi image slider) */
.slider {
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: grab;
}

.slider__viewport {
    overflow: hidden;
}

.slider__track {
    display: flex;
    transition: transform 0.8s ease;
}

.slider__slide {
    flex: 0 0 100%;
    margin-right: 30px;
}

.slider__link {
    display: block;
}

.slider__image {
    display: block;
    width: 100%;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: #111;
    font-size: 26px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.slider__arrow svg {
    display: block;
    width: 1em;
    height: auto;
    transition: transform 0.25s cubic-bezier(0.37, 0.08, 0.02, 0.93);
}

.slider__arrow--prev {
    left: 30px;
}

.slider__arrow--prev svg {
    margin-left: 4px;
}

.slider__arrow--next {
    right: 30px;
}

.slider__arrow--next svg {
    margin-right: 4px;
}

.slider__arrow--prev:hover svg {
    transform: translateX(-4px);
}

.slider__arrow--next:hover svg {
    transform: translateX(4px);
}

.slider__dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 8px;
}

.slider__dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #fff;
    transform: scale(0.72);
    transition: transform 0.2s ease-out;
    cursor: pointer;
}

.slider__dot.is-active {
    transform: scale(1);
}

@media (max-width: 1024px) {
    .slider__slide {
        margin-right: 0;
    }
}

/* 9. Location ----------------------------------------------------------------- */

/* Title box: 671px at most, then a 60px left margin and 43% / 5% padding of that box (Elementor widget) */
.location {
    display: flex;
}

.location__text,
.location__map {
    width: 50%;
}

.location__inner {
    width: calc(min(671px, 100%) - 60px);
    margin-left: 60px;
    padding: calc(min(671px, 100%) * 0.43) calc(min(671px, 100%) * 0.05) 0 0;
}

.location__map iframe {
    display: block;
    width: 100%;
    height: 1000px;
    border: 0;
}

@media (max-width: 1024px) {
    .location {
        flex-wrap: wrap;
    }

    .location__inner {
        width: calc(min(790px, 100%) - 60px);
        padding: 130px 0 60px;
    }
}

@media (max-width: 767px) {
    .location__text,
    .location__map {
        width: 100%;
    }

    .location__inner {
        width: auto;
        margin: 0 3px 0 5px;
        padding: 50px 30px;
    }
}

/* 10. Potential ------------------------------------------------------------- */

.potential {
    display: flex;
    background: var(--dark);
    color: #fff;
}

.potential__photo {
    width: 50%;
    min-height: 1080px;
    background: var(--bg) 50% 0 / cover no-repeat;
}

.potential__text {
    width: 50%;
}

.potential__inner {
    width: calc(min(748px, 100%) - 60px);
    margin-left: 60px;
    padding: calc(min(748px, 100%) * 0.43) calc(min(748px, 100%) * 0.1) 0 0;
}

@media (max-width: 1024px) {
    .potential {
        flex-wrap: wrap;
    }

    .potential__photo,
    .potential__text {
        width: 100%;
    }

    .potential__photo {
        min-height: 500px;
    }

    .potential__text {
        padding: 350px 0;
    }

    .potential__inner {
        width: calc(min(790px, 100%) - 60px);
        padding: 130px 0 60px;
    }
}

@media (max-width: 767px) {
    .potential__photo {
        min-height: 600px;
    }

    .potential__text {
        padding: 0 0 50px;
    }

    .potential__inner {
        width: auto;
        margin: 0 3px 0 5px;
        padding: 50px 30px 0;
    }
}

/* 11. Statistics ------------------------------------------------------------- */

.statistics {
    display: flex;
    padding: 130px 70px 132px;
}

.statistics__title {
    width: 50%;
}

.statistics__title .stitle {
    width: calc(min(684px, 100%) - 60px);
    margin-left: 60px;
}

.statistics__grid {
    width: 50%;
}

.statistics__row {
    display: flex;
    padding: 0 4% 4%;
}

.stat {
    width: 50%;
    padding-right: 30px;
}

.stat__icon {
    padding-bottom: var(--gap, 20px);
}

.stat__icon img {
    display: block;
}

.stat__counter {
    width: 312px;
    max-width: 100%;
}

.stat__digit {
    margin: 0;
    font-size: 70px;
    line-height: 1;
    letter-spacing: -0.025em;
    white-space: pre;
}

/* five of the counters have a fixed 60px size on live */
.statistics__row:nth-child(2) .stat__digit,
.statistics__row:nth-child(3) .stat:nth-child(2) .stat__digit,
.statistics__row:nth-child(4) .stat__digit {
    font-size: 60px;
}

.stat__text {
    margin: 9px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--rule);
}

@media (max-width: 1440px) {
    .stat__digit {
        font-size: 60px;
    }
}

@media (max-width: 1024px) {
    .statistics {
        flex-wrap: wrap;
        padding: 110px 55px 115px;
    }

    .statistics__title,
    .statistics__grid {
        width: 100%;
    }

    .statistics__title .stitle {
        width: 790px;
        max-width: 100%;
        margin: 0;
        padding: 130px 0 60px;
    }

    .statistics__grid {
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .statistics {
        padding: 50px 30px;
    }

    .statistics__title {
        padding: 0 7%;
    }

    .statistics__title .stitle {
        width: 279px;
        padding: 0;
    }

    .statistics__grid {
        padding-top: 25px;
    }

    .statistics__row {
        flex-direction: column;
    }

    .stat {
        width: 100%;
        padding-right: 0;
    }

    .stat__counter {
        padding-bottom: 20px;
    }

    .statistics__row:last-child .stat:last-child .stat__counter {
        padding-bottom: 0;
    }
}

/* 12. Amongst the best (the menu's Neighbours anchor is the 20px strip above) ---- */

.anchor-strip {
    height: 20px;
}

.among {
    position: relative;
    color: #fff;
}

.among__image {
    display: block;
    width: 100%;
}

.among__title {
    position: absolute;
    top: 40%;
    left: 60px;
    padding: 10px;
}

@media (max-width: 767px) {
    .among__title {
        top: 20%;
        padding: 0;
    }

    /* the phone version on live is a plain h1 (45px), not the section title */
    .among__title .stitle {
        margin: 25px 0;
    }

    .among__title .stitle__inner {
        font-size: inherit;
        line-height: inherit;
    }
}

/* 13. Neighbours ----------------------------------------------------------------- */

.neighbours {
    display: flex;
    padding: 150px 80px 160px;
}

.neighbour {
    display: flex;
    width: 25%;
}

/* Elementor column: 5% margin and 5% padding of the column; content centred vertically.
   On desktop the box keeps the column's full width (the 327px text is wider than what is left). */
.neighbour__inner {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-content: center;
    width: 100%;
    margin: 5%;
    padding: 5%;
}

.neighbour__logo {
    width: 100%;
    height: 188px;
    line-height: 0;
}

.neighbour__logo-img {
    display: block;
    width: 150px;
    height: 150px;
}

.neighbour__body {
    width: 327px;
    max-width: 100%;
    padding: 48px 0 30px;
}

.neighbour__title {
    margin: 0;
}

.neighbour__text {
    margin: 2px 0 0;
}

@media (max-width: 1024px) {
    .neighbours {
        flex-wrap: wrap;
        padding: 160px 70px;
    }

    .neighbour {
        width: 50%;
    }

    .neighbour__inner {
        flex-shrink: 1;
    }

    .neighbour__body {
        width: 280px;
    }
}

@media (max-width: 767px) {
    .neighbours {
        padding: 25px;
    }

    .neighbour {
        width: 100%;
    }

    .neighbour__logo {
        height: 118px;
    }

    .neighbour__body {
        width: 100%;
    }
}

/* 14. Sustainability ------------------------------------------------------------- */

.sustain-banner {
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--bg) 50% 50% / cover no-repeat fixed;
}

.sustain-banner__content {
    width: 1050px;
    max-width: 100%;
    padding: 265px 70px;
}

.sustain-banner__text {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 28.008px;
    letter-spacing: -0.45px;
}

@media (max-width: 1024px) {
    .sustain-banner {
        background-attachment: scroll;
    }

    .sustain-banner__content {
        padding: 150px 70px;
    }
}

@media (max-width: 767px) {
    .sustain-banner {
        padding: 0 25px;
    }

    .sustain-banner__content {
        padding: 100px 0;
    }
}

.sustain {
    background: var(--dark);
    color: #fff;
    --grid: 1400px;
}

@media (max-width: 1440px) {
    .sustain {
        --grid: 1100px;
    }
}

@media (max-width: 1200px) {
    .sustain {
        --grid: 960px;
    }
}

.sustain__row {
    display: flex;
    width: var(--grid);
    max-width: 100%;
    margin: 0 auto;
    padding-top: 140px;
}

.sustain__row--2 {
    padding-bottom: 140px;
}

.sustain__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    margin-top: calc(var(--grid) * 0.004);
    text-align: center;
}

.sustain__icon {
    display: block;
    height: 150px;
    line-height: 0;
}

.sustain__icon-img {
    display: block;
    width: 120px;
    height: 120px;
}

.sustain__text {
    display: block;
    width: 100%;
    margin-top: 40px;
    font-family: var(--roboto);
}

@media (max-width: 1024px) {
    .sustain {
        padding: 0 70px;
    }

    .sustain__row {
        flex-direction: column;
        width: 90%;
        padding-top: 53px;
        padding-bottom: 20px;
    }

    .sustain__row--2 {
        padding-bottom: 20px;
    }

    .sustain__item {
        width: 100%;
        margin-top: 2%;
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .sustain {
        padding: 0 30px;
    }

    .sustain__row {
        padding-top: 60px;
    }

    .sustain__row--2 {
        padding-top: 0;
        padding-bottom: 60px;
    }
}

@media (max-width: 680px) {
    .sustain__row {
        width: 86%;
    }
}

/* 15. Transport links ---------------------------------------------------------------- */

.links {
    display: flex;
    padding: 160px 70px;
    background: var(--light);
}

/* Elementor column: 2% margin of the column (a third of the row) and 10px padding */
.link-card {
    width: calc(33.333% - 1.3333%);
    margin: 0.6667%;
    padding: 10px;
}

.link-card__image {
    display: block;
    width: 100%;
}

.link-card__title {
    margin: 30px 0;
    font-family: var(--fallback);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
}

.link-card__text {
    margin: 0;
    font-family: var(--fallback);
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    letter-spacing: -0.45px;
    text-align: justify;
}

@media (max-width: 1024px) {
    .links {
        padding: 110px 70px 105px;
    }
}

@media (max-width: 767px) {
    .links {
        flex-direction: column;
        padding: 110px 25px 105px;
    }

    .link-card {
        width: auto;
        margin: 2%;
    }
}

/* 16. Project team ---------------------------------------------------------------- */

.team {
    display: flex;
}

.team__list {
    width: 50%;
    margin-bottom: 50px;
    padding: 50px 30px;
}

.team__list .stitle {
    width: 626px;
    max-width: 100%;
}

.team__group {
    padding: 10px;
}

.team__group--first {
    padding-top: 60px;
}

.team__role,
.team__name {
    font-family: var(--fallback);
    color: #000;
    letter-spacing: -0.025em;
}

.team__role {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.team__name {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1;
}

.team__photo {
    width: 50%;
    min-height: 283px;
    background: var(--bg) 100% 50% / 74% auto no-repeat fixed;
}

@media (max-width: 1024px) {
    .team {
        flex-wrap: wrap;
    }

    .team__list,
    .team__photo {
        width: 100%;
    }

    .team__list .stitle {
        width: 790px;
        padding: 130px 0 60px;
    }

    .team__photo {
        min-height: 336px;
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .team__list .stitle {
        width: auto;
        margin: 0 25px;
        padding: 0;
    }

    .team__role,
    .team__name {
        margin-left: 5%;
    }

    .team__group:last-child .team__name:last-child {
        margin-bottom: 5%;
    }

    .team__photo {
        min-height: 283px;
        background-size: 431px auto;
    }
}

/* 17. Agents ------------------------------------------------------------------------- */

.agents {
    background: var(--bg) 0 0 / cover no-repeat fixed;
    color: #fff;
    font-family: var(--fallback);
    font-size: 13px;
    font-weight: 700;
}

.agents__intro {
    margin: 0;
    padding: 63px 50px 60px;
    line-height: 14px;
}

.agents__row {
    display: flex;
    padding: 50px;
}

.agents__cell {
    width: calc(100% / var(--cols, 7));
}

.agents__logo {
    display: block;
    width: max-content;
}

.agents__logo-img {
    display: block;
    width: auto;
    height: 96px;
}

.agents__cell--logo-1 {
    padding-bottom: 19px;
}

.agent {
    margin: 13px 0 10px;
}

.agent b {
    font-weight: 900;
}

/* the Savills contacts are plain text on live (no paragraph), so nothing below them */
.agents__cell--plain .agent {
    margin-bottom: 0;
}

.agent a {
    color: #fff;
}

@media (max-width: 1024px) {
    .agents {
        background-attachment: scroll;
    }

    .agents__intro {
        padding: 43px 20px 20px;
    }

    .agents__row {
        flex-wrap: wrap;
        padding: 20px 20px 50px;
    }

    .agents__cell {
        width: 25%;
    }

    .agents__cell--logo-2 .agents__logo-img,
    .agents__cell--logo-3 .agents__logo-img {
        height: 109px;
    }
}

@media (max-width: 767px) {
    .agents__intro,
    .agents__cell--contact {
        text-align: center;
    }

    .agents__cell {
        width: 100%;
    }
}

/* The two older versions: intro and agents in Elementor's 1140px box, four columns */
.agents--boxed .agents__intro,
.agents--boxed .agents__row {
    width: min(1140px, 100% - 40px);
    margin: 0 auto;
}

.agents--boxed .agents__intro {
    padding: 43px 10px 40px;
}

.agents--boxed .agents__row {
    padding: 20px 0;
}

.agents--boxed .agents__cell {
    padding: 10px;
}

.agents--boxed .agents__cell--logo-1 {
    padding-bottom: 29px;
}

/* 18. Bottom bar ------------------------------------------------------------------------ */

.legal {
    --grid: 1400px;
    display: flex;
    align-items: flex-start;
    padding: calc(var(--grid) * 0.01) calc(var(--grid) * 0.02);
    background: #414141;
    color: #fff;
}

@media (max-width: 1440px) {
    .legal {
        --grid: 1100px;
    }
}

@media (max-width: 1200px) {
    .legal {
        --grid: 960px;
    }
}

@media (max-width: 1024px) {
    .legal {
        --grid: 90vw;
    }
}

@media (max-width: 680px) {
    .legal {
        --grid: 86vw;
    }
}

.legal__text {
    width: calc(60% - 20px);
    margin: 20px 10px;
    font-family: var(--fallback);
    font-size: 10px;
    line-height: 15px;
}

.legal__logo {
    padding: 10px;
}

.legal__logo a {
    display: block;
    text-align: right;
    line-height: 0;
}

.legal__logo--1 {
    width: 24.351%;
}

.legal__logo--1 a {
    width: 95.989%;
}

.legal__logo--2 {
    width: 11.808%;
}

.legal__logo--2 a {
    width: 95.35%;
}

/* live: the logos are a share (81% / 92%, tablet 68% / 100%, phone 59%) of their 42px-high natural width,
   or of the box when that is narrower */
.legal__logo-img {
    display: inline-block;
    height: 42px;
}

.legal__logo--1 .legal__logo-img {
    width: calc(min(166.74px, 100%) * 0.81);
}

.legal__logo--2 .legal__logo-img {
    width: calc(min(98.63px, 100%) * 0.92);
}

@media (max-width: 1024px) {
    .legal__logo--1 .legal__logo-img {
        width: calc(min(166.74px, 100%) * 0.68);
    }

    .legal__logo--2 .legal__logo-img {
        width: min(98.63px, 100%);
    }
}

@media (max-width: 767px) {
    .legal {
        flex-direction: column;
        align-items: stretch;
    }

    .legal__text,
    .legal__logo--1,
    .legal__logo--2 {
        width: auto;
    }

    .legal__text {
        padding-top: 10px;
    }

    .legal__logo {
        padding: 20px 10px;
    }

    .legal__logo a {
        text-align: center;
    }

    .legal__logo--1 .legal__logo-img {
        width: calc(min(166.74px, 100%) * 0.59);
    }

    .legal__logo--2 .legal__logo-img {
        width: calc(min(98.63px, 100%) * 0.59);
    }
}

/* The development version: text and one combined, unlinked developers' logo, half and half */
.legal--single .legal__text {
    width: calc(50% - 20px);
}

.legal__logo--single {
    width: 50%;
    padding: 10px;
}

.legal__logo-box {
    display: block;
    width: 95.989%;
    text-align: right;
    line-height: 0;
}

.legal__logo--single .legal__logo-img {
    width: 29%;
}

@media (max-width: 767px) {
    .legal--single .legal__text {
        width: auto;
    }

    .legal__logo--single {
        width: auto;
        padding: 20px 10px;
    }

    .legal__logo-box {
        text-align: center;
    }

    .legal__logo--single .legal__logo-img {
        width: 59%;
    }
}

/* Masterplan options and the development version's case studies intro ------------------ */

.masterplan {
    display: flex;
    background: #eafbf3;
}

/* Elementor columns of 33% / 33.333% / 33%, each with a 50px margin round its content */
.masterplan__option {
    width: 33%;
    padding: 50px;
}

.masterplan__option:nth-child(2) {
    width: 33.333%;
}

.masterplan__title {
    margin: 50px 10px 50px;
    color: #000;
    font-family: var(--fallback);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
    text-align: center;
}

.masterplan__plan {
    display: block;
    margin-bottom: 20px;
}

.masterplan__plan img {
    display: block;
    width: 100%;
}

.masterplan__table-wrap {
    overflow-x: auto;
    border-bottom: 2px solid var(--green);
}

.masterplan__table {
    width: 100%;
    min-width: 175px;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

.masterplan__table th,
.masterplan__table td {
    padding: 10px;
    font-weight: 400;
    line-height: 25.6px;
    text-align: left;
}

.masterplan__table thead th {
    padding-bottom: 11px;
    color: #21566d;
}

.masterplan__table tbody th,
.masterplan__table td {
    border-bottom: 2px solid var(--green);
    color: #7a7a7a;
}

.masterplan__table .is-num {
    text-align: right;
}

@media (max-width: 767px) {
    .masterplan {
        flex-direction: column;
    }

    .masterplan__option,
    .masterplan__option:nth-child(2) {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .masterplan__title {
        font-size: 30px;
    }
}

.casehero {
    background: var(--dark);
    color: #fff;
}

.casehero__image {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.casehero__inner {
    width: calc(min(748px, 100%) - 60px);
    margin-left: 60px;
    padding: calc(min(748px, 100%) * 0.1) calc(min(748px, 100%) * 0.1) 0 0;
}

@media (max-width: 767px) {
    .casehero__text {
        padding-bottom: 50px;
    }

    .casehero__inner {
        width: auto;
        margin: 0 3px 0 5px;
        padding: 50px 30px 0;
    }
}

/* 19. Back to top, lightbox ---------------------------------------------------------- */

.back-to-top {
    position: fixed;
    right: 5px;
    bottom: 7px;
    z-index: 10000;
    width: 40px;
    height: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0s 0.15s;
}

.back-to-top.is-on {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.back-to-top__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    color: #717561;
    transition: transform 0.4s cubic-bezier(0.33, 0.02, 0, 0.93);
}

.back-to-top:hover .back-to-top__icon {
    transform: translateY(-6px);
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}

/* scheme photos: Elementor lightbox; slider photos: fslightbox gallery with the counter on top */
.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox.is-gallery::backdrop {
    background: rgba(30, 30, 30, 0.9);
}

.lightbox.is-gallery .lightbox__caption {
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    margin: 0;
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 50px 60px;
}

.lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox__caption {
    margin-top: 10px;
    font-family: var(--roboto);
    font-size: 14px;
    text-align: center;
}

.lightbox__caption:empty {
    display: none;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    padding: 15px;
    border: 0;
    background: none;
    color: rgba(238, 238, 238, 0.9);
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    color: #fff;
}

.lightbox__close {
    top: 0;
    right: 0;
}

.lightbox__close svg {
    width: 20px;
    height: 20px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav svg {
    width: 26px;
    height: auto;
}

.lightbox__nav--prev {
    left: 0;
}

.lightbox__nav--next {
    right: 0;
}

.lightbox:not(.is-gallery) .lightbox__nav {
    display: none;
}

/* 20. Reveal animations (Elementor fadeInDown / zoomIn, 1.25s), plain pages ------------- */

.js [data-reveal] {
    opacity: 0;
}

.js [data-reveal].is-visible {
    animation-duration: 1.25s;
    animation-fill-mode: both;
    animation-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="fade-down"].is-visible {
    animation-name: wm-fade-in-down;
}

.js [data-reveal="zoom-in"].is-visible {
    animation-name: wm-zoom-in;
}

.js [data-reveal="fade-left"].is-visible {
    animation-name: wm-fade-in-left;
}

@keyframes wm-fade-in-left {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes wm-fade-in-down {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes wm-zoom-in {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 1;
    }
}

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

    .js [data-reveal],
    .js .stitle--appear {
        opacity: 1;
        animation: none !important;
        transition: none;
    }

    .loader__frame::before,
    .loader__frame::after,
    .loader__sides::before,
    .loader__sides::after {
        animation: none;
    }
}

.page-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 20px 100px;
}

.article__title {
    margin-top: 0;
}

.article__button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--dark);
    color: #fff;
}

.page--plain .site-header__inner,
.page--plain .mobile-header {
    background: var(--dark);
}

.page--plain .site-header {
    position: relative;
}

.page--plain .site-header__inner {
    height: auto;
}

.page--plain .site-nav {
    height: auto;
    padding-bottom: 20px;
}
