/*
 Theme Name:   Define Child
 Theme URI:    https://marketingxp.co.uk/
 Description:  Child theme for YOOtheme Define theme
 Author:       Marketing XP
 Author URI:   https://marketingxp.co.uk/
 Template:     yootheme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  define-child
*/

/* ==========================================================================
   Custom Fonts
   ========================================================================== */

@font-face {
    font-family: 'Meta Serif Pro';
    src: local('Meta Serif Pro Book'), local('Meta-Serif-Pro-Book'),
        url('fonts/MetaSerifPro-Book.woff2') format('woff2'),
        url('fonts/MetaSerifPro-Book.woff') format('woff'),
        url('fonts/MetaSerifPro-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Meta Serif Pro';
    src: local('Meta Serif Pro Book Italic'), local('Meta-Serif-Pro-Book-Italic'),
        url('fonts/MetaSerifPro-BookItalic.woff2') format('woff2'),
        url('fonts/MetaSerifPro-BookItalic.woff') format('woff'),
        url('fonts/MetaSerifPro-BookItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   Apply Meta Serif Pro to Secondary Font
   ========================================================================== */

:root {
    --uk-secondary-font-family: 'Meta Serif Pro', Georgia, serif;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
h1, h2, h3, h4, h5, h6,
.uk-heading-small,
.uk-heading-medium,
.uk-heading-large,
.uk-heading-xlarge,
.uk-heading-2xlarge,
.uk-article-title,
.uk-card-title,
.uk-nav-header,
.uk-navbar-nav > li > a,
.tm-font-secondary,
[class*='uk-text-lead'],
.uk-logo {
    font-family: 'Meta Serif Pro', Georgia, serif;
}

.uk-font-secondary {
    font-family: 'Meta Serif Pro', Georgia, serif !important;
}

a {
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.uk-light .uk-navbar-nav > li > a,
.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav > li > a,
.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav > li > a,
.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav > li > a,
.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav > li > a,
.uk-card-primary.uk-card-body .uk-navbar-nav > li > a,
.uk-card-primary > :not([class*="uk-card-media"]) .uk-navbar-nav > li > a,
.uk-card-secondary.uk-card-body .uk-navbar-nav > li > a,
.uk-card-secondary > :not([class*="uk-card-media"]) .uk-navbar-nav > li > a,
.uk-overlay-primary .uk-navbar-nav > li > a,
.uk-offcanvas-bar .uk-navbar-nav > li > a,
.tm-toolbar-default .uk-navbar-nav > li > a,
.uk-light .uk-navbar-item,
.uk-light .uk-icon-link,
.uk-light .uk-navbar-toggle {
    color: rgba(255, 255, 255, 1);
}


.uk-slider-items > * :hover {
    opacity: 1 !important;
}

.uk-slider-items .uk-transition-opaque:hover {
    opacity: 1 !important;
}

.hero__scroll {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.hero__scroll-line {
    width: 60px;
    height: 1px;
    background: #66b2a9;
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    background: #f4c15c;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -20px; }
    100% { left: 100%; }
}

input.uk-search-input {
    border-radius: 8px;
}

.uk-section.Earthy {
    background-color: #7f8674 !important;
}
.uk-section.yellowearthy {
    background-color: #d6b779 !important;
}

/* ========================================
   DEFINE HEADING ANIMATION - FAST + DRAMATIC
   Add this CSS to YOOtheme > Custom CSS
   ======================================== */

/* Animation container */
.define-heading-animate {
    overflow: hidden;
}

/* Initial hidden state with full blur */
.define-heading-animate h1 {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(20px);
    transition: 
        opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible state - crystal clear */
.define-heading-animate.is-visible h1 {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* First heading */
.define-heading-animate h1:first-child {
    transition-delay: 0s;
}

/* Second heading - tight stagger */
.define-heading-animate h1:nth-child(2) {
    transition-delay: 0.1s;
}

/* ========================================
   Sliding fill button animation
   ======================================== */

.uk-button {
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    color: inherit;
    text-transform: none;
    -webkit-appearance: none;
    border-radius: 0;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 30px;
    vertical-align: middle;
    font-size: 12px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    transition: .2s ease-in-out;
    transition-property: color,background-color,background-position,background-size,border-color,box-shadow;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: normal;
    border-radius: 500px;
    background-origin: border-box;
}

.uk-button:not(.uk-button-text):not(.uk-button-link) {
    background-position: 50% 100%;
    background-size: 0;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.165,0.85,0.45,1);
}

.uk-button:not(:disabled) {
    cursor: pointer;
}

.uk-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.uk-button:hover {
    text-decoration: none;
}

.uk-button:hover:not(.uk-button-text):not(.uk-button-link) {
    background-size: 15000%;
}

.uk-button.uk-active:not(.uk-button-text):not(.uk-button-link),.uk-button:active:not(.uk-button-text):not(.uk-button-link) {
    transition-duration: 0s;
}

.uk-button-default {
    background-color: #fff !important;
    color: #445553 !important;
    background-image: radial-gradient(circle at 50% 100%,#445553 1%,transparent 1%) !important;
}

.uk-button-default:hover {
    background-color: #445553 !important;
    color: #fff !important;
    background-color: #445553 !important;
}

.uk-button-default.uk-active,.uk-button-default:active {
    background-color: #dfe6ed !important;
    color: #fff !important;
    background-image: none;
}

.uk-button-primary {
    background-color: #445553 !important;
    color: #fff;
    background-image: radial-gradient(circle at 50% 100%, #e7b946 1%, transparent 1%);
}

.uk-button-primary:hover {
    background-color: #e7b946;
    color: #fff;
    background-color: #e7b946;
}

.uk-button-primary.uk-active,.uk-button-primary:active {
    background-color: #445553 !important;
    color: #e7b946 !important;
	background-image: none;
}

.uk-button-secondary {
    background-color: #fff;
    color: #e7b946;
    background-image: radial-gradient(circle at 50% 100%,#e7b946 1%,transparent 1%)
}

.uk-button-secondary:hover {
    background-color: #e7b946;
    color: #fff;
    background-color: #e7b946;
}

.uk-button-secondary.uk-active,.uk-button-secondary:active {
    background-color: #f6a645;
    color: #fff;
    background-image: none;
}

.uk-button-danger {
    background-color: #f7af58;
    color: #fff;
    background-image: radial-gradient(circle at 50% 100%,#f6a645 1%,transparent 1%);
}

.uk-button-danger:hover {
    background-color: #f6a645;
    color: #fff;
    background-color: #f7af58;
}

.uk-button-danger.uk-active,.uk-button-danger:active {
    background-color: #f59c31;
    color: #fff;
    background-image: none;
}

.uk-button-danger:disabled,.uk-button-default:disabled,.uk-button-primary:disabled,.uk-button-secondary:disabled {
    background-color: #f6f8fa;
    color: #9a9eb5;
    background-image: none;
    box-shadow: none;
}

/* ========================================
   Nav link hover colour / H1 Subtitle colour
   ======================================== */

.uk-nav-secondary > li › a hover {
	color: #E0EBE4 !important;
}

h1.uk-h3.uk-text-secondary {
    color: #E9B74B !important;
}

/* ===========================================
   CUSTOM
   =========================================== */

.el-item .el-image {
  transition: border-radius 0.4s ease-in-out !important;
}

.el-item:hover .el-image {
  border-radius: 15% !important;
}
.uk-h3.uk-text-emphasis {
    font-family: 'Meta Serif Pro Book Italic', Georgia, serif !important;
    font-style: italic;
}

/* ===========================================
   TEXT CONTRAST FOR VIBRANT BACKGROUNDS
   Add to YOOtheme Custom CSS
   =========================================== */

/* Masterplanning - Orange bg #f29151 */
.services-scroll[data-active="masterplanning"] .services-scroll__block-title,
.services-scroll[data-active="masterplanning"] .services-scroll__block-text {
    color: #ffffff !important;
}
.services-scroll[data-active="masterplanning"] .services-scroll__number {
    color: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="masterplanning"] .services-scroll__number::before {
    background: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="masterplanning"] .services-scroll__block-link {
    background: #ffffff !important;
    color: #a65327 !important;
}
.services-scroll[data-active="masterplanning"] .services-scroll__block-link:hover {
    background: #d97e42 !important;
    color: #ffffff !important;
}

/* Landscape Architecture - Teal bg #71b5ae */
.services-scroll[data-active="landscape"] .services-scroll__block-title,
.services-scroll[data-active="landscape"] .services-scroll__block-text {
    color: #ffffff !important;
}
.services-scroll[data-active="landscape"] .services-scroll__number {
    color: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="landscape"] .services-scroll__number::before {
    background: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="landscape"] .services-scroll__block-link {
    background: #ffffff !important;
    color: #26422f !important;
}
.services-scroll[data-active="landscape"] .services-scroll__block-link:hover {
    background: #559d95 !important;
    color: #ffffff !important;
}

/* Planning - Red bg #dd7e77 */
.services-scroll[data-active="planning"] .services-scroll__block-title,
.services-scroll[data-active="planning"] .services-scroll__block-text {
    color: #ffffff !important;
}
.services-scroll[data-active="planning"] .services-scroll__number {
    color: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="planning"] .services-scroll__number::before {
    background: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="planning"] .services-scroll__block-link {
    background: #ffffff !important;
    color: #522029 !important;
}
.services-scroll[data-active="planning"] .services-scroll__block-link:hover {
    background: #c66860 !important;
    color: #ffffff !important;
}

/* Urban Design - Yellow bg #e9b74b */
.services-scroll[data-active="urban"] .services-scroll__block-title,
.services-scroll[data-active="urban"] .services-scroll__block-text {
    color: #ffffff !important;
}
.services-scroll[data-active="urban"] .services-scroll__number {
    color: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="urban"] .services-scroll__number::before {
    background: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="urban"] .services-scroll__block-link {
    background: #ffffff !important;
    color: #505062 !important;
}
.services-scroll[data-active="urban"] .services-scroll__block-link:hover {
    background: #d4a030 !important;
    color: #ffffff !important;
}

/* Architecture - Purple bg #9695bc */
.services-scroll[data-active="architecture"] .services-scroll__block-title,
.services-scroll[data-active="architecture"] .services-scroll__block-text {
    color: #ffffff !important;
}
.services-scroll[data-active="architecture"] .services-scroll__number {
    color: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="architecture"] .services-scroll__number::before {
    background: rgba(255,255,255,0.8) !important;
}
.services-scroll[data-active="architecture"] .services-scroll__block-link {
    background: #ffffff !important;
    color: #505062 !important;
}
.services-scroll[data-active="architecture"] .services-scroll__block-link:hover {
    background: #7a78a3 !important;
    color: #ffffff !important;
}
/* ===========================================
   PROJECT HERO TEXT CONTRAST
   =========================================== */

/* Dark overlay on the background */
div[data-id="template-HROPHdrS#0"] .uk-section-default {
    position: relative;
}

div[data-id="template-HROPHdrS#0"] .uk-section-default::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(69, 85, 84, 0.85) 0%,
        rgba(69, 85, 84, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 0;
}

/* Ensure content sits above overlay */
div[data-id="template-HROPHdrS#0"] .uk-container {
    position: relative;
    z-index: 1;
}

/* Project label */
div[data-id="template-HROPHdrS#0"] h1.uk-h3.uk-text-secondary {
    color: #f4c15c !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 0.9rem !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Main title */
div[data-id="template-HROPHdrS#0"] h1.uk-heading-large {
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Description text */
div[data-id="template-HROPHdrS#0"] .uk-panel.uk-text-large {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    line-height: 1.7;
}

h2.uk-heading-medium {
    color: #455554 !important;
}

/* ===========================================
   SHARED: STICKY SCROLL WRAPPERS
   =========================================== */
.services-carousel-wrapper,
.people-section-wrapper {
    height: 200vh;
    position: relative;
}

.projects-section-wrapper {
    height: 300vh;
    position: relative;
}

/* ===========================================
   SERVICES HORIZONTAL CAROUSEL
   =========================================== */
.services-carousel-wrapper .services-carousel img {
    max-width: none !important;
    max-height: none !important;
}

.services-carousel {
    position: sticky;
    top: 0;
    font-family: 'DM Sans', sans-serif;
    display: grid;
    height: 100vh;
    grid-template-columns: 480px 1fr;
    overflow: hidden;
}

/* Left Panel */
.services-carousel__left {
    background: #ffffff;
    padding: 140px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.services-carousel[data-active="masterplanning"] .services-carousel__left,
.services-carousel[data-active="landscape"] .services-carousel__left,
.services-carousel[data-active="planning"] .services-carousel__left,
.services-carousel[data-active="urban"] .services-carousel__left,
.services-carousel[data-active="architecture"] .services-carousel__left,
.services-carousel[data-active="audits"] .services-carousel__left {
    background: #ffffff;
}

.services-carousel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.services-carousel__label {
    font-size: 2.2rem;
    font-weight: 500;
    color: #455554;
}

.services-carousel__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #455554;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.services-carousel__nav-btn:hover {
    background: #455554;
    border-color: #455554;
}

.services-carousel__nav-btn:hover svg {
    color: #ffffff;
}

.services-carousel__nav-btn svg {
    width: 18px;
    height: 18px;
    color: #455554;
    transition: color 0.3s ease;
}

/* Nav list */
.services-carousel__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-carousel__nav-item {
    margin: 0;
    padding: 0;
}

.services-carousel__nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #455554 !important;
    transition: color 0.3s ease, background 0.2s ease;
}

.services-carousel__nav-link:hover {
    color: #e9b74b !important;
    background: #f5f5f3;
}

.services-carousel[data-active="masterplanning"] .services-carousel__nav-item:nth-child(1) .services-carousel__nav-link,
.services-carousel[data-active="landscape"] .services-carousel__nav-item:nth-child(2) .services-carousel__nav-link,
.services-carousel[data-active="planning"] .services-carousel__nav-item:nth-child(3) .services-carousel__nav-link,
.services-carousel[data-active="urban"] .services-carousel__nav-item:nth-child(4) .services-carousel__nav-link,
.services-carousel[data-active="architecture"] .services-carousel__nav-item:nth-child(5) .services-carousel__nav-link,
.services-carousel[data-active="audits"] .services-carousel__nav-item:nth-child(6) .services-carousel__nav-link {
    background: #f0f5f4;
    color: #455554 !important;
    font-weight: 500;
}

.services-carousel__nav-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    max-width: none !important;
    max-height: none !important;
    display: block;
}

/* Right Panel — Slides */
.services-carousel__right {
    position: relative;
    overflow: hidden;
}

.services-carousel__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.services-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.services-carousel__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.services-carousel__slide img.services-carousel__slide-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
}

.services-carousel__slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.services-carousel__slide-title {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    z-index: 2;
    margin: 0;
}

.services-carousel__slide-icon {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-carousel__slide-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: none !important;
    max-height: none !important;
}

.services-carousel__slide-link {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.services-carousel__slide-link:hover .services-carousel__slide-icon-img {
    transform: scale(1.1);
}

/* Arrow Navigation */
.services-carousel__arrows {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.services-carousel__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.services-carousel__arrow:hover {
    background: #ffffff;
    border-color: #ffffff;
}

.services-carousel__arrow:hover svg {
    color: #455554;
}

.services-carousel__arrow svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.services-carousel__arrow--prev svg {
    transform: rotate(180deg);
}

/* Progress Bar */
.services-carousel__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.services-carousel__progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    width: 0%;
    transition: width 0.1s linear;
}

.services-carousel__progress-bar.is-running {
    animation: progressFill 2.5s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* ===========================================
   PROJECTS SPLIT SECTION
   =========================================== */
.projects-section {
    position: sticky;
    top: 0;
    font-family: 'DM Sans', sans-serif;
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr 480px;
    overflow: hidden;
}

/* Left Panel - Video */
.projects-section__left {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.projects-section__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Right Panel - Intro */
.projects-section__right {
    background: #fff;
    padding: 120px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.projects-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.projects-section__label {
    font-size: 2.2rem;
    font-weight: 500;
    color: #455554;
    text-transform: capitalize;
}

.projects-section__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #455554;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.projects-section__nav-btn:hover {
    background: #455554;
}

.projects-section__nav-btn:hover svg {
    color: #ffffff;
}

.projects-section__nav-btn svg {
    width: 18px;
    height: 18px;
    color: #455554;
    transition: color 0.3s ease;
}

.projects-section__intro {
    flex: 1;
}

.projects-section__intro-text {
    font-size: 1.55rem;
    font-weight: 500;
    color: #455554;
    line-height: 1.5;
    margin: 0;
}

/* ===========================================
   PEOPLE SECTION
   =========================================== */
.people-section {
    background: #445553;
    min-height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    display: grid;
    grid-template-columns: 480px 1fr;
}

/* Left Panel */
.people-section__left {
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
}

.people-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.people-section__label {
    font-size: 2.2rem;
    font-weight: 500;
    color: #D5E5BA;
    text-transform: capitalize;
}

.people-section__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #D5E5BA;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.people-section__nav-btn:hover {
    background: #D5E5BA;
}

.people-section__nav-btn:hover svg {
    color: #445553;
}

.people-section__nav-btn svg {
    width: 18px;
    height: 18px;
    color: #D5E5BA;
    transition: color 0.3s ease;
}

/* Intro Text */
.people-section__intro {
    flex: 1;
}

.people-section__intro-text {
    font-size: 1.8rem !important;
    font-weight: 400;
    color: #D5E5BA;
    line-height: 1.5;
    margin: 0;
}

/* Bento Grid */
.people-section__grid {
    display: grid;
    grid-template-columns: 5fr 5fr 3fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
    padding: 24px 40px 24px 0;
    height: 100vh;
    box-sizing: border-box;
}

.people-section__cell {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 0;
}

.people-section__cell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.people-section__cell picture {
    width: 100%;
    height: 100%;
    display: block;
}

.people-section__cell picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-section__cell--hero img {
    object-position: center top;
}

.people-section__cell--workspace img {
    object-position: right center;
}

.people-section__cell--hero {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    border-radius: 0;
}

.people-section__cell--office {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.people-section__cell--workspace {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.people-section__cell--stat-green {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background: #82b579;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
}

.people-section__cell--stat-yellow {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background: #f4c15c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.people-section__cell--team-small {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    border-radius: 12px 0 0 0;
}

/* Stat Boxes */
.people-section__stat {
    text-align: center;
    color: #ffffff;
}

.people-section__stat-number {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
    font-style: italic;
}

.people-section__stat-label {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
}

.people-section__cell--stat-yellow .people-section__stat {
    color: #445553;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

/* Large screens */
@media (min-width: 1600px) {
    .people-section {
        grid-template-columns: 480px 1fr;
    }

    .people-section__left {
        padding: 80px 60px;
    }

    .people-section__intro-text {
        font-size: 2.1rem;
    }

    .people-section__grid {
        grid-template-rows: 320px 320px 320px;
        gap: 20px;
    }

    .people-section__stat-number {
        font-size: 5.5rem;
    }
}

@media (max-width: 1200px) {
    /* Services */
    .services-carousel {
        grid-template-columns: 360px 1fr;
    }

    .services-carousel__left {
        padding: 100px 40px;
    }

    .services-carousel__label {
        font-size: 1.8rem;
    }

    .services-carousel__nav-link {
        font-size: 1.05rem;
    }

    /* Projects */
    .projects-section {
        grid-template-columns: 1fr 400px;
    }

    .projects-section__intro-text {
        font-size: 1.3rem;
    }

    /* People */
    .people-section {
        grid-template-columns: 360px 1fr;
    }

    .people-section__left {
        padding: 60px 40px;
    }

    .people-section__intro-text {
        font-size: 1.5rem;
    }

    .people-section__grid {
        gap: 10px;
        padding: 20px 30px 20px 0;
    }

    .people-section__stat-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    /* Shared */
    .services-carousel-wrapper,
    .people-section-wrapper,
    .projects-section-wrapper {
        height: auto;
    }

    /* Services */
    .services-carousel {
        position: relative;
        grid-template-columns: 1fr;
        height: auto;
    }

    .services-carousel__left {
        padding: 50px 30px;
        min-height: auto;
    }

    .services-carousel__right {
        height: 70vh;
    }

    /* Projects */
    .projects-section {
        position: relative;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .projects-section__left {
        min-height: 60vh;
    }

    .projects-section__right {
        padding: 50px 30px;
    }

    /* People */
    .people-section {
        position: relative;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .people-section__left {
        padding: 50px 30px;
    }

    .people-section__grid {
        height: auto;
        grid-template-rows: 200px 220px 220px;
        padding: 0 15px 15px;
    }
}

@media (max-width: 768px) {
    /* Services */
    .services-carousel__left {
        padding: 40px 25px;
    }

    .services-carousel__label {
        font-size: 1.5rem;
    }

    .services-carousel__nav-link {
        font-size: 0.95rem;
    }

    .services-carousel__right {
        height: 60vh;
    }

    .services-carousel__slide-title {
        font-size: 2rem;
        top: 30px;
        left: 30px;
    }

    .services-carousel__slide-icon {
        width: 80px;
        height: 80px;
        bottom: 100px;
    }

    /* Projects */
    .projects-section__left {
        min-height: 50vh;
    }

    .projects-section__right {
        padding: 40px 25px;
    }

    .projects-section__intro-text {
        font-size: 1.1rem;
    }

    /* People */
    .people-section__left {
        padding: 40px 25px;
    }

    .people-section__header {
        margin-bottom: 20px;
    }

    .people-section__label {
        font-size: 0.9rem;
    }

    .people-section__nav-btn {
        width: 40px;
        height: 40px;
    }

    .people-section__intro-text {
        font-size: 1.35rem;
        line-height: 1.4;
    }

    .people-section__grid {
        grid-template-rows: 160px 180px 180px;
        gap: 10px;
        padding: 0 15px 15px;
    }

    .people-section__stat-number {
        font-size: 2.5rem;
    }

    .people-section__stat-label {
        font-size: 0.85rem;
    }

    .people-section__cell {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .people-section__left {
        padding: 30px 20px;
    }

    .people-section__intro-text {
        font-size: 1.2rem;
    }

    .people-section__grid {
        grid-template-rows: 140px 155px 155px;
        gap: 8px;
        padding: 0 12px 12px;
    }

    .people-section__stat-number {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-carousel__slide {
        transition: opacity 0.2s ease;
    }

    .services-carousel__progress-bar.is-running {
        animation-duration: 0.2s;
    }
}

.services-scroll {
    position: relative;
    font-family: 'DM Sans', sans-serif;
}

.services-scroll__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left side - Sticky image panel */
.services-scroll__images {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #455554;
}

.services-scroll__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.services-scroll__image.active {
    opacity: 1;
}

.services-scroll__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradient */
.services-scroll__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 85, 84, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

/* Large title overlay */
.services-scroll__title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.services-scroll[data-active="intro"] .services-scroll__title-overlay {
    opacity: 1;
}

.services-scroll:not([data-active="intro"]) .services-scroll__title-overlay {
    opacity: 0;
}

.services-scroll__main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Circle accent */
.services-scroll__circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    bottom: 60px;
    left: 60px;
    z-index: 5;
    overflow: hidden;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.services-scroll:not([data-active="intro"]) .services-scroll__circle {
    opacity: 0.9;
}

.services-scroll__circle-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.services-scroll__circle-img.active {
    opacity: 1;
}

/* Right side - Scrolling content */
.services-scroll__content {
    background: #dfede5;
    transition: background 0.6s ease;
}

/* Service-specific backgrounds */
.services-scroll[data-active="intro"]         .services-scroll__content { background: #dfede5; }
.services-scroll[data-active="masterplanning"] .services-scroll__content { background: #f29151; }
.services-scroll[data-active="landscape"]      .services-scroll__content { background: #71b5ae; }
.services-scroll[data-active="planning"]       .services-scroll__content { background: #dd7e77; }
.services-scroll[data-active="urban"]          .services-scroll__content { background: #e9b74b; }
.services-scroll[data-active="architecture"]   .services-scroll__content { background: #9695bc; }
.services-scroll[data-active="audits"]         .services-scroll__content { background: #85b577; }

/* Individual service block */
.services-scroll__block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 80px;
    position: relative;
}

.services-scroll__block-inner {
    max-width: 550px;
}

.services-scroll__number {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-scroll__number::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
}

/* Intro block styling */
.services-scroll__block--intro .services-scroll__number { color: #455554; }
.services-scroll__block--intro .services-scroll__number::before { background: #455554; }

/* Service blocks - white numbers */
.services-scroll__block--masterplanning .services-scroll__number,
.services-scroll__block--landscape .services-scroll__number,
.services-scroll__block--planning .services-scroll__number,
.services-scroll__block--urban .services-scroll__number,
.services-scroll__block--architecture .services-scroll__number,
.services-scroll__block--audits .services-scroll__number { color: rgba(255,255,255,0.8) !important; }

.services-scroll__block--masterplanning .services-scroll__number::before,
.services-scroll__block--landscape .services-scroll__number::before,
.services-scroll__block--planning .services-scroll__number::before,
.services-scroll__block--urban .services-scroll__number::before,
.services-scroll__block--architecture .services-scroll__number::before,
.services-scroll__block--audits .services-scroll__number::before { background: rgba(255,255,255,0.8) !important; }

.services-scroll__block-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin: 0 0 25px 0;
    line-height: 1.2;
}

/* Intro keeps teal title */
.services-scroll__block--intro .services-scroll__block-title { color: #455554; }

/* Service blocks - white titles */
.services-scroll__block--masterplanning .services-scroll__block-title,
.services-scroll__block--landscape .services-scroll__block-title,
.services-scroll__block--planning .services-scroll__block-title,
.services-scroll__block--urban .services-scroll__block-title,
.services-scroll__block--architecture .services-scroll__block-title,
.services-scroll__block--audits .services-scroll__block-title { color: #ffffff !important; }

.services-scroll__block-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Intro keeps teal text */
.services-scroll__block--intro .services-scroll__block-text { color: #455554; }

/* Service blocks - white text */
.services-scroll__block--masterplanning .services-scroll__block-text,
.services-scroll__block--landscape .services-scroll__block-text,
.services-scroll__block--planning .services-scroll__block-text,
.services-scroll__block--urban .services-scroll__block-text,
.services-scroll__block--architecture .services-scroll__block-text,
.services-scroll__block--audits .services-scroll__block-text { color: rgba(255,255,255,0.92) !important; }

/* Shared button base */
.services-scroll__block-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.services-scroll__block-link:hover {
    text-decoration: none;
}

.services-scroll__block-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.services-scroll__block-link:hover svg {
    transform: translateX(5px);
}

/* Masterplanning */
.services-scroll__block--masterplanning .services-scroll__block-link { color: #a65327; }
.services-scroll__block--masterplanning .services-scroll__block-link:hover { background: #d97e42; color: #ffffff; }

/* Landscape */
.services-scroll__block--landscape .services-scroll__block-link { color: #26422f; }
.services-scroll__block--landscape .services-scroll__block-link:hover { background: #559d95; color: #ffffff; }

/* Planning */
.services-scroll__block--planning .services-scroll__block-link { color: #522029; }
.services-scroll__block--planning .services-scroll__block-link:hover { background: #c66860; color: #ffffff; }

/* Urban */
.services-scroll__block--urban .services-scroll__block-link { color: #505062; }
.services-scroll__block--urban .services-scroll__block-link:hover { background: #d4a030; color: #ffffff; }

/* Architecture */
.services-scroll__block--architecture .services-scroll__block-link { color: #505062; }
.services-scroll__block--architecture .services-scroll__block-link:hover { background: #7a78a3; color: #ffffff; }

/* Audits */
.services-scroll__block--audits .services-scroll__block-link { color: #26422f; }
.services-scroll__block--audits .services-scroll__block-link:hover { background: #6a9e62; color: #ffffff; }

/* Progress indicator */
.services-scroll__progress {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.services-scroll__progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(69, 85, 84, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-scroll__progress-dot.active {
    background: #f4c15c;
    transform: scale(1.3);
}

.services-scroll__progress-dot:hover {
    background: #66b2a9;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-scroll__container {
        grid-template-columns: 1fr;
    }
    
    .services-scroll__images {
        position: relative;
        height: 50vh;
    }
    
    .services-scroll__block {
        min-height: auto;
        padding: 80px 50px;
    }
    
    .services-scroll__progress {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-scroll__images {
        height: 40vh;
    }
    
    .services-scroll__block {
        padding: 60px 25px;
    }
    
    .services-scroll__main-title {
        font-size: 2.5rem;
    }
    
    .services-scroll__circle {
        width: 80px;
        height: 80px;
        bottom: 30px;
        left: 30px;
    }
}

.el-item {
    border-radius: 14px;
    transition: border-radius 0.4s ease;
}

.el-item:hover {
    border-radius: 15%;
}

.el-item .el-image {
    border-radius: 14px;
    transition: border-radius 0.4s ease;
}

.el-item:hover .el-image {
    border-radius: 15%;
}

.el-item:hover::after {
    border-radius: 15%;
}

.el-item .uk-position-bottom-left {
    position: relative;
    z-index: 2;
}
.uk-heading-small.uk-margin-large.uk-margin-remove-bottom.uk-text-left.uk-scrollspy-inview {
    padding-top: 40px;
}

.el-meta.uk-text-meta.uk-text-success.uk-margin-small-top {
    font-family: 'Meta Serif Pro Book Italic', Georgia, serif !important;
    text-transform: none;
    font-style: italic;
}
h2.el-title.uk-h4.uk-text-primary.uk-margin-top.uk-margin-remove-bottom {
    font-family: 'Meta Serif Pro', Georgia, serif;
}
h2.el-title.uk-h4.uk-text-primary.uk-margin-remove-top.uk-margin-remove-bottom {
    font-family: 'Meta Serif Pro';
}
