@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('footer.css');

:root {
    --accent: #e55b26;
    /* M Moser orange */
    --accent-dark: #c8461a;
    --ink: #ffffff;
    --ink-soft: #b0b0b0;
    --muted: #808080;
    --line: rgba(255, 255, 255, 0.24);
    --cream: #000000;
    --cream-soft: #0a0a0a;
    --white: #000000;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --bg: #000000;
    /* Easing curves matching mmoser's feel */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* outQuint  - soft settle */
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    /* inOutCirc - both directions */
    --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
    /* outExpo   - long ease-out */
}

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

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    /* IMPORTANT: do NOT use overflow-x:hidden here -- it breaks position:sticky */
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.005em;
    overflow-x: clip;
    touch-action: pan-y;
}

/* Shared fluid copy measure for long-form content. */
.paragraph,
body p {
    width: min(100%, 650px);
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.55;
}

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

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ================================================================
/* ================================================================
   LUXURY LOADER SYSTEM (MINIMALIST CINEMATIC LOGO ANIMATION)
   ================================================================ */
#luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 50%, #151413 0%, #080808 80%);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, visibility, transform;
}

#luxury-loader.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

#luxury-loader.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(1.05);
}

@media (scripting: none) {
    #luxury-loader {
        display: none !important;
    }
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.loader-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-wrapper::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.28) 0%, rgba(201, 169, 110, 0.08) 45%, transparent 70%);
    animation: loaderAuraBreath 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    pointer-events: none;
}

.loader-logo {
    width: 95px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(201, 169, 110, 0.45));
    animation: luxuryLogoCinematic 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes luxuryLogoCinematic {
    0% {
        opacity: 0.72;
        transform: scale(0.92) translateY(3px);
        filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(201, 169, 110, 0.3));
    }

    50% {
        opacity: 1;
        transform: scale(1.06) translateY(-4px);
        filter: brightness(0) invert(1) drop-shadow(0 0 35px rgba(201, 169, 110, 0.85));
    }

    100% {
        opacity: 0.72;
        transform: scale(0.92) translateY(3px);
        filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(201, 169, 110, 0.3));
    }
}

@keyframes loaderAuraBreath {
    0% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.85);
    }

    100% {
        opacity: 0.85;
        transform: scale(1.35);
    }
}


.mm-stack {
    position: relative;
    z-index: 0;
    background: #000;
    /* peek color between layers */
}

.mm-layer {
    position: relative;
    top: 0;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Incrementing z-index: layer N is on top of everything before it */
.mm-layer[data-layer="1"] {
    z-index: 1;
}

.mm-layer[data-layer="3"],
.mm-layer[data-layer="4"] {
    align-items: flex-end;
    justify-content: flex-start;
}

.mm-layer[data-layer="2"] {
    z-index: 2;
}

.mm-layer[data-layer="3"] {
    z-index: 3;
}

.mm-layer[data-layer="4"] {
    z-index: 4;
}

.mm-layer[data-layer="5"] {
    z-index: 5;
}

.mm-layer[data-layer="6"] {
    z-index: 6;
}

.mm-layer[data-layer="7"] {
    z-index: 7;
}

/* Background image inside a layer */
.mm-layer-bg {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* JS-driven subtle parallax (scale + drift) */
    will-change: transform;
    transform-origin: center center;
    transform: none;
}

/* Dark overlay for readability over image layers */
.mm-layer-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}


.scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 1px solid #fff;
    transition: color .3s, border-color .3s, gap .3s;
}

.scroll-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    gap: 18px;
}


/* ---------- LAYER 1: Hero video ---------- */
.mm-layer--hero {
    background: #111;
}

.hero-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .38);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    text-align: center;
    padding: 0 8%;
    margin: 0 auto;
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(30px, 4.6vw, 68px);
    color: #ffffff;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: heroFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 1.5s forwards, softBounce 2.4s var(--ease) 2.5s infinite;
}

.scroll-indicator svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4));
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@keyframes softBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(-10px)
    }
}

/* ---------- LAYERS 2 & 3: Image layers ---------- */
.mm-layer--image {
    background: #1a1a1a;

}

/* ---------- LAYER 4: Cards layers ---------- */
.mm-layer--cards {
    background: var(--white);
    align-items: center;
    padding: 8vh 0;
}

