/*
 * Connetic (Howard Way, Harlow) - site stylesheet
 * Replaces the Elementor / Royal Addons / Unlimited Elements / Archicon theme + core styles.
 * Sizes are the live site's. Breakpoints as live: Elementor tablet <= 1024px, phone <= 767px; the big titles
 * also step at 1680 / 1440 / 1366 / 768 / 680px (Archicon), the footer bar padding follows Archicon's grid.
 * Fonts (inc/site/site.php): "Helvetica" = self-hosted Helvetica Light, "Helvetica bold", Space Grotesk (body).
 *
 *  1. Tokens and base           7. High Specification (plan, unit schedules, brochure button)
 *  2. Layout model (Elementor)   8. Specification strip
 *  3. Animated section titles    9. Gallery carousel
 *  4. Preloader                 10. Location
 *  5. Header and menus          11. Labour pool counters
 *  6. Hero, occupiers, aerial   12. Contact + footer bar
 *                               13. Back to top, lightbox, entrance animations, plain pages
 */

/* 1. Tokens and base ---------------------------------------------------- */

:root {
    --teal: #008080;
    --grey: #6b6b6b;
    --navy: #2a3c45;
    --bar: #414141;
    --green: #1f743c;
    --red: #ec2c3a;
    --sand: #f8f8f7;
    --helvetica: "Helvetica", sans-serif;
    --helvetica-bold: "Helvetica bold", sans-serif;
    --grotesk: "Space Grotesk", sans-serif;
    --neue: "NeueEinstellung", sans-serif;
    --line: 25.005px;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

p {
    margin: 10px 0;
}

h1, h2, h3, h4 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

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

figure {
    margin: 0;
}

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

a:hover {
    color: #000;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--teal);
    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: 1000000;
    padding: 10px 16px;
    background: #fff;
    color: #000;
}

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

.icon {
    display: inline-block;
    flex-shrink: 0;
}

/* 2. Layout model -------------------------------------------------------
 * The live page is Elementor sections; the same box model keeps every width identical:
 * e-sec (section) > e-con (flex row) > e-col (column, width --w / tablet --wt / phone --wm)
 * > e-wrap (widget wrap, padding from the column gap) > e-w (widget; .is-i = custom width, no bottom gap).
 */

.e-sec {
    position: relative;
}

.e-inner {
    width: 100%;
}

.e-con {
    position: relative;
    display: flex;
    margin-inline: auto;
}

.e-col {
    position: relative;
    display: flex;
    min-height: 1px;
}

.e-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    /* column widths must not inherit into nested sections */
    --w: initial;
    --wt: initial;
    --wm: initial;
}

.gap-narrow > .e-col > .e-wrap { padding: 5px; }
.gap-default > .e-col > .e-wrap { padding: 10px; }
.gap-extended > .e-col > .e-wrap { padding: 15px; }
.gap-wider > .e-col > .e-wrap { padding: 30px; }

.e-w {
    position: relative;
    width: 100%;
}

.e-w:not(:last-child) {
    margin-block-end: 20px;
}

/* Custom-width widgets keep max-width = their own width (Elementor's per-element CSS), so a long word can
   push one past its column exactly as on live; the flex line shrinks them otherwise. */
.e-w.is-i:not(:last-child) {
    margin-block-end: 0;
}

@media (min-width: 768px) {
    .e-col { width: var(--w, 100%); }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .e-col { width: var(--wt, var(--w, 100%)); }
}

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

@media (max-width: 767px) {
    .e-col { width: var(--wm, 100%); }
}

/* 3. Animated section titles ---------------------------------------------
 * Archicon "section title": Helvetica bold, first word wipes from its colour to teal. Words and letters are
 * inline blocks (as live after its letter animation), which is also how live wraps very long words.
 */

.st {
    position: relative;
    display: block;
    --fs: 100px;
    --lh: 100px;
}

.st__title {
    margin: 0;
    color: #000;
    font-family: var(--helvetica-bold);
    font-size: 60px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: -.025em;
    word-wrap: break-word;
}

.st--h2 .st__title {
    font-size: 40px;
}

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

.st__hl {
    position: relative;
    line-height: 1.1;
}

