/* --- Global Architectural Variables --- */
:root {
    --primary-bg: #fdf3ef; 
    --accent-red: #d13e27;
    --text-main: #222222;
    --text-light: #555555;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --dark-charcoal: #1C1C1C;
    --primary-orange: #f0380a;
    --card-bg-grey: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a, button {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- FIXED NAVBAR DESIGN ENGINE --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1010; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 5%;
    background-color: var(--white);
    position: relative;
    z-index: 1015;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-vertical-line {
    width: 2px;
    height: 28px;
    background-color: #1C1C1C;
    margin: 0 10px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    text-transform: lowercase;
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-orange);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-charcoal);
}

/* --- SECTION 1: HERO DISPLAY BANNER --- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0 8%;
    margin-top: 80px;
    overflow: hidden;
}

.hero-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-image::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content-bound {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subprose {
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-charcoal);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
    text-align: justify;
}

.hero-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: #000000;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 36px;
    transition: background-color 0.3s ease;
}

.hero-action-pill:hover {
    background-color: var(--primary-orange);
}

.hero-icon-inline {
    font-size: 9px;
}

/* --- CORE PAGE BODY WRAPPER --- */
.home-layout-wrapper {
    width: 100%;
}

/* --- SECTION 2: DUAL GRID ABOUT MODULE --- */
.home-about-section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 8%;
    align-items: center;
}

.about-gallery-composite {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.composite-frame-main {
    position: relative;
    width: 65%;
    aspect-ratio: 4 / 5;
    background-color: var(--card-bg-grey);
}

.composite-frame-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.composite-frame-secondary {
    width: 40%;
    aspect-ratio: 2.55 / 5;
    background-color: var(--card-bg-grey);
    margin-top: 5px;
}

.composite-frame-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Stats Badge Element Overlay */
.floating-stats-badge {
    position: absolute;
    bottom: -35px;
    right: 15%;
    background-color: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 25px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 180px;
}

.badge-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 2px;
}

.badge-lbl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark-charcoal);
}

.badge-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
}

.about-narrative-block {
    display: flex;
    flex-direction: column;
}

.section-context-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.narrative-display-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    color: var(--dark-charcoal);
    line-height: 1.2;
    margin-bottom: 25px;
}

.narrative-body-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 35px;
}

.btn-dark-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #000000;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 32px;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.btn-dark-arrow:hover {
    background-color: var(--primary-orange);
}

.arrow-inline {
    font-size: 10px;
}

/* --- SECTION 3: EDITORIAL STUDIO MISSION --- */
.editorial-mission-container {
    padding: 100px 8%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mission-intro-block {
    margin-bottom: 75px;
}

.mission-tag-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-orange);
    margin-bottom: 25px;
}

.mission-large-statement {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.8vw, 42px);
    font-weight: 400;
    color: var(--dark-charcoal);
    line-height: 1.4;
    max-width: 980px;
    margin: 0 auto;
}

.mission-large-statement .accent-italic-text {
    font-style: italic;
    color: var(--primary-orange);
}

.mission-pillars-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.pillar-card {
    display: flex;
    flex-direction: column;
}

.p-card-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.p-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark-charcoal);
    margin-bottom: 15px;
}

.p-card-desc {
    font-size: 13.5px;
    color: var(--text-light);
    text-align: justify;
    line-height: 1.6;
}

/* --- SECTION 4: ALTERNATING INTERACTIVE SERVICES PANEL ROWS --- */
.alternating-services-wrapper {
    padding: 120px 8% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-center-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-tag {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: 1px;
}

.services-rows-stack {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.service-row-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
}

.service-text-pane {
    display: flex;
    flex-direction: column;
}

.service-row-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.service-row-prose {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

.service-image-pane {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--card-bg-grey);
    overflow: hidden;
}

.service-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-row-item:hover .service-image-pane img {
    transform: scale(1.03);
}

/* Modifier Rule to flip columns dynamically */
.row-reverse-layout {
    direction: rtl;
}

.row-reverse-layout .service-text-pane,
.row-reverse-layout .service-image-pane {
    direction: ltr; 
}

/* --- SECTION 5: FEEDBACK FORM INTAKE GRID --- */
.feedback-form-section {
    background-color: var(--primary-bg);
    padding: 100px 8%;
}

.feedback-inner-container {
    max-width: 850px;
    margin: 0 auto;
}

.feedback-section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.feedback-html-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-dual-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-input-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-text-input,
.form-textarea-input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--dark-charcoal);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark-charcoal);
    padding: 12px 4px;
    outline: none;
    transition: border-color 0.3s;
}

.form-text-input:focus,
.form-textarea-input:focus {
    border-bottom-color: var(--primary-orange);
}

.form-textarea-input {
    resize: none;
}

/* Interactive Star Component CSS Rules */
.star-rating-row-wrapper {
    display: flex;
    margin-top: 10px;
}

.interactive-star-pool {
    display: flex;
    gap: 8px;
}

.custom-star-node {
    font-size: 20px;
    color: var(--primary-orange);
    cursor: pointer;
    transition: transform 0.2s;
}

.custom-star-node:hover {
    transform: scale(1.15);
}

.form-submit-block-btn {
    width: 100%;
    background-color: #000000;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 20px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.form-submit-block-btn:hover {
    background-color: var(--primary-orange);
}

/* --- GLOBAL FOOTER PARAMS --- */
.footer {
    background-color: var(--primary-bg);
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.logo-text-red {
    font-family: var(--font-heading);
    color: var(--accent-red);
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.link-group h4 {
    font-size: 0.85rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* --- MEDIA BREAKPOINT RESPONSIVENESS ENGINE --- */
@media screen and (max-width: 992px) {
    .hero-banner {
        padding: 0 5%;
    }
    
    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about-gallery-composite {
        justify-content: center;
    }

    .mission-pillars-subgrid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-row-item,
    .service-row-item.row-reverse-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr !important; 
    }
    
    .service-row-item .service-text-pane,
    .service-row-item .service-image-pane {
        direction: ltr !important;
    }

    .service-image-pane {
        order: 2; /* Ensures the image always drops below text on tablets/mobile */
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        font-size: 24px; 
        cursor: pointer;
        color: var(--dark-charcoal);
        background: transparent;
        border: none;
        padding: 0;
    }

    .nav-links {
        position: fixed;
        top: -100vh; 
        left: 0;
        width: 100%; 
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        gap: 30px;
        
        background: rgba(255, 255, 255, 0.82); 
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
        
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        transform: translateY(0);
    }
    
    .nav-links.slide-active {
        top: 79px; 
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px; 
        display: inline-block;
        color: var(--dark-charcoal);
    }
    
    .nav-links a.active {
        color: var(--primary-orange);
    }

    .nav-links a::after {
        display: none !important;
    }

    .hero-banner {
        margin-top: 79px;
        height: 80vh;
    }

    .hero-overlay-image::after {
        background: rgba(255, 255, 255, 0.65);
    }

    .form-dual-inputs {
        grid-template-columns: 1fr;
    }

    .footer-content, 
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 580px) {
    .about-gallery-composite {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .composite-frame-main {
        width: 100%;
    }

    .composite-frame-secondary {
        display: none; /* Hides mini visual frame on very small viewports to retain clean vertical grids */
    }

    .floating-stats-badge {
        right: 5%;
        left: 5%;
        bottom: -45px;
        flex-direction: row;
        justify-content: space-around;
        padding: 15px 10px;
    }
    
    .badge-divider {
        width: 1px;
        height: 35px;
    }

    .home-about-section {
        padding: 100px 5% 60px;
    }
}