.mm-layer--cards .mm-layer-inner {
    width: 100%;
    max-width: 1400px;
    padding: 0 8%;
}

  


/* ============================================
   Sections AFTER the stack (Projects, Ideas,
   Editorial quote, Footer) sit above the stack
   via higher z-index so they cover it when
   scrolling continues.
   ============================================ */

/* Sections after the stack need to overlay it on scroll */
.mm-section,
.editorial-quote {
    position: relative;
    z-index: 20;
    background: var(--white);
}

.mm-section.bg-cream {
    background: var(--cream);
}

/* ===== QUOTE STRIP ===== */
.quote-strip {
    position: relative;
    z-index: 10;
    padding: 5% 8%;
    background: var(--cream);
}

.quote-inner {
    max-width: 65%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.quote-portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.quote-inner blockquote p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(19px, 2vw, 26px);
    color: var(--ink);
    line-height: 1.55;
    font-style: italic;
    letter-spacing: -0.01em;
}

.quote-inner blockquote cite {
    display: block;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== EDITORIAL QUOTE (like mmoser NYT quote) ===== */
.editorial-quote {
    position: relative;
    z-index: 10;
    padding: 5% 8%;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

}

.eq-inner {
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
}

.eq-inner blockquote p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(12px, 3.4vw, 32px);
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-align: center;
}

.eq-inner blockquote cite {
    display: block;
    margin-top: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--muted);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

/* ===== M MOSER SECTION BLOCKS ===== */
.mm-section {
    position: relative;
    z-index: 10;
    padding: 7% 8%;
    background: var(--white);
}

.mm-section.bg-cream {
    background: var(--cream);
}

.mm-section-inner {
    max-width: 92%;
    margin: 0 auto;
}

/* ===== PROJECTS & IDEAS SECTION HEADERS & SWIPER SPACING ===== */
.projects-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mm-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
}

.mm-section .swiper {
    margin-top: 15px;
    padding-top: 20px;
    padding-bottom: 50px;
}

/* ===== SWIPER THEME & NAVIGATION BUTTONS (#ee8500) ===== */
:root {
    --swiper-navigation-color: #ee8500;
    --swiper-pagination-color: #ee8500;
    --swiper-theme-color: #ee8500;
}

.swiper-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.swiper-button-prev,
.swiper-button-next {
    color: #ee8500 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    border: 1.5px solid #ee8500;
    background: transparent;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 15px !important;
    font-weight: 700;
    color: #ee8500 !important;
    transition: color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #ee8500 !important;
    border-color: #ee8500 !important;
    box-shadow: 0 4px 14px rgba(238, 133, 0, 0.35);
    transform: translateY(-2px);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: #ffffff !important;
}

.swiper-pagination-bullet {
    background: #cccccc;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ee8500 !important;
    opacity: 1 !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ===== MM CARDS (Projects & Ideas Sections - Matching Award & Project CSS) ===== */
.mm-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.mm-card-img {
    width: 100%;
    height: 260px;
    margin: 0 auto 20px;
    position: relative;
    background-color: #0e1012;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Effects matching Awards and Projects Page */
.mm-card:hover .mm-card-img {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.mm-card:hover .mm-card-img img {
    transform: none;
}

.mm-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 4px 0;
}

.mm-card-text {
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
}

.mm-card-text h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--ink);
    transition: color 0.3s ease;
    text-align: center;
}

.mm-card:hover .mm-card-text h3 {
    color: var(--accent);
}

/* ===== HOMEPAGE EDITORIAL PROJECT GRID ===== */
#projects.mm-section {
    background: #080909;
    color: #f4f3ef;
    padding: clamp(64px, 8vw, 120px) 4% clamp(72px, 10vw, 150px);
}

#projects .mm-section-inner {
    max-width: 1500px;
}

#projects .projects-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 56px);
}

#projects .mm-heading {
    color: #f4f3ef;
    font-size: clamp(3.2rem, 4.2vw, 5.8rem);
    line-height: .95;
    letter-spacing: -0.04em;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.home-project-card,
.home-project-card.home-project-card-tall,
.home-project-card.home-project-card-wide {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: #0d0f0f;
    color: #f4f3ef;
    text-decoration: none;
    grid-column: auto;
    grid-row: auto;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.home-project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #171919;
}