.st__orig {
    color: currentColor;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(.645, .045, .355, 1);
}

.st__fake {
    position: absolute;
    left: 0;
    color: var(--teal);
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(.645, .045, .355, 1);
}

.st.is-hl .st__orig,
html:not(.js) .st__orig {
    clip-path: inset(0 0 0 100%);
}

.st.is-hl .st__fake,
html:not(.js) .st__fake {
    clip-path: inset(0 0 0 0);
}

.st__w,
.st__c {
    position: relative;
    display: inline-block;
}

.js .st[data-st] {
    opacity: 0;
    transition: opacity .3s ease;
}

.js .st[data-st].is-in {
    opacity: 1;
}

.js .st[data-st] .st__c {
    opacity: 0;
    transform: translateY(50px);
}

.js .st[data-st].is-in .st__c {
    opacity: 1;
    transform: none;
    transition: opacity .6s cubic-bezier(.25, .46, .45, .94), transform .6s cubic-bezier(.25, .46, .45, .94);
    transition-delay: calc(var(--i, 0) * 10ms);
}

@media (max-width: 1680px) {
    .st { --fs: 80px; --lh: 80px; }
}

@media (max-width: 1440px) {
    .st--h2 { --fs: 70px; }
}

@media (max-width: 1366px) {
    .st { --fs: 75px; }
    .st--h2 { --fs: 70px; }
}

@media (max-width: 768px) {
    .st { --lh: 60px; }
}

@media (max-width: 680px) {
    .st { --fs: 50px; --lh: 50px; }
    .st--hero { --fs: 40px; --lh: 40px; }
    .st__title { font-size: 45px; }
    .st--h2 .st__title { font-size: 30px; }
}

/* 4. Preloader (LoftLoader "image loading": the Canmoor logo fills up, max 4s) -- */

.loader {
    display: none;
}

.js .loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: block;
}

.loader__bg {
    position: fixed;
    inset: 0;
    background: var(--grey);
}

.loader__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1001;
    width: 200px;
    max-width: 90vw;
    font-size: 0;
    transform: translate(-50%, -50%);
}

.loader__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    opacity: .3;
}

.loader__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
    animation: cn-imgloading 6s linear infinite;
}

.loader__fill {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes cn-imgloading {
    0% { height: 0; opacity: 1; }
    95% { height: 100%; opacity: 1; }
    100% { height: 100%; opacity: 0; }
}

.is-loaded .loader {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-200vw);
    transition: opacity .0001s 1s, transform .0001s 2s;
}

.is-loaded .loader__logo {
    opacity: 0;
    transition: all .3s ease-out;
}

.is-loaded .loader__bg {
    opacity: 0;
    transition: opacity .7s .3s cubic-bezier(.645, .045, .355, 1);
}

/* 5. Header and menus ---------------------------------------------------- */

/* Desktop: fixed bar */
.hdr {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background: var(--grey);
    border-bottom: 3px solid #fff;
    border-radius: 0 0 3px 0;
}

.hdr > .e-con > .e-col > .e-wrap {
    align-content: center;
    align-items: center;
}

.hdr__c1 { --w: 15%; }
.hdr__c2 { --w: 59.332%; }
.hdr__c3 { --w: 25.332%; }

.hdr__name {
    margin: 0;
    padding: 10px 0 10px 30px;
    color: #fff;
    font-family: var(--helvetica);
    font-size: 30px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -.75px;
}

.hdr__name a,
.hdr__name a:hover {
    display: block;
    color: inherit;
}

.hdr__nav {
    width: 99.54%;
    padding-top: 5px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__item {
    position: relative;
    margin: 0 10px;
}

.nav__item:first-child {
    margin-left: 0;
}

.nav__item:last-child {
    margin-right: 0;
}

.nav__link {
    display: block;
    padding: 15px 7px;
    color: #fff;
    font-family: var(--grotesk);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    transition: color .3s ease-out;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--teal);
}

.hdr__partners > .e-con > .e-col > .e-wrap {
    align-content: center;
    align-items: center;
}

.e-con > .hdr__partner--a { --w: 53.13%; }
.e-con > .hdr__partner--b { --w: 46.87%; }

