/*
===============================================================================
MOONLINE STUDIO SYSTEM — GLOBAL STYLES
===============================================================================

DESIGN
------
Dark / premium / editorial / minimal.
Inspired by modern technology and architecture brands without copying
any particular website.

EDIT HERE FIRST
---------------
:root
    Change typography scale, spacing, backgrounds and borders.

RESPONSIVE
----------
Desktop > 800px
Mobile  <= 800px
Small phones <= 500px

===============================================================================
*/


/* ============================================================================
   01 / DESIGN TOKENS
   ============================================================================ */

:root {
    --bg: #070707;
    --surface: #101010;
    --surface-2: #151515;
    --text: #f3f3ef;
    --muted: #969692;
    --dim: #60605b;
    --line: rgba(255,255,255,.11);
    --line-strong: rgba(255,255,255,.22);
    --white: #fff;
    --green: #25d366;

    --max: 1240px;
    --header: 76px;

    --ease: 250ms ease;
}


/* ============================================================================
   02 / RESET
   ============================================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: #fff;
    color: #000;
}


/* ============================================================================
   03 / GLOBAL LAYOUT
   ============================================================================ */

.container {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding-block: 150px;
}

.section-number,
.eyebrow {
    color: #72726d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .20em;
    line-height: 1.4;
}

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

h1,
h2,
h3 {
    letter-spacing: -.055em;
}

h1,
h2 {
    font-weight: 550;
}

h1 em,
h2 em,
h3 em {
    color: #777773;
    font-style: normal;
}

h2 {
    font-size: clamp(46px, 6vw, 82px);
    line-height: .96;
}

.lead {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.copy {
    max-width: 560px;
}

.copy p:not(.lead) {
    color: #858580;
    line-height: 1.8;
}


/* ============================================================================
   04 / HEADER
   ============================================================================ */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(7,7,7,.62);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background var(--ease), border-color var(--ease);
}

.site-header.scrolled {
    background: rgba(7,7,7,.94);
    border-color: var(--line);
}

.nav-wrap {
    width: min(var(--max), calc(100% - 48px));
    height: var(--header);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-symbol {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #666;
    border-radius: 50%;
    font-size: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1;
}

.brand-text small {
    margin-top: 4px;
    color: #72726e;
    font-size: 7px;
    letter-spacing: .17em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: #858581;
    font-size: 12px;
    transition: color var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    z-index: 1002;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: transform var(--ease), opacity var(--ease);
}

.menu-btn[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}


/* ============================================================================
   05 / BUTTONS
   ============================================================================ */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 700;
    transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-light {
    background: #fff;
    color: #050505;
}

.btn-light:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--line-strong);
    color: #ddd;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.whatsapp-btn {
    background: var(--green);
    color: #071007;
    border: 0;
}


/* ============================================================================
   06 / HERO
   ============================================================================ */

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

.hero-media,
.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: #101010;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .34;
}

.hero-gradient {
    background:
        linear-gradient(
            90deg,
            #050505 0%,
            rgba(5,5,5,.88) 42%,
            rgba(5,5,5,.28) 100%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 55px;
}

.hero h1 {
    max-width: 950px;
    margin: 22px 0 27px;
    font-size: clamp(60px, 9vw, 124px);
    line-height: .86;
}

.hero-copy {
    max-width: 560px;
    color: #a1a19c;
    font-size: 16px;
    line-height: 1.75;
}

.scroll-indicator {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 28px;
    color: #666;
    font-size: 9px;
    letter-spacing: .2em;
}


/* ============================================================================
   07 / HOME INTRO
   ============================================================================ */

.split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 10%;
    margin-top: 55px;
}

.intro {
    padding-bottom: 170px;
}


/* ============================================================================
   08 / THREE PILLARS
   ============================================================================ */

.pillars-section {
    background: #0b0b0b;
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    margin-top: 55px;
}