.home-project-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .65s var(--ease), filter .35s ease;
}

.home-project-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.home-project-card:hover .home-project-image img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.home-project-meta {
    display: none;
    padding: 14px 16px 16px;
}

.home-project-meta span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .62);
    font-family: 'DM Sans', sans-serif;
    font-size: .72rem;
    letter-spacing: .08em;
}

.home-project-meta h3 {
    margin: 0;
    color: #f4f3ef;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 500;
    line-height: 1.15;
}

#projects .projects-more-btn {
    color: #f4f3ef;
    border-color: rgba(255, 255, 255, .65);
}

#projects .projects-more-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .mm-card-img {
        height: 210px;
    }

    #projects.mm-section {
        padding: 56px 5% 80px;
    }

    #projects .projects-header {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    #projects .mm-heading {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .home-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-project-meta {
        padding: 10px;
    }

    .home-project-meta h3 {
        font-size: .9rem;
    }
}

@media (max-width: 520px) {
    .home-project-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


/* ===== FOOTER ===== */
/* Modularized into css/footer.css */

/* ===== CONTACT PAGE ===== */
body.contact-page {
    background: var(--cream);
    color: #3a2f22;
    padding-top: 100px;
}

.contact-main {
    min-height: calc(100vh - 100px);
}

.contact-hero {
    padding: 80px 20px 40px;
    text-align: center;
}

.contact-eyebrow {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.contact-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-divider {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto;
}

.contact-grid-section {
    padding: 3% 4% 2.5%;
}

.contact-grid {
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
}

.contact-item p,
.contact-item a {
    color: var(--ink-soft);
    line-height: 1.9;
    font-size: 15px;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-map-section {
    padding: 1% 4% 5%;
    max-width: 90%;
    margin: 0 auto;
}

.contact-map-wrap {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #0d0f12;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.15) contrast(1.02);
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    transition: color .3s, border-color .3s, gap .3s;
}

.contact-map-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    gap: 16px;
}

.light-btn {
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
}

.light-btn:hover {
    background: var(--accent) !important;
    color: #fff !important;
}

/* ============================================
   SCROLL REVEAL & LUXURY TEXT ANIMATIONS
   Subtle rise + fade + micro-scale. The scale
   change is intentionally tiny (0.985 -> 1) to
   avoid a "poppy" feel and give the smooth
   editorial settle mmoser uses.
   ============================================ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 1s var(--ease-slow),
        transform 1s var(--ease-slow);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Dedicated luxury text reveal animations */
.reveal-text {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-text.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.text-reveal-line {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.text-reveal-line.visible,
.reveal.visible .text-reveal-line {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.text-delay-1 {
    transition-delay: 0.1s;
}

.text-delay-2 {
    transition-delay: 0.2s;
}

.text-delay-3 {
    transition-delay: 0.3s;
}

.text-delay-4 {
    transition-delay: 0.4s;
}

/* Image reveal inside a card: slight extra shift for editorial layering */
.mm-card.reveal .mm-card-img img {
    transform: none;
}

.mm-card.reveal.visible .mm-card-img img {
    transform: none;
    transition: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
    .mm-layer-text {
        max-width: 520px;
    }

    .mm-section .mm-cards-inner {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .mm-section {
        padding: 5% 6%;
    }

    .mm-layer--panorama .mm-layer-bg {
        height: 65vh;
    }
}

@media (max-width: 768px) {

    body p,
    .paragraph {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(24px, 6.5vw, 40px);
        line-height: 1.25;
        padding: 0 5%;
    }

    .mm-layer-text {
        padding: 0 20px;
        max-width: 100%;
    }

    .mm-layer-text.right,
    .mm-layer-text.left {
        margin-left: 0;
        margin-right: 0;
    }

    .mm-layer[data-layer="2"] .mm-layer-text,
    .mm-layer[data-layer="3"] .mm-layer-text,
    .mm-layer[data-layer="4"] .mm-layer-text {
        margin-left: 20px !important;
        margin-bottom: 36px !important;
        margin-right: auto !important;
        max-width: 90% !important;
        padding: 0 !important;
    }

    .mm-layer-text h2 {
        font-size: clamp(26px, 7.5vw, 42px);
        margin-bottom: 16px;
        letter-spacing: -0.02em;
    }

    .mm-layer-text p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .mm-layer-overlay {
        background: rgba(0, 0, 0, .5);
    }

    .mm-layer[data-layer="2"] .mm-layer-overlay,
    .mm-layer[data-layer="3"] .mm-layer-overlay,
    .mm-layer[data-layer="4"] .mm-layer-overlay {
        background:
            radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 55%, rgba(0, 0, 0, 0.25) 100%),
            linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%) !important;
    }

    .mm-layer--cards {
        padding: 6vh 0;
    }

    .mm-layer--cards .mm-layer-inner {
        padding: 0 6%;
    }

    .scroll-link {
        font-size: 22px;
    }

    .climate-parallax-section {
        padding: 5% 3%;
    }

    .climate-parallax-content p {
        font-size: clamp(18px, 4.8vw, 24px);
    }

    .history-preview-years {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .history-year-item {
        padding: 16px 18px;
    }

    .history-year-item:nth-child(even) {
        padding-left: 18px;
    }

    .mm-card h3 {
        font-size: 18px;
    }

    .editorial-quote {
        padding: 4% 3%;
    }

    .eq-inner blockquote p {
        font-size: 18px;
    }

    .mm-section {
        padding: 4% 3%;
    }

    .menu-content {
        flex-direction: column;
    }

    .menu-left {
        flex: 0 0 30%;
    }

    .menu-right {
        padding: 40px 30px 24px;
    }

    .menu-items {
        flex-direction: column;
        gap: 20px;
    }

    body.contact-page {
        padding-top: 80px;
    }

    .contact-hero {
        padding: 50px 20px 30px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-grid-section {
        padding: 30px 20px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-map-section {
        padding: 10px 20px 50px;
    }

    .contact-map-wrap {
        height: 280px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

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

    .mm-layer-inner,
    .mm-section-inner,
    .history-preview,
    .contact-container,
    .contact-grid-section {
        width: 100%;
        max-width: 100%;
    }

    .history-preview-head h2 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .history-preview-head p {
        font-size: .95rem;
    }

    .history-year-item {
        display: block;
        padding: 18px 0;
    }

    .history-year-item:nth-child(even) {
        padding-left: 0;
    }

    .hy-year,
    .hy-title {
        display: block;
    }

    .hy-year {
        margin-bottom: 8px;
    }

    .hy-title {
        max-width: 18ch;
        font-size: clamp(1.05rem, 5vw, 1.35rem);
    }

    .climate-parallax-content {
        max-width: 100%;
        padding: 12% 6%;
    }



    .hero-title {
        font-size: clamp(20px, 5.8vw, 26px);
    }

    .mm-layer-text h2 {
        font-size: clamp(22px, 6.8vw, 30px);
    }

    .mm-layer--climate p {
        font-size: 18px;
    }

    .mm-layer--panorama .mm-layer-bg {
        height: 45vh;
    }
}

/* Disable stickiness for layers moved out of the stack */
.mm-layer--history,
.mm-layer--climate {
    position: relative !important;
}

/* Global Typography Override for Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.stage-headline,
.counts-heading,
.section-title,
.contact-hero h1,
.mm-layer-text h2,
.history-preview-head h2,
.team-content h2,
.timeline-content h2,
.home-project-meta h3,
.form-card-header h2,
.card-title,
.menu-brand-title {
    font-family: 'Linotype Didot Pro Roman', 'Linotype Didot', 'Didot', 'Bodoni MT', 'Cinzel', 'Cormorant Garamond', 'Playfair Display', serif !important;
}





@media (max-width: 600px) {
    #cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 18px 20px;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================================================
   DYNAMIC NETWORK PROGRESS BAR & CONTEXTUAL LOADING UI
   ================================================================ */
#network-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff9d6c, var(--accent));
    background-size: 200% 100%;
    z-index: 9999999;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    pointer-events: none;
}

#network-progress-bar.active {
    opacity: 1;
    animation: networkGradientPulse 1.5s infinite linear;
}

@keyframes networkGradientPulse {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Button Loading Spinner */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: btnSpin 0.75s infinite linear;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes btnSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

button.is-loading,
.btn.is-loading {
    pointer-events: none;
    opacity: 0.82;
    position: relative;
}

/* Skeleton Loading Animation */
.skeleton-loading {
    background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Progressive Image Loading Fade-in */
img.img-lazy-loading {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

img.img-lazy-loaded {
    opacity: 1;
}

/* Performance Containment & GPU Acceleration Utilities */
.perf-contain {
    contain: layout style paint;
}

.gpu-accelerate {
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* ===== LENIS SMOOTH (INERTIAL) SCROLLING CORE STYLES ===== */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ==========================================================
   SHAPE MULTI-SPEED PARALLAX SECTION (.shape)
   ========================================================== */
.shape {
    position: relative;
    height: 100vh;
    min-height: 105vh;
    min-height: 105dvh;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(70px, 8vh, 100px) clamp(24px, 5vw, 80px);
    box-sizing: border-box;
    z-index: 5;
    background: #000000;
}

.shape-bg {
    position: absolute;
    inset: -8% 0;
    /* Parallax headroom buffer */
    z-index: 1;
}

.shape-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ============================================================
       ADJUST BACKGROUND IMAGE HERE:
       - object-position: e.g. 'center 50%' (centers the building render)
       - transform: scale(1.06) (subtle scale prevents edge flicker during scroll)
       ============================================================ */
    object-position: center 44%;
    transform: scale(1.06);
    transition: object-position 0.3s ease;
}

.shape-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.12) 45%,
            rgba(0, 0, 0, 0.62) 100%);
    z-index: 2;
    pointer-events: none;
}

.shape h2 {
    position: relative;
    z-index: 3;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.4rem, 4.4vw, 4.6rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.4);
    will-change: transform;
    margin-top: 0;
}

/* Reference-Matched Rectangular White Action Badge */
.shape-btn,
.shape .btn {
    position: relative;
    z-index: 3;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 13px 26px;
    border-radius: 2px;
    background: #c7c7c781;
    color: #111111;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    margin: auto 0;
}

.shape-btn span,
.shape .btn span {
    color: #111111;
    font-weight: 500;
}

.shape-btn .dotted-circle,
.shape .btn .dotted-circle {
    width: 18px;
    height: 18px;
    color: #000000;
    flex-shrink: 0;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.shape-btn:hover,
.shape .btn:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.shape-btn:hover .dotted-circle,
.shape .btn:hover .dotted-circle {
    transform: rotate(90deg);
}

.shape .copy {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    gap: clamp(34px, 4vw, 48px);
    width: 100%;
    margin-top: 0;
    margin-bottom: clamp(5px, 1vh, 80px);
    will-change: transform;
}

.shape .copy p {
    flex: 1;
    max-width: 530px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 1.35vw, 1.2rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    margin: auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

@media (max-width: 900px) {
    .shape {
        height: 100vh;
        min-height: 100vh;
        min-height: 100dvh;
        gap: 24px;
        padding: clamp(60px, 8vh, 80px) 24px;
    }

    .shape h2 {
        font-size: clamp(2.2rem, 8.5vw, 3.8rem);
    }

    .shape .copy {
        flex-direction: column;
        gap: 18px;
    }

    .shape .copy p {
        max-width: 100%;
    }
}

/* ==========================================================
   LIVE COUNTS BENTO GRID SECTION (EXACT REFERENCE MATCH)
   ========================================================== */
.live-counts-section {
    background: #000000;
    color: #ffffff;
    padding: clamp(80px, 10vh, 140px) 5%;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    border-top: 1px solid var(--line);
}

.live-counts-container {
    max-width: 1400px;
    margin: 0 auto;
}

.live-counts-header {
    margin-bottom: clamp(36px, 5vh, 60px);
}

.counts-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent, #ee8500);
    display: block;
    margin-bottom: 12px;
}

.counts-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin: 0;
    line-height: 1.08;
}

/* Bento Grid System - Fully Touching Borders */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1px;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    overflow: hidden;
}

/* Bento Card Base */
.bento-card {
    position: relative;
    background: #090b0d;
    border: none;
    border-radius: 0;
    padding: clamp(28px, 3.5vw, 38px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 230px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    background: #111418;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    z-index: 2;
}

/* Box 1 (Total / Cumulative Built-Up Area - Spans 8 Columns) */
.bento-card--hero {
    grid-column: span 8;
    grid-row: 1 / 2;
    min-height: 310px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

/* Box 2 (Hospitality - Spans 4 Columns) */
.bento-card--hospitality {
    grid-column: span 4;
    grid-row: 1 / 2;
    min-height: 310px;
}

/* Box 3 (Residential) */
.bento-card--residential,
.bento-card--tall {
    grid-column: span 3;
    grid-row: 2 / 3;
    min-height: 230px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

/* Box 4 (Corporate) */
.bento-card--corporate {
    grid-column: span 3;
    grid-row: 2 / 3;
    min-height: 230px;
}

/* Box 5 (Institution) */
.bento-card--institution {
    grid-column: span 3;
    grid-row: 2 / 3;
    min-height: 230px;
}

/* Box 6 (Industry) */
.bento-card--industry {
    grid-column: span 3;
    grid-row: 2 / 3;
    min-height: 230px;
}

/* Card Elements */
.bento-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.bento-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.bento-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    color: #000000;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.bento-arrow-btn:hover {
    background: var(--accent, #ee8500);
    color: #ffffff;
    transform: translate(2px, -2px);
}

.bento-icon-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Background SVGs */
.bento-bg-graphic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bento-bg-graphic svg {
    width: 100%;
    height: 100%;
}

.graphic-ripple svg {
    animation: rippleRotate 30s linear infinite;
}

.graphic-industrial svg {
    animation: industrialRotate 36s linear infinite;
}

.graphic-institution svg {
    animation: institutionFloat 24s ease-in-out infinite alternate;
}

@keyframes rippleRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes industrialRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes institutionFloat {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.03);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Numbers & Subtexts */
.bento-card-bottom {
    position: relative;
    z-index: 3;
}

.bento-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(3.2rem, 5.5vw, 5.2rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.stat-unit {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.9);
}

.bento-subtext {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Responsive Rules for Tablet & Mobile */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .bento-card--residential,
    .bento-card--tall {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-card--hospitality {
        grid-column: 2 / 3;
        grid-row: auto;
    }

    .bento-card--industry {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-card--corporate {
        grid-column: 2 / 3;
        grid-row: auto;
    }

    .bento-card--institution {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card--residential,
    .bento-card--tall,
    .bento-card--hospitality,
    .bento-card--industry,
    .bento-card--corporate,
    .bento-card--institution {
        grid-column: 1 / 2;
        grid-row: auto;
        min-height: auto;
    }
}

/* ==========================================================
   HIGH RESOLUTION & TV DISPLAYS (1920px+, 2560px+, 3840px+ 4K UHD)
   ========================================================== */

/* Accessibility & TV Remote Control D-pad Focus Visibility */
:focus-visible {
    outline: 3px solid var(--accent, #ee8500);
    outline-offset: 4px;
    box-shadow: 0 0 24px rgba(238, 133, 0, 0.6);
}

/* ----------------------------------------------------------
   TIER 1: 1920px+ (Full HD Large Displays & 1080p Smart TVs)
   ---------------------------------------------------------- */
@media (min-width: 1920px) {
    html {
        font-size: 17.5px;
    }

    .hero-content {
        max-width: 1550px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 3.2vw, 4.8rem);
    }

    .mm-layer--cards .mm-layer-inner {
        max-width: 1650px;
    }

    .mm-layer--history .mm-layer-inner {
        max-width: 1450px;
    }


    .mm-layer-text h2 {
        font-size: clamp(52px, 5vw, 84px);
    }

    .mm-layer-text p {
        font-size: 20px;
    }

    .shape {
        height: 105vh;
        min-height: 720px;
        gap: 40px;
        padding: 70px 60px;
    }

    .shape h2 {
        font-size: clamp(3.2rem, 4.2vw, 5.8rem);
    }

    .shape-btn,
    .shape .btn {
        padding: 15px 30px;
        font-size: 1.05rem;
    }

    .shape .copy {
        gap: 48px;
    }

    .shape .copy p {
        max-width: 800px;
        font-size: 1.25rem;
        line-height: 1.65;
    }

    .climate-parallax-content {
        max-width: 1200px;
    }

    .climate-parallax-content p {
        font-size: clamp(24px, 2.2vw, 36px);
    }

    .live-counts-container {
        max-width: 1750px;
    }

    .counts-heading {
        font-size: clamp(3.2rem, 4.5vw, 5.2rem);
    }

    .bento-card {
        min-height: 280px;
        padding: 40px;
    }

    .stat-number {
        font-size: clamp(3.8rem, 5.2vw, 5.8rem);
    }

    .projects-section .container,
    .services-section .container,
    .awards-section .container,
    .container {
        max-width: 1750px;
    }

    .footer-container {
        max-width: 1650px;
    }
}

/* ----------------------------------------------------------
   TIER 2: 2560px+ (2K QHD, 1440p Displays & Ultrawide)
   ---------------------------------------------------------- */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }

    .hero-content {
        max-width: 2100px;
    }

    .hero-title {
        font-size: clamp(64px, 4.2vw, 108px);
    }

    .scroll-indicator {
        bottom: 70px;
        transform: scale(1.3) translateX(-50%);
    }

    .mm-layer--cards .mm-layer-inner {
        max-width: 2200px;
    }

    .mm-layer--history .mm-layer-inner {
        max-width: 1900px;
    }

    .history-preview-head h2 {
        font-size: clamp(72px, 5vw, 110px);
    }

    .history-preview-head p {
        font-size: 24px;
    }

    .history-year-item {
        padding: 34px 28px 34px 0;
        gap: 32px;
    }

    .hy-year {
        font-size: 22px;
        min-width: 76px;
    }

    .hy-title {
        font-size: 25px;
    }

    .history-preview-link {
        font-size: 22px;
        margin-top: 60px;
    }

    .mm-layer-text {
        max-width: 1000px;
    }

    .mm-layer-text h2 {
        font-size: clamp(68px, 5vw, 108px);
    }

    .mm-layer-text p {
        font-size: 24px;
        line-height: 1.6;
    }

    .shape {
        height: 85vh;
        min-height: 820px;
        gap: 50px;
        padding: 90px 80px;
    }

    .shape h2 {
        font-size: clamp(5.5rem, 6.2vw, 9.5rem);
    }

    .shape-btn,
    .shape .btn {
        padding: 18px 36px;
        font-size: 1.25rem;
        gap: 24px;
    }

    .shape-btn .dotted-circle,
    .shape .btn .dotted-circle {
        width: 22px;
        height: 22px;
    }

    .shape .copy {
        max-width: 1450px;
        gap: 60px;
    }

    .shape .copy p {
        max-width: 660px;
        font-size: 1.45rem;
        line-height: 1.7;
        border-left-width: 3px;
        padding-left: 24px;
    }

    .climate-parallax-content {
        max-width: 1600px;
    }

    .climate-parallax-content p {
        font-size: clamp(32px, 2.2vw, 48px);
    }

    .climate-quote-icon svg {
        width: 60px;
        height: 60px;
    }

    .live-counts-container {
        max-width: 2300px;
    }

    .counts-eyebrow {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .counts-heading {
        font-size: clamp(4.4rem, 4.5vw, 6.8rem);
    }

    .bento-card {
        min-height: 380px;
        padding: 52px;
    }

    .stat-number {
        font-size: clamp(4.8rem, 5.2vw, 7.5rem);
    }

    .stat-unit {
        font-size: clamp(2rem, 2.2vw, 3.4rem);
    }

    .bento-subtext {
        font-size: 1.25rem;
    }

    .projects-section .container,
    .services-section .container,
    .awards-section .container,
    .container {
        max-width: 2300px;
    }

    .footer-container {
        max-width: 2100px;
    }
}

/* ----------------------------------------------------------
   TIER 3: 3840px+ (4K UHD Smart TVs & Giant Displays)
   ---------------------------------------------------------- */
@media (min-width: 3840px) {
    html {
        font-size: 26px;
    }

    .hero-content {
        max-width: 2900px;
    }

    .hero-title {
        font-size: clamp(90px, 4.2vw, 150px);
    }

    .scroll-indicator {
        bottom: 90px;
        transform: scale(1.6) translateX(-50%);
    }

    .mm-layer--cards .mm-layer-inner {
        max-width: 3000px;
    }

    .mm-layer--history .mm-layer-inner {
        max-width: 2600px;
    }

    .history-preview-head h2 {
        font-size: clamp(96px, 5vw, 150px);
    }

    .history-preview-head p {
        font-size: 32px;
    }

    .history-year-item {
        padding: 46px 36px 46px 0;
        gap: 48px;
    }

    .hy-year {
        font-size: 28px;
        min-width: 96px;
    }

    .hy-title {
        font-size: 34px;
    }

    .history-preview-link {
        font-size: 28px;
        margin-top: 80px;
    }

    .mm-layer-text {
        max-width: 1400px;
    }

    .mm-layer-text h2 {
        font-size: clamp(90px, 5vw, 150px);
    }

    .mm-layer-text p {
        font-size: 32px;
        line-height: 1.65;
    }

    .shape {
        height: 80vh;
        min-height: 950px;
        gap: 64px;
        padding: 120px 120px;
    }

    .shape h2 {
        font-size: clamp(7.5rem, 6.2vw, 12rem);
    }

    .shape-btn,
    .shape .btn {
        padding: 24px 48px;
        font-size: 1.65rem;
        gap: 30px;
    }

    .shape-btn .dotted-circle,
    .shape .btn .dotted-circle {
        width: 28px;
        height: 28px;
    }

    .shape .copy {
        max-width: 2000px;
        gap: 84px;
    }

    .shape .copy p {
        max-width: 920px;
        font-size: 1.75rem;
        line-height: 1.75;
        border-left-width: 4px;
        padding-left: 32px;
    }

    .climate-parallax-content {
        max-width: 2400px;
    }

    .climate-parallax-content p {
        font-size: clamp(44px, 2.4vw, 68px);
    }

    .climate-quote-icon svg {
        width: 90px;
        height: 90px;
    }

    .live-counts-container {
        max-width: 3200px;
    }

    .counts-eyebrow {
        font-size: 22px;
        margin-bottom: 26px;
    }

    .counts-heading {
        font-size: clamp(6.2rem, 4.5vw, 9.6rem);
    }

    .bento-card {
        min-height: 520px;
        padding: 72px;
    }

    .stat-number {
        font-size: clamp(7.2rem, 5.2vw, 11rem);
    }

    .stat-unit {
        font-size: clamp(2.8rem, 2.2vw, 4.8rem);
    }

    .bento-tag {
        font-size: 18px;
    }

    .bento-subtext {
        font-size: 1.65rem;
    }

    .projects-section .container,
    .services-section .container,
    .awards-section .container,
    .container {
        max-width: 3200px;
    }

    .footer-container {
        max-width: 2900px;
    }
}

/* ==========================================================================
   Get Brochure FLOATING PILL (BOTTOM-RIGHT CORNER)
   ========================================================================== */
.get-template-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 990;
    pointer-events: none;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.get-template-pill {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px 0 13px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.94), rgba(10, 10, 12, 0.97));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(229, 91, 38, 0.45);
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65),
        0 0 20px rgba(229, 91, 38, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    animation: templatePillEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes templatePillEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.get-template-pill .pill-sparkle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e55b26;
    font-size: 11px;
    animation: pillSparklePulse 2.4s ease-in-out infinite;
}

@keyframes pillSparklePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
        filter: drop-shadow(0 0 2px rgba(229, 91, 38, 0.4));
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(229, 91, 38, 0.9));
    }
}

.get-template-pill .pill-text {
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
}

.get-template-pill .pill-arrow {
    width: 14px;
    height: 14px;
    color: #e55b26;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.get-template-pill:hover {
    background: linear-gradient(135deg, rgba(28, 24, 22, 0.97), rgba(16, 12, 10, 0.99));
    border-color: rgba(229, 91, 38, 0.85);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8),
        0 0 28px rgba(229, 91, 38, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

.get-template-pill:hover .pill-arrow {
    transform: translate(2px, -2px);
    color: #ffffff;
}

.get-template-pill:active {
    transform: translateY(0) scale(0.98);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .get-template-container {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom, 16px));
        z-index: 990;
    }

    .get-template-pill {
        height: 40px;
        padding: 0 14px 0 12px;
        font-size: 12.5px;
    }
}