.e-con > .hdr__partner--b > .e-wrap {
    padding: 0 60px 0 0;
}

.hdr__logo {
    display: block;
    line-height: var(--line);
    text-align: right;
}

.hdr__partner--a .hdr__logo {
    width: 127.188%;
    max-width: 127.188%;
}

/* Live: the Legal & General image is broken (0 x 1px), its line still takes 25px */
.hdr__logo--empty {
    height: 25px;
}

.hdr__partner--a .hdr__logo-img {
    width: 65px;
}

.hdr__frame {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    vertical-align: baseline;
}

.hdr__frame .hdr__logo-img {
    display: block;
    width: 119px;
    max-width: 100%;
    height: auto;
}

/* Tablet / phone bar (scrolls with the page) */
.mhdr {
    display: none;
    background: var(--grey);
}

.e-con > .mhdr__c1 { --wt: 50%; --wm: 35%; }
.e-con > .mhdr__c2 { --wt: 20%; --wm: 30%; }
.e-con > .mhdr__c3 { --wt: 30%; --wm: 35%; }

.e-con > .mhdr__c1 > .e-wrap {
    align-content: center;
    align-items: center;
}

.mhdr__name {
    width: 342.984px;
    max-width: 342.984px;
    margin: 0;
    padding: 0 0 0 30px;
    color: #fff;
    font-family: var(--helvetica);
    font-size: 26px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -.65px;
    text-align: left;
}

.mhdr__toggle-w {
    display: flex;
    justify-content: center;
    width: 68.797px;
    max-width: 68.797px;
    padding-top: 15px;
}

.e-con > .mhdr__c3 > .e-wrap {
    padding: 15px 0 0;
}

.mhdr__logo {
    line-height: var(--line);
    text-align: center;
}

.mhdr__logo-img {
    display: inline-block;
    width: 172.637px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.menu-toggle {
    position: relative;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: .4s;
}

.menu-toggle:hover {
    background: #2a2a2a;
}

.menu-toggle__lines {
    position: relative;
    display: flex;
    flex: none;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all .4s ease;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background: inherit;
}

.menu-toggle__lines::after {
    top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    transform: rotate(135deg);
}

.menu-toggle[aria-expanded="true"]:hover .menu-toggle__lines {
    transform: rotate(225deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    opacity: 0;
}

/* Fullscreen menu: grows from the centre, links fade in */
.site-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}

.site-menu.is-open {
    pointer-events: auto;
}

.site-menu__inner {
    display: flex;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--grey);
    color: #fff;
    transform: scale(0);
    visibility: hidden;
    transition: all .4s ease;
}

.site-menu.is-open .site-menu__inner {
    transform: scale(1);
    visibility: visible;
    transition-duration: .75s;
}

.site-menu__box {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin: auto 0;
}

.site-menu__list-wrap {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 90vw;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .4s ease;
}

.site-menu.is-open .site-menu__list-wrap {
    opacity: 1;
    transition: opacity .4s ease .4s;
}

.site-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.site-menu li {
    display: block;
    margin: 2px;
    padding: 0;
}

.site-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-family: var(--helvetica);
    font-size: 28px;
    font-weight: 900;
    line-height: 40px;
    transition: color .4s ease;
}

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

.site-menu__link::after {
    content: "";
    position: absolute;
    bottom: -.15em;
    left: 0;
    z-index: 1;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width .4s ease;
}

.site-menu__link:hover::after,
.site-menu__link:focus-visible::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .hdr { display: none; }
    .mhdr { display: block; }
    .site-menu { display: flex; }
}

@media (max-width: 767px) {
    .e-con > .mhdr__c1 > .e-wrap { justify-content: flex-start; }

    .mhdr__name {
        padding: 0;
        font-size: 19px;
        letter-spacing: -.475px;
    }

    .e-con > .mhdr__c2 > .e-wrap { justify-content: center; }

    .mhdr__toggle-w { padding-top: 0; }

    .e-con > .mhdr__c3 > .e-wrap { margin: 2px; }

    .mhdr__logo { padding: 3px 3px 0 5px; }
}

/* 6. Hero, occupiers, aerial --------------------------------------------- */

.hero {
    padding-top: 60px;
    overflow: hidden;
}