.pillar {
    min-height: 510px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #101010;
    border: 1px solid var(--line);
    transition: transform 350ms ease, border-color 350ms ease;
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.pillar-large {
    grid-row: span 2;
    min-height: 760px;
}

.pillar-no {
    color: #666;
    font-size: 10px;
}

.pillar h3 {
    margin: 15px 0;
    font-size: clamp(32px, 4vw, 56px);
    line-height: .95;
}

.pillar p:not(.eyebrow) {
    max-width: 430px;
    color: #888;
    line-height: 1.7;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 7px;
    border-bottom: 1px solid #4d4d49;
    font-size: 11px;
    color: #ddd;
}

.arrow-link span {
    transition: transform var(--ease);
}

.arrow-link:hover span {
    transform: translateX(5px);
}


/* ============================================================================
   09 / PROJECT TEASER
   ============================================================================ */

.project-teaser {
    border-block: 1px solid var(--line);
}

.project-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.project-teaser h2 {
    margin: 20px 0 0;
}

.round-arrow {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border: 1px solid #444;
    border-radius: 50%;
    font-size: 22px;
    transition: background var(--ease), color var(--ease);
}

.round-arrow:hover {
    background: #fff;
    color: #000;
}


/* ============================================================================
   10 / INNER PAGE HERO
   ============================================================================ */

.page-hero {
    padding-top: 185px;
    padding-bottom: 90px;
}

.page-hero h1 {
    max-width: 1000px;
    margin: 24px 0;
    font-size: clamp(62px, 9vw, 118px);
    line-height: .88;
}

.page-hero > p:last-child {
    max-width: 650px;
    color: #92928e;
    font-size: 17px;
    line-height: 1.75;
}


/* ============================================================================
   11 / SYSTEM SECTIONS
   ============================================================================ */

.system-section {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 7%;
    padding-block: 130px;
    border-top: 1px solid var(--line);
}

.system-alt {
    background: #0b0b0b;
}

.system-index {
    color: #555;
    font-size: 11px;
    letter-spacing: .12em;
}

.system-content {
    max-width: 900px;
}

.system-content h2 {
    margin: 20px 0 30px;
}

.system-copy {
    max-width: 650px;
    color: #92928d;
    font-size: 18px;
    line-height: 1.75;
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 35px 0;
}

.system-tags span {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: #858580;
    font-size: 10px;
}


/* ============================================================================
   12 / PRODUCT CATALOGUE
   ============================================================================ */

.catalogue-section {
    padding-block: 130px;
}

.catalogue-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 55px;
}

.catalogue-head h2 {
    margin: 20px 0 0;
}

.catalogue-note {
    max-width: 380px;
    color: #6f6f6b;
    font-size: 12px;
    line-height: 1.7;
}

.catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-filter {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    color: #858581;
    font-size: 10px;
}

.category-filter:hover,
.category-filter.active {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.search-box {
    min-width: 250px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #4d4d49;
}

.search-box span {
    color: #666;
    font-size: 20px;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    overflow: hidden;
    background: #101010;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 300ms ease, border-color 300ms ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.card-image {
    height: 310px;
    background: #151515;
    overflow: hidden;
}

.card-image img {
    height: 100%;
    object-fit: contain;
    transition: transform 500ms ease;
}

.product-card:hover .card-image img {
    transform: scale(1.035);
}

.card-info {
    padding: 20px 21px 24px;
}

.card-category {
    color: #666;
    font-size: 9px;
    letter-spacing: .17em;
}

.card-info h3 {
    margin: 10px 0 15px;
    font-size: 22px;
}

.card-action {
    color: #999;
    font-size: 10px;
}

.empty-state {
    padding: 80px;
    text-align: center;
    color: #666;
}


/* ============================================================================
   13 / PRODUCT MODAL
   ============================================================================ */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.product-modal.open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(920px, calc(100% - 32px));
    max-height: 90vh;
    overflow: auto;
    padding: 30px;
    background: #111;
    border: 1px solid #333;
}

.modal-close {
    position: absolute;
    top: 7px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 34px;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.modal-content img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #161616;
}

.modal-content h2 {
    margin: 18px 0;
    font-size: 48px;
}

.modal-content p {
    color: #92928e;
    line-height: 1.75;
}

.modal-meta {
    color: #666;
    font-size: 9px;
    letter-spacing: .2em;
}

.enquiry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.product-specifications {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.spec-row span {
    color: #666;
}

.spec-row strong {
    text-align: right;
    font-weight: 500;
}


/* ============================================================================
   14 / PROJECTS
   ============================================================================ */

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-bottom: 140px;
}

.project-card {
    overflow: hidden;
    background: #101010;
    border: 1px solid var(--line);
}

.project-wide {
    grid-column: span 2;
}

.project-image {
    height: 450px;
    background: #151515;
    overflow: hidden;
}

.project-wide .project-image {
    height: 560px;
}

.project-image img {
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 28px;
}

.project-info h2 {
    margin: 15px 0;
    font-size: clamp(38px, 4vw, 58px);
}

.project-info p:last-child {
    max-width: 500px;
    color: #888;
    line-height: 1.7;
}

.project-cta {
    padding-bottom: 160px;
}

.project-cta h2 {
    margin: 20px 0 35px;
}


/* ============================================================================
   15 / ABOUT
   ============================================================================ */

.about-story {
    border-top: 1px solid var(--line);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 10%;
    margin-top: 55px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    border-block: 1px solid var(--line);
    padding-block: 0;
}

.value {
    min-height: 290px;
    padding: 25px;
    border-left: 1px solid var(--line);
}

.value:first-child {
    padding-left: 0;
    border-left: 0;
}

.value span {
    color: #555;
    font-size: 10px;
}

.value h3 {
    margin: 75px 0 14px;
    font-size: 26px;
}

.value p {
    max-width: 250px;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
}

.about-cta {
    padding-block: 160px;
}

.about-cta h2 {
    margin: 20px 0 35px;
}


/* ============================================================================
   16 / STORE
   ============================================================================ */

.store-page {
    min-height: calc(100vh - 100px);
}

.store-status {
    width: fit-content;
    margin-top: 35px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    color: #888;
    font-size: 10px;
    letter-spacing: .14em;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #777;
}


/* ============================================================================
   17 / CONTACT
   ============================================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 12%;
    padding-bottom: 150px;
}

.contact-form {
    display: grid;
    gap: 23px;
}

.contact-form label {
    display: grid;
    gap: 9px;
    color: #777;
    font-size: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #292929;
    outline: 0;
    border-radius: 0;
    background: #0d0d0d;
    color: #fff;
}

.contact-form select option {
    background: #111;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #666;
}

.form-note {
    color: #777;
    font-size: 11px;
}

.direct-contact {
    display: grid;
    align-content: start;
    gap: 45px;
}

.contact-block {
    display: grid;
    gap: 8px;
}

.contact-block > span {
    color: #666;
    font-size: 9px;
    letter-spacing: .2em;
}

.contact-block > a {
    color: #ddd;
}

.contact-note p {
    max-width: 340px;
    color: #888;
    line-height: 1.7;
    font-size: 13px;
}


/* ============================================================================
   18 / FOOTER
   ============================================================================ */

.footer {
    border-top: 1px solid var(--line);
    padding: 45px 0 25px;
}

.footer-main,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-main {
    padding-bottom: 45px;
}