.hero > .e-con {
    align-items: flex-start;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 0 -57px;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(127deg, rgba(0, 0, 0, .988) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: .69;
}

.hero > .e-con > .hero__col { --w: 100%; }

.hero__title {
    width: 1069px;
    max-width: 1069px;
}

.hero__title .st {
    margin-top: 1%;
}

.hero__title .st__title {
    color: #fff;
}

.hero__text {
    width: 59.394%;
    max-width: 59.394%;
    padding-top: 30px;
    color: #fff;
    font-family: var(--helvetica);
    font-size: 30px;
    font-weight: 400;
    line-height: 27px;
}

.hero__badge-w {
    padding-top: 30px;
}

.hero__badge {
    display: inline-block;
    margin: 0;
    padding: 15px 30px;
    background: var(--green);
    color: #fff;
    font-family: var(--helvetica);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.occupiers__title {
    width: 1437px;
    max-width: 1437px;
    padding: 60px 0 0 60px;
}

.logos__row--1 { padding: 50px 30px 0; }
.logos__row--2 { padding: 0 30px 50px; }

.logos__row > .e-con > .e-col > .e-wrap {
    align-content: center;
    align-items: center;
    justify-content: center;
}

.e-con > .logos__col { --w: 16.666%; --wt: 33.33%; --wm: 50%; }

.logos__logo {
    line-height: var(--line);
    text-align: center;
}

.logos__logo img {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

.aerial__w {
    line-height: var(--line);
    text-align: center;
}

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

@media (min-width: 768px) {
    .hero { height: 100vh; }
    .hero > .e-con { height: 100%; }
}

@media (max-width: 1024px) {
    .hero__img { object-position: 0 0; }

    .hero__title {
        width: 790px;
        max-width: 790px;
    }

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

    .hero__text {
        width: 459.914px;
        max-width: 459.914px;
    }

    .occupiers__title {
        width: 790px;
        max-width: 790px;
        padding: 80px 50px 60px;
    }

    .logos__row--1,
    .logos__row--2 {
        padding: 0 50px;
    }
}

@media (max-width: 767px) {
    .hero__title .st {
        margin: 0 25px 0 0;
        padding: 28px 0 0;
    }

    /* % paddings on live resolve against the widget's own px width */
    .hero__text {
        width: 269.969px;
        max-width: 269.969px;
        margin-bottom: 50px;
        padding: 13.498px 0;
        font-size: 28px;
    }

    .e-wrap > .e-w.hero__text {
        margin-bottom: 50px;
    }

    .occupiers__title { padding: 10% calc(7% + 25px) 0 7%; }
}

/* 7. High Specification -------------------------------------------------- */

.plan,
.units {
    background: var(--navy);
}

.plan {
    overflow-x: clip;
}

.plan > .e-con > .plan__col { --w: 100%; }

.plan__title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 1607.22px;
    max-width: 1607.22px;
    padding: 80px 50px 0;
}

.plan__title .st__title {
    color: #fff;
}

.plan__image {
    padding: 50px 1px 20px;
    line-height: var(--line);
    text-align: left;
}

.plan__link {
    display: block;
    cursor: zoom-in;
}

.plan__link img {
    display: block;
}

.e-con > .units__col { --w: 33.333%; --wt: 50%; }

.schedule {
    width: 100%;
    padding: 10px 10px 20px;
}

.schedule__box {
    border-bottom: 1px solid #aaa;
}

.schedule__table,
.dist__table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 15px;
    line-height: var(--line);
    white-space: nowrap;
}

.schedule__table th,
.schedule__table td {
    padding: 5px 10px;
    border: 0;
    border-bottom: 1px solid #aaa;
    vertical-align: middle;
    transition: background-color .3s, color .3s, font-size .3s;
}

.schedule__table tbody tr:last-child > *,
.dist__table tbody tr:last-child > * {
    border-bottom: 0;
}

.cell {
    position: relative;
    vertical-align: middle;
}

.schedule__table th {
    background: var(--teal);
    color: #fff;
    font-family: var(--helvetica);
    font-weight: 900;
}

.schedule__table td {
    color: #fff;
    font-family: var(--grotesk);
    font-weight: 400;
}

.schedule__table tbody tr:nth-child(even) td {
    color: #b6b6b6;
}

.schedule__table td:hover,
.schedule__table tbody tr:nth-child(even) td:hover {
    color: #7a7a7a;
}

.schedule__table b {
    font-weight: 700;
}

.schedule__table .is-left { text-align: left; }
.schedule__table .is-center { text-align: center; }
.schedule__table .is-right { text-align: right; }

.units__button {
    padding: 30px 0 0 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    padding: 15px 30px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-family: var(--helvetica);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: transform .3s;
}

.btn:hover,
.btn:focus-visible {
    color: #fff;
    transform: scale(.9);
}

.btn__icon {
    display: flex;
}

.btn__icon .icon {
    width: 12px;
    height: 16px;
}

@media (max-width: 1024px) {
    .plan__title {
        width: 790px;
        max-width: 790px;
        padding: 30px 50px 0;
    }

    .plan__image { padding: 0; }
}

@media (max-width: 767px) {
    .plan__title {
        width: 386px;
        max-width: 386px;
        padding: 38.6px 52.02px 38.6px 27.02px;
    }

    .schedule__table th,
    .schedule__table td {
        font-size: 10px;
    }

    .e-con > .units__col--3 > .e-wrap { padding: 0 30px 30px; }
}

/* 8. Specification strip -------------------------------------------------- */

.features {
    padding: 50px;
    background: var(--teal);
}

.e-con > .features__col { --w: 10%; --wt: 20%; --wm: 50%; }

.feature {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
}

.feature__icon {
    display: block;
    height: 70px;
    line-height: 0;
}

.feature__img {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: top;
}

.feature__text {
    margin: 25px 0 0;
    color: #fff;
    font-family: var(--helvetica);
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
}

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

/* 9. Gallery carousel (slides every 5s, 0.5s slide, arrows) ---------------- */

.carousel {
    position: relative;
}

.carousel__viewport {
    overflow: hidden;
}

.carousel__track {
    display: flex;
    will-change: transform;
}

.carousel__track.is-moving {
    transition: transform .5s ease;
}

.carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.carousel__img {
    display: block;
    width: 100%;
    height: auto;
}

.carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(237, 237, 237, .9);
    font-size: 25px;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel__arrow--prev { left: 10px; }
.carousel__arrow--next { right: 10px; }

.carousel__arrow .icon {
    width: 1em;
    height: 1em;
}

/* 10. Location ------------------------------------------------------------ */

.e-con > .location__c1 { --w: 50%; --wt: 100%; }
.e-con > .location__c2 { --w: 50%; --wt: 100%; }

.location__map {
    margin-bottom: 20px;
}

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

.location__title {
    width: 728px;
    max-width: 728px;
    padding: 80px 0 30px 60px;
}

.location__title .st__title {
    color: #333;
}

.location__text {
    width: 94.263%;
    max-width: 94.263%;
    padding: 60px 0 0 60px;
    color: #000;
    font-family: var(--helvetica);
    font-size: 18px;
    font-weight: 400;
    text-align: left;
}

/* Live: a 60px widget margin that the paragraph's 10px margin collapses into */
@media (min-width: 1025px) {
    .location__text p:first-child { margin-top: 0; }
}

.location__inner .gap-custom > .e-col > .e-wrap {
    padding: 60px;
}

.location__heading {
    width: 94.263%;
    max-width: 94.263%;
    padding-bottom: 37px;
    color: #000;
    font-family: var(--helvetica);
    font-size: 26px;
    font-weight: 900;
}

.location__heading p:last-child {
    margin-bottom: 0;
}

.dist {
    width: 100%;
}

.dist__box {
    border-bottom: 2px solid var(--teal);
}

.dist__table {
    table-layout: fixed;
}

.dist__table th,
.dist__table td {
    padding: 10px;
    border: 0;
    border-bottom: 2px solid var(--teal);
    text-align: left;
    vertical-align: middle;
    transition: background-color .3s, color .3s, font-size .3s;
}

.dist__table th {
    background: transparent;
    color: var(--teal);
    font-family: var(--helvetica);
    font-weight: 900;
}

.dist__table td {
    color: #000;
    font-family: var(--grotesk);
    font-weight: 400;
}

.dist__table .is-right {
    text-align: right;
}

.dist__table td:hover {
    color: var(--teal);
}

.dist__icon {
    display: inline-block;
    vertical-align: middle;
}

.dist__icon .icon {
    display: block;
    width: 15px;
    height: 15px;
}

@media (max-width: 1024px) {
    .location__map { margin-bottom: 0; }
    .location__map iframe { height: 800px; }

    .location__title {
        width: 790px;
        max-width: 790px;
        padding: 30px 0 30px 30px;
    }

    .location__text {
        width: 703.891px;
        max-width: 703.891px;
        padding: 0 0 0 30px;
    }

    .location__heading {
        width: 459.914px;
        max-width: 459.914px;
    }
}

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

    .location__text {
        width: 342.969px;
        max-width: 342.969px;
        padding: 17.148px 48.016px 48.016px 27.438px;
        font-size: 14px;
    }

    .location__inner .gap-custom > .e-col > .e-wrap { padding: 30px; }

    .location__heading {
        width: 269.969px;
        max-width: 269.969px;
        padding: 13.498px 0;
    }

    .location__heading p:last-child { margin-bottom: 10px; }

    .dist {
        width: 330px;
        max-width: 330px;
    }
}

/* Equal column widths only above 768px (Royal data table) */
@media (max-width: 768px) {
    .dist__table { table-layout: auto; }
}

/* 11. Labour pool counters ------------------------------------------------- */

.labour {
    padding: 130px 70px 132px;
    background: var(--sand);
}

.e-con > .labour__c1 { --w: 46.694%; --wt: 100%; }
.e-con > .labour__c2 { --w: 46.189%; --wt: 100%; }

.labour > .e-con > .e-col > .e-wrap {
    padding: 0;
}

.labour__title .st__title {
    color: #333;
}

.labour__title--stacked {
    display: none;
    width: 790px;
    max-width: 790px;
    padding: 50px 0 60px;
}

.labour__title--side {
    width: 728px;
    max-width: 728px;
    padding: 60px 0 30px;
}

.stats {
    padding: 0 4% 4%;
}

.e-w.stats:not(:last-child) {
    margin-block-end: 0;
}

.e-con > .stats__col { --w: 50%; }
.stats--2 > .e-con > .stats__col { --w: 100%; }

.stats > .gap-default > .e-col > .e-wrap {
    padding: 0 30px 0 0;
}

.stat__icon {
    padding-bottom: 20px;
    text-align: left;
}

.stat__icon--half {
    width: 50%;
    max-width: 50%;
}