.footer-main p,
.footer-bottom {
    color: #666;
    font-size: 10px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.footer-bottom a:hover {
    color: #fff;
}


/* ============================================================================
   19 / MOBILE
   ============================================================================ */

@media (max-width: 800px) {

    :root {
        --header: 68px;
    }

    .container,
    .nav-wrap {
        width: calc(100% - 32px);
    }

    .section {
        padding-block: 105px;
    }

    /* MOBILE NAV */
    .menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 100px 32px 40px;
        background: #070707;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        z-index: 1001;
        transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: opacity 250ms ease, transform 250ms ease;
    }

    .main-nav a {
        padding: 6px 10px;
        font-size: 28px;
        color: #858581;
    }

    /* HERO */
    .hero {
        min-height: 760px;
    }

    .hero-gradient {
        background:
            linear-gradient(
                0deg,
                #050505 4%,
                rgba(5,5,5,.72) 60%,
                rgba(5,5,5,.22) 100%
            );
    }

    .hero h1 {
        font-size: clamp(54px, 15vw, 88px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .actions {
        width: 100%;
    }

    .actions .btn {
        width: 100%;
    }

    /* SPLITS */
    .split,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    /* PILLARS */
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-large {
        grid-row: auto;
        min-height: 540px;
    }

    .pillar {
        min-height: 430px;
    }

    /* PROJECT TEASER */
    .project-teaser-inner {
        align-items: flex-start;
    }

    .round-arrow {
        width: 65px;
        height: 65px;
        flex-shrink: 0;
    }

    /* SYSTEMS */
    .system-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-block: 100px;
    }

    .system-index {
        order: 0;
    }

    .catalogue-head {
        display: grid;
        align-items: start;
    }

    .catalogue-toolbar {
        display: grid;
        align-items: stretch;
    }

    .search-box {
        min-width: 0;
    }

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

    /* MODAL */
    .modal-panel {
        padding: 25px 18px;
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-content h2 {
        font-size: 40px;
    }

    .enquiry-actions {
        display: grid;
    }

    .enquiry-actions .btn {
        width: 100%;
    }

    /* PROJECTS */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-wide {
        grid-column: auto;
    }

    .project-image,
    .project-wide .project-image {
        height: 330px;
    }

    /* ABOUT */
    .about-values {
        grid-template-columns: 1fr;
    }

    .value,
    .value:first-child {
        min-height: auto;
        padding: 30px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .value:first-child {
        border-top: 0;
    }

    .value h3 {
        margin-top: 45px;
    }

    /* FOOTER */
    .footer-main {
        display: grid;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================================
   20 / SMALL PHONES
   ============================================================================ */

@media (max-width: 500px) {

    .brand-text {
        font-size: 10px;
    }

    .brand-text small {
        font-size: 6px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .page-hero h1 {
        font-size: 57px;
    }

    .pillar h3 {
        font-size: 40px;
    }

    .project-teaser-inner {
        display: grid;
    }

    .round-arrow {
        width: 55px;
        height: 55px;
    }
}


/* ============================================================================
   END
   ============================================================================ */


/* ============================================================================
   MOONLINE V3 — EDITORIAL HOMEPAGE OVERRIDES
   ----------------------------------------------------------------------------
   This section is intentionally appended to the stylesheet so future edits
   can be made here without hunting through the original styles.
   ============================================================================ */

.hero-editorial .hero-inner {
    padding-top: 85px;
}

.hero-editorial h1 {
    max-width: 980px;
    font-size: clamp(76px, 12vw, 170px);
    letter-spacing: -.075em;
    line-height: .78;
    margin-bottom: 35px;
}

.hero-editorial h1 span {
    display: block;
    color: #777773;
}

.hero-editorial .hero-copy {
    max-width: 610px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.38) 70%),
        linear-gradient(0deg, rgba(0,0,0,.8), transparent 55%);
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 27px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    color: #6b6b67;
    font-size: 9px;
    letter-spacing: .18em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ddd;
    font-size: 11px;
    letter-spacing: .02em;
}

.text-link span,
.text-link b {
    color: #777;
    font-weight: 400;
}

.intro-editorial {
    padding-top: 170px;
    padding-bottom: 180px;
}

.intro-statement {
    max-width: 1050px;
    margin-top: 70px;
}

.intro-statement h2 {
    font-size: clamp(52px, 7.2vw, 105px);
    line-height: .91;
    margin: 0;
}

.intro-support {
    max-width: 540px;
    margin: 70px 0 0 auto;
}

.intro-support p {
    color: #8d8d88;
    line-height: 1.85;
    font-size: 16px;
}

.intro-support .arrow-link {
    margin-top: 22px;
}

.section-heading-row {
    display: grid;
    grid-template-columns: 1.1fr .55fr;
    align-items: end;
    gap: 10%;
}

.section-heading-row h2 {
    margin: 20px 0 0;
}

.section-heading-row > p {
    color: #777773;
    line-height: 1.8;
    font-size: 13px;
}

.pillar-grid {
    grid-template-columns: 1.25fr .75fr;
    gap: 1px;
    background: #292929;
}

.pillar {
    min-height: 530px;
    background:
        radial-gradient(circle at 70% 15%, rgba(255,255,255,.055), transparent 32%),
        #0c0c0c;
    border: 0;
    padding: 30px;
}

.pillar-studio {
    grid-row: span 2;
    min-height: 760px;
}

.pillar-top {
    display: flex;
    justify-content: space-between;
    color: #5d5d59;
    font-size: 9px;
    letter-spacing: .16em;
}

.pillar h3 {
    font-size: clamp(43px, 5vw, 70px);
    line-height: .9;
    margin: 0 0 20px;
}

.pillar p:not(.eyebrow) {
    max-width: 410px;
    color: #777773;
    font-size: 13px;
    line-height: 1.8;
}

.pillar .text-link {
    margin-top: 18px;
}

.featured-project {
    min-height: 850px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-top: 1px solid var(--line);
}

.featured-project-image,
.featured-project-overlay {
    position: absolute;
    inset: 0;
}

.featured-project-image img {
    height: 100%;
    object-fit: cover;
    opacity: .65;
    transition: transform 1.2s ease;
}

.featured-project:hover .featured-project-image img {
    transform: scale(1.025);
}

.featured-project-overlay {
    background:
        linear-gradient(0deg, rgba(0,0,0,.95), rgba(0,0,0,.05) 75%),
        linear-gradient(90deg, rgba(0,0,0,.65), transparent);
}

.featured-project-content {
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.featured-project-content h2 {
    font-size: clamp(60px, 9vw, 130px);
    line-height: .84;
    margin: 20px 0 30px;
}

.featured-meta {
    display: flex;
    gap: 25px;
    color: #898984;
    font-size: 9px;
    letter-spacing: .17em;
    margin-bottom: 35px;
}

.proof-strip {
    border-bottom: 1px solid var(--line);
    background: #0a0a0a;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.proof-grid > div {
    min-height: 190px;
    padding: 30px 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proof-grid > div:first-child {
    border-left: 0;
}

.proof-grid strong {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -.06em;
}

.proof-grid span {
    color: #686864;
    font-size: 10px;
    letter-spacing: .1em;
}

.process-section {
    padding-top: 160px;
}

.process-heading {
    margin-top: 55px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 80px;
    border-top: 1px solid var(--line);
}

.process-grid article {
    min-height: 330px;
    padding: 25px 25px 30px 0;
    border-right: 1px solid var(--line);
    margin-right: 25px;
}

.process-grid article:last-child {
    border-right: 0;
    margin-right: 0;
}

.process-grid article > span {
    color: #555551;
    font-size: 10px;
}

.process-grid h3 {
    margin-top: 100px;
    font-size: 27px;
}

.process-grid p {
    color: #777773;
    font-size: 12px;
    line-height: 1.8;
    max-width: 220px;
}

.testimonials-section {
    background: #0b0b0b;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.testimonial-list {
    margin-top: 85px;
    position: relative;
    min-height: 390px;
}

.testimonial {
    display: none;
    max-width: 950px;
}

.testimonial.active {
    display: block;
    animation: testimonialIn 400ms ease;
}

@keyframes testimonialIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-mark {
    color: #666;
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: .5;
}

.testimonial blockquote {
    margin: 35px 0 45px;
    font-size: clamp(30px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: -.045em;
    color: #e9e9e4;
}

.testimonial-author {
    display: grid;
    gap: 6px;
}

.testimonial-author strong {
    font-size: 12px;
}

.testimonial-author span {
    color: #666;
    font-size: 10px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.testimonial-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #444;
    background: transparent;
    color: #aaa;
    border-radius: 50%;
}

.testimonial-controls button:hover {
    background: #fff;
    color: #000;
}

.testimonial-dots {
    display: flex;
    gap: 7px;
}

.testimonial-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #454541;
}

.testimonial-dot.active {
    background: #fff;
}

.closing-section {
    padding-top: 180px;
    padding-bottom: 200px;
}

.closing-section h2 {
    font-size: clamp(60px, 9vw, 130px);
    line-height: .84;
    margin: 20px 0 35px;
}

.mobile-whatsapp {
    display: none;
}

@media (max-width: 800px) {

    .hero-editorial h1 {
        font-size: clamp(62px, 17vw, 100px);
    }

    .hero-bottom {
        width: calc(100% - 32px);
    }

    .intro-statement {
        margin-top: 50px;
    }

    .intro-statement h2 {
        font-size: 51px;
    }

    .intro-support {
        margin-top: 50px;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .pillar-studio {
        grid-row: auto;
        min-height: 570px;
    }

    .featured-project {
        min-height: 650px;
    }

    .featured-project-content {
        padding-bottom: 50px;
    }

    .featured-project-content h2 {
        font-size: 65px;
    }

    .featured-meta {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

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

    .proof-grid > div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .proof-grid > div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .process-grid {
        grid-template-columns: 1fr;
        margin-top: 55px;
    }

    .process-grid article,
    .process-grid article:last-child {
        min-height: 230px;
        margin: 0;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-grid h3 {
        margin-top: 65px;
    }

    .testimonial-list {
        min-height: 520px;
    }

    .testimonial blockquote {
        font-size: 35px;
    }

    .mobile-whatsapp {
        display: block;
        position: fixed;
        z-index: 950;
        right: 14px;
        bottom: 14px;
        padding: 13px 17px;
        background: #25d366;
        color: #061006;
        border-radius: 100px;
        font-size: 10px;
        font-weight: 800;
        box-shadow: 0 8px 30px rgba(0,0,0,.4);
    }
}

@media (max-width: 500px) {

    .intro-statement h2 {
        font-size: 43px;
    }

    .featured-project-content h2 {
        font-size: 54px;
    }

    .proof-grid > div {
        min-height: 150px;
        padding: 20px 15px;
    }

    .proof-grid strong {
        font-size: 37px;
    }

    .testimonial-list {
        min-height: 560px;
    }

    .testimonial blockquote {
        font-size: 31px;
    }

}


/* ============================================================================
   MOONLINE BRAND LOGO — V4
   ----------------------------------------------------------------------------
   The official logo is stored at:
       images/moonlinelogo.png

   To replace the logo later, keep the filename the same and overwrite the
   image file. No HTML changes are required.
   ============================================================================ */

.brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 800px) {
    .brand-logo {
        max-width: 155px;
        height: 36px;
    }
}

@media (max-width: 500px) {
    .brand-logo {
        max-width: 135px;
        height: 32px;
    }
}


/* ============================================================================
   MOONLINE STUDIOS BRAND LOCKUP — V5
   ----------------------------------------------------------------------------
   The official logo and the words "MOONLINE STUDIOS" are intentionally kept
   together wherever the site displays the brand.

   To replace the logo later:
       overwrite images/moonlinelogo.png

   The brand name does NOT need to be edited when the logo is replaced.
   ============================================================================ */

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: #f1f1ed;
    text-decoration: none;
}

.brand-lockup .brand-logo {
    flex: 0 0 auto;
    display: block;
    width: auto;
    max-width: 72px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.brand-name {
    display: block;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .14em;
}

.footer .brand-lockup .brand-logo {
    height: 46px;
    max-width: 78px;
}

@media (max-width: 800px) {
    .brand-lockup {
        gap: 10px;
    }

    .brand-lockup .brand-logo {
        height: 34px;
        max-width: 58px;
    }

    .brand-name {
        font-size: 10px;
        letter-spacing: .12em;
    }

    .footer .brand-lockup .brand-logo {
        height: 38px;
    }
}

@media (max-width: 390px) {
    .brand-lockup {
        gap: 8px;
    }

    .brand-lockup .brand-logo {
        height: 30px;
        max-width: 50px;
    }

    .brand-name {
        font-size: 9px;
        letter-spacing: .1em;
    }
}


/* ============================================================================
   MOONLINE V6 — BROCHURE + REAL PROJECT GALLERY
   ============================================================================ */
.brochure-strip{display:grid;grid-template-columns:1.5fr .5fr;gap:40px;align-items:end;padding-block:95px;border-top:1px solid var(--line)}
.brochure-strip h2{margin:10px 0 20px}
.brochure-strip p:not(.eyebrow){max-width:720px;color:#858580;line-height:1.8}
.brochure-actions{display:flex;justify-content:flex-end;align-items:center;gap:24px;flex-wrap:wrap}
.project-gallery-head{display:grid;grid-template-columns:1fr .7fr;gap:50px;align-items:end;padding-bottom:35px}
.project-gallery-head h2{margin:0}
.project-gallery-head>p{color:#858580;line-height:1.8}
.project-filter-row{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-bottom:18px}
.project-filter{border:1px solid var(--line);background:transparent;color:#898983;padding:9px 13px;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.project-filter.active,.project-filter:hover{background:#fff;color:#000;border-color:#fff}
.actual-project-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:10px}
.actual-project-item{position:relative;grid-column:span 3;margin:0;min-height:290px;overflow:hidden;background:#111;border:1px solid var(--line)}
.actual-project-item:nth-child(7n+1){grid-column:span 6;min-height:430px}
.actual-project-item img{height:100%;object-fit:cover;transition:transform .5s ease}
.actual-project-item:hover img{transform:scale(1.035)}
.actual-project-item:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 58%);pointer-events:none}
.actual-project-item figcaption{position:absolute;z-index:1;left:15px;right:15px;bottom:14px;display:flex;justify-content:space-between;gap:12px;align-items:end;color:#ddd;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.actual-project-item figcaption b{color:#aaa;font-weight:500;text-align:right}
@media (max-width:900px){.brochure-strip,.project-gallery-head{grid-template-columns:1fr}.brochure-actions{justify-content:flex-start}.actual-project-item,.actual-project-item:nth-child(7n+1){grid-column:span 6;min-height:300px}}
@media (max-width:500px){.brochure-strip{padding-block:70px}.actual-project-grid{grid-template-columns:1fr 1fr}.actual-project-item,.actual-project-item:nth-child(7n+1){grid-column:span 1;min-height:230px}.actual-project-item:nth-child(4n+1){grid-column:span 2;min-height:320px}}