.stat__img {
    display: inline-block;
    width: 100px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.stat {
    width: 312px;
    max-width: 312px;
    text-align: left;
}

.stat__digit {
    margin: 0;
    color: #000;
    font-family: var(--grotesk);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}

.stat__content {
    margin: 9px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(112, 112, 112, .5);
}

.stat__text {
    margin: 0;
}

@media (min-width: 1441px) {
    .stat__digit { font-size: 70px; }
}

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

    .labour > .e-con > .labour__c1 > .e-wrap { padding: 70px 0 0; }

    .labour__title--stacked { display: block; }
    .labour__c2 { display: none; }
}

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

    .labour > .e-con > .labour__c1 > .e-wrap { padding: 25px 0 0; }

    .labour__title--stacked {
        padding: 0 25px 10% 0;
    }

    .stats > .gap-default > .e-col > .e-wrap { padding: 0; }

    .stat { padding-bottom: 20px; }
}

/* 12. Contact + footer bar ------------------------------------------------ */

.contact,
.agents {
    background: var(--grey);
}

.contact {
    padding: 0 20px;
}

.contact > .gap-wider > .e-col > .e-wrap {
    padding: 20px;
}

.contact__block {
    color: #fff;
    font-family: var(--neue);
    font-size: 13px;
    font-weight: 700;
    line-height: 14px;
    text-align: left;
}

.agents > .e-con > .e-col > .e-wrap {
    align-content: center;
    align-items: center;
}

.e-con > .agents__col { --w: 14.285%; --wt: 25%; }

.agents__logo {
    line-height: var(--line);
    text-align: left;
}

.agents__logo img {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

.agents__person {
    padding-top: 13px;
    color: #fff;
    font-family: var(--neue);
    font-size: 13px;
    font-weight: 700;
}

.agents__person p:first-child {
    margin-top: 0;
}

.agents__person a {
    color: inherit;
}

.agents__person a:hover {
    color: #000;
}

.footer-bar {
    padding: 14px 28px 0;
    background: var(--bar);
}

.e-con > .footer-bar__c1 { --w: 80.013%; }
.e-con > .footer-bar__c2 { --w: 19.954%; }

.footer-bar__text {
    color: #fff;
    font-family: var(--neue);
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
}

.footer-bar__date {
    padding-top: 5px;
    text-align: center;
}

.footer-bar__date p {
    margin: 0 0 22.5px;
    color: #fff;
    font-size: 12px;
    line-height: var(--line);
}

.footer-bar__icon {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: -1.5px;
}

@media (max-width: 1440px) {
    .footer-bar { padding: 11px 22px 0; }
}

@media (max-width: 1200px) {
    .footer-bar { padding: 9.6px 19.2px 0; }
}

@media (max-width: 1024px) {
    .contact { padding: 30px 20px 10px; }
    .agents { padding: 20px 20px 50px; }
    .footer-bar { padding: .9% 1.8% 0; }
}

@media (max-width: 767px) {
    .contact > .gap-wider > .e-col > .e-wrap,
    .agents > .e-con > .e-col > .e-wrap {
        padding: 0;
    }

    .agents__logo--dtre {
        width: 190px;
        max-width: 190px;
    }

    .agents__logo--cbre {
        width: 186px;
        max-width: 186px;
    }

    .footer-bar__text { padding-top: 10px; }
}

@media (max-width: 680px) {
    .footer-bar { padding: .86% 1.72% 0; }
}

/* 13. Back to top, lightbox, entrance animations, plain pages -------------- */

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

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

.to-top__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    color: #717561;
    transform: translateY(0);
    transition: .4s cubic-bezier(.33, .02, 0, .93);
}

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

.to-top .icon {
    width: 23.41px;
    height: 26.41px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .8);
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: transparent;
}

/* Elementor lightbox: the image fits inside a 70px frame (70px top/bottom only on phones) */
.lightbox__image {
    width: auto;
    max-width: calc(100vw - 140px);
    height: auto;
    max-height: calc(100vh - 140px);
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .3), 0 0 8px -5px rgba(0, 0, 0, .3);
    animation: cn-zoomIn 1.25s both;
}

@media (max-width: 767px) {
    .lightbox__image { max-width: 100vw; }
}

.lightbox__close {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 2;
    display: flex;
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 0;
    background: none;
    color: rgba(237, 237, 237, .9);
    cursor: pointer;
}

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

/* Elementor entrance animations (zoomIn / fadeIn, 1.25s, after the element's delay once it is in view) */
.js [data-anim] {
    visibility: hidden;
}

.js [data-anim].is-animated {
    visibility: visible;
    animation-duration: 1.25s;
    animation-fill-mode: both;
}

.js [data-anim="zoomIn"].is-animated {
    animation-name: cn-zoomIn;
}

.js [data-anim="fadeIn"].is-animated {
    animation-name: cn-fadeIn;
}

@keyframes cn-zoomIn {
    from { opacity: 0; transform: scale3d(.3, .3, .3); }
    50% { opacity: 1; }
}

@keyframes cn-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

    .js [data-anim] {
        visibility: visible;
        animation: none !important;
    }

    .js .st[data-st],
    .js .st[data-st] .st__c {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .st__orig { clip-path: inset(0 0 0 100%); }
    .st__fake { clip-path: inset(0 0 0 0); }

    .carousel__track.is-moving,
    .loader__progress,
    .lightbox__image,
    .btn {
        animation: none;
        transition: none;
    }
}

/* Plain pages and 404 */
.page-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 150px 30px 80px;
}

.article__title {
    margin: 0 0 30px;
    font-family: var(--helvetica-bold);
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.article .button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-family: var(--helvetica);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1024px) {
    .page-main { padding-top: 60px; }
}
