/* ==========================================================================
   HOME PAGE REDESIGN � CINEMATIC LUXURY
   ========================================================================== */

/* Variables specifically for the redesign to ensure consistency */
:root {
    --hr-red: #6B1421; /* Deep cinematic red */
    --hr-red-bright: #9b1b1e; /* Accent red */
    --hr-ivory: #F8F6F1; /* Off-white */
    --hr-black: #0a0a0a; /* True matte black */
    --hr-gray: #1a1a1a; /* Lighter black for panels */
    --hr-border: 2px solid var(--hr-black);
    --hr-border-light: 1px solid rgba(248, 246, 241, 0.1);
    --hr-font-serif: 'Playfair Display', serif;
    --hr-font-sans: 'Inter', sans-serif;
    --hr-ease: cubic-bezier(0.85, 0, 0.15, 1);
}

/* Global Section Reset */
.hr-section {
    position: relative;
    width: 100%;
    background-color: var(--hr-ivory);
    color: var(--hr-black);
    overflow: hidden;
    padding: 8rem 0;
}

.hr-section.dark {
    background-color: var(--hr-black);
    color: var(--hr-ivory);
}

.hr-section.red {
    background-color: var(--hr-red);
    color: var(--hr-ivory);
}

.hr-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4vw;
}

.hr-massive-heading {
    font-family: var(--hr-font-serif);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* Typography Utilities */
.hr-text-center { text-align: center; }
.hr-tag {
    font-family: var(--hr-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    border: 1px solid currentColor;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* 1. Featured Brands Section */
.hr-brands-section {
    background-color: var(--hr-ivory);
    border-top: var(--hr-border);
}

.hr-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hr-brand-card {
    position: relative;
    border: var(--hr-border);
    border-radius: 24px;
    overflow: hidden;
    background: var(--hr-black);
    color: var(--hr-ivory);
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.8s var(--hr-ease);
}

.hr-brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.8s var(--hr-ease), transform 1.2s var(--hr-ease);
}

.hr-brand-card:hover {
    transform: translateY(-10px);
}

.hr-brand-card:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.hr-brand-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
}

.hr-brand-content h3 {
    font-family: var(--hr-font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hr-brand-content p {
    font-family: var(--hr-font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* 2. Cinematic Studio Philosophy */
.hr-philosophy-section {
    background-color: var(--hr-black);
    color: var(--hr-ivory);
}

.hr-phil-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4vw;
    align-items: center;
}

.hr-phil-heading {
    font-family: var(--hr-font-serif);
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

.hr-phil-body {
    font-family: var(--hr-font-sans);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.5;
    max-width: 80%;
    color: rgba(248, 246, 241, 0.8);
}

.hr-phil-image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.hr-phil-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* 3. Luxury Services Showcase */
.hr-services-section {
    background-color: var(--hr-ivory);
}

.hr-services-header {
    margin-bottom: 5rem;
    border-bottom: var(--hr-border);
    padding-bottom: 2rem;
}

.hr-services-list {
    display: flex;
    flex-direction: column;
}

.hr-service-item {
    display: grid;
    grid-template-columns: 100px 1fr 60px;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.2);
    cursor: pointer;
    transition: all 0.5s var(--hr-ease);
}

.hr-service-item:hover {
    padding-left: 2rem;
    background-color: rgba(107, 20, 33, 0.03);
}

.hr-service-num {
    font-family: var(--hr-font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--hr-red);
}

.hr-service-title {
    font-family: var(--hr-font-serif);
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: uppercase;
}

.hr-service-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--hr-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s var(--hr-ease), background 0.5s var(--hr-ease), color 0.5s var(--hr-ease);
}

.hr-service-item:hover .hr-service-icon {
    transform: rotate(-45deg);
    background-color: var(--hr-black);
    color: var(--hr-ivory);
}

/* 4. Editorial Portfolio Preview */
.hr-portfolio-section {
    background-color: var(--hr-ivory);
}

.hr-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 2rem;
}

.hr-pf-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: var(--hr-border);
}

.hr-pf-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--hr-ease);
}

.hr-pf-card:hover img {
    transform: scale(1.05);
}

.hr-pf-large {
    grid-column: span 8;
    aspect-ratio: 16/9;
}

.hr-pf-tall {
    grid-column: span 4;
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.hr-pf-small {
    grid-column: span 8;
    aspect-ratio: 21/9;
}

/* 5. Cinematic Motion/Video Section */
.hr-video-section {
    padding: 0;
    height: 100vh;
    background: var(--hr-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hr-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hr-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5vw;
    background: linear-gradient(rgba(10,10,10,0.2), rgba(10,10,10,0.8));
}

.hr-video-text {
    font-family: var(--hr-font-serif);
    font-size: clamp(3rem, 10vw, 10rem);
    color: var(--hr-ivory);
    text-transform: uppercase;
    white-space: nowrap;
    mix-blend-mode: overlay;
    opacity: 0.9;
}

/* 6. Creative Process Timeline */
.hr-process-section {
    background-color: var(--hr-ivory);
}

.hr-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: var(--hr-border);
    padding-top: 4rem;
}

.hr-process-step {
    padding-right: 2rem;
}

.hr-step-num {
    font-family: var(--hr-font-serif);
    font-size: 3rem;
    color: var(--hr-red);
    margin-bottom: 1rem;
}

.hr-process-step h3 {
    font-family: var(--hr-font-sans);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hr-process-step p {
    font-family: var(--hr-font-sans);
    font-size: 1rem;
    opacity: 0.7;
}

/* 7. Featured Campaign Showcase */
.hr-campaign-section {
    background-color: var(--hr-black);
    color: var(--hr-ivory);
}

.hr-campaign-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hr-campaign-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(248, 246, 241, 0.2);
}

.hr-campaign-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hr-campaign-title {
    font-family: var(--hr-font-serif);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    margin: 1.5rem 0 3rem;
}

.hr-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background-color: var(--hr-ivory);
    color: var(--hr-black);
    font-family: var(--hr-font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.hr-btn:hover {
    background-color: var(--hr-red);
    color: var(--hr-ivory);
}

/* 8. Interactive Modular Grid */
.hr-modular-section {
    background-color: var(--hr-ivory);
}

.hr-modular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 400px;
    gap: 2rem;
}

.hr-mod-card {
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: var(--hr-border);
}

.hr-mod-dark { background-color: var(--hr-black); color: var(--hr-ivory); }
.hr-mod-red { background-color: var(--hr-red); color: var(--hr-ivory); border-color: var(--hr-red); }
.hr-mod-image { padding: 0; overflow: hidden; }
.hr-mod-image img { width: 100%; height: 100%; object-fit: cover; }
.hr-mod-text { background-color: var(--hr-ivory); justify-content: center; }

.hr-mod-card h3 {
    font-family: var(--hr-font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hr-mod-text p {
    font-family: var(--hr-font-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.3;
}

/* 9. Premium CTA Section */
.hr-cta-section {
    background-color: var(--hr-red);
    color: var(--hr-ivory);
    text-align: center;
    padding: 12rem 0;
}

.hr-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hr-cta-heading {
    margin-bottom: 3rem;
}

.hr-cta-btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background-color: var(--hr-ivory);
    color: var(--hr-red);
    font-family: var(--hr-font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.4s var(--hr-ease), box-shadow 0.4s var(--hr-ease);
}

.hr-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* 10. Cinematic Footer */
.hr-footer-section {
    background-color: var(--hr-black);
    color: var(--hr-ivory);
    padding: 6rem 0 2rem;
}

.hr-footer-top {
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}

.hr-footer-logo {
    font-family: var(--hr-font-serif);
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.8;
    letter-spacing: -0.02em;
    margin: 0;
}

.hr-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.hr-footer-col h4 {
    font-family: var(--hr-font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(248, 246, 241, 0.5);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hr-footer-col a, .hr-footer-col p {
    display: block;
    color: var(--hr-ivory);
    font-family: var(--hr-font-sans);
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.hr-footer-col a:hover {
    color: var(--hr-red);
}

.hr-footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(248, 246, 241, 0.1);
    padding-top: 2rem;
    font-family: var(--hr-font-sans);
    font-size: 0.9rem;
    color: rgba(248, 246, 241, 0.5);
}

/* GSAP Animation Defaults */
.hr-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hr-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-phil-grid { grid-template-columns: 1fr; }
    .hr-process-timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .hr-campaign-container { grid-template-columns: 1fr; }
    .hr-modular-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
    .hr-section { padding: clamp(80px, 12vh, 120px) 0; }
    .hr-container { padding: 0 clamp(20px, 5vw, 24px); }
    .hr-massive-heading { font-size: clamp(2.5rem, 8vw, 3.5rem); margin-bottom: 2rem; }
    .hr-phil-heading { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hr-phil-body { font-size: 1rem; max-width: 100%; }
    .hr-brands-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hr-brand-card { aspect-ratio: 4/5; }
    .hr-brand-content { padding: 1.5rem; }
    .hr-brand-content h3 { font-size: 1.8rem; }
    .hr-portfolio-grid { display: flex; flex-direction: column; gap: 1rem; }
    .hr-pf-card { aspect-ratio: 4/5; width: 100%; }
    .hr-process-timeline { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
    .hr-process-step { padding-right: 0; }
    .hr-modular-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 1rem; }
    .hr-mod-card { min-height: 400px; padding: 2rem; }
    .hr-mod-card h3 { font-size: 1.8rem; }
    .hr-mod-text p { font-size: 1.4rem; }

    /* Footer mobile fixes */
    .hr-footer-section { padding: 4rem 0 2rem; }
    .hr-footer-top { padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
    .hr-footer-logo { font-size: clamp(3rem, 18vw, 5rem); }
    .hr-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
        margin-bottom: 3rem;
    }
    .hr-footer-col a, .hr-footer-col p { font-size: 0.95rem; }
    .hr-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* 9. Premium Contact Section */
.hr-contact-section {
    background-color: var(--hr-red);
    color: var(--hr-ivory);
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
}


.hr-contact-container {
    position: relative;
    z-index: 1;
}

.hr-contact-header {
    margin-bottom: 6rem;
}

.hr-contact-massive-title {
    font-family: var(--hr-font-serif);
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hr-contact-massive-title .d-block {
    display: block;
}

.hr-contact-subtext {
    font-family: var(--hr-font-sans);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 600px;
    color: rgba(248, 246, 241, 0.7);
    line-height: 1.5;
}

.hr-contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
}

.hr-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hr-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hr-input-group label {
    font-family: var(--hr-font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 246, 241, 0.5);
}

.hr-input-group input,
.hr-input-group textarea {
    background: rgba(248, 246, 241, 0.03);
    border: 1px solid rgba(248, 246, 241, 0.1);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    font-family: var(--hr-font-sans);
    font-size: 1.1rem;
    color: var(--hr-ivory);
    transition: all 0.4s var(--hr-ease);
}

.hr-input-group input:focus,
.hr-input-group textarea:focus {
    outline: none;
    border-color: rgba(248, 246, 241, 0.5);
    background: rgba(248, 246, 241, 0.06);
}

.hr-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background-color: var(--hr-black);
    color: var(--hr-ivory);
    border: none;
    border-radius: 100px;
    font-family: var(--hr-font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.4s var(--hr-ease), background-color 0.4s var(--hr-ease), color 0.4s var(--hr-ease);
    margin-top: 1rem;
    width: max-content;
}

.hr-submit-btn:hover {
    transform: translateY(-4px);
    background-color: var(--hr-ivory);
    color: var(--hr-black);
}

.hr-submit-btn .btn-icon {
    width: 24px;
    height: 24px;
    margin-left: 1.5rem;
    transition: transform 0.4s var(--hr-ease);
}

.hr-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.hr-contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-left: 4rem;
    border-left: 1px solid rgba(248, 246, 241, 0.1);
}

.hr-info-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hr-info-label {
    font-family: var(--hr-font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 246, 241, 0.4);
}

.hr-info-value {
    font-family: var(--hr-font-serif);
    font-size: 1.8rem;
    color: var(--hr-ivory);
    line-height: 1.3;
}

.hr-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hr-social-link {
    font-family: var(--hr-font-sans);
    font-size: 1.1rem;
    color: var(--hr-ivory);
    text-decoration: none;
    position: relative;
    width: max-content;
    display: inline-block;
}

.hr-social-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background-color: var(--hr-ivory);
    transition: width 0.4s var(--hr-ease);
}

.hr-social-link:hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .hr-contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hr-contact-info-side {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(248, 246, 241, 0.1);
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .hr-form-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* Override for Form Inputs */
.hr-input-group input,
.hr-input-group textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--hr-ivory) !important;
}

.hr-input-group input:focus,
.hr-input-group textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hr-input-group input::placeholder,
.hr-input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}




/* ==========================================================================
   INDUSTRIAL CATALOG SECTION (Rebuild 3 - Exact Reference Match)
   ========================================================================== */
.industrial-catalog-section {
    background-color: #0f0f0f;
    padding: 9px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    overflow: hidden;          /* Prevent horizontal bleed on mobile */
    width: 100%;
    max-width: 100vw;
}

.ic-grid-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 60px 1.2fr 0.8fr 1.3fr;
    grid-auto-rows: minmax(10px, auto);
    background-color: #111;    /* Same dark grid line color as hero gap */
    gap: 3px;                  /* Exact match to hero gap: 3px */
    border-radius: 20px;       /* Exact match to hero container border-radius */
    border: 1px solid #111;
    overflow: hidden;          /* Clips children to the rounded corners */
    box-shadow:
        0 32px 96px rgba(0, 0, 0, 0.26),
        0 4px 18px rgba(0, 0, 0, 0.12); /* Same shadow as hero container */
}

/* Panel Base */
.ic-panel {
    background-color: #e3e1da;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

/* 1. Sidebar */
.ic-sidebar {
    grid-column: 1 / 2;
    grid-row: 1 / 7;
    background-color: #cfcdc5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0; /* More vertical breathing room */
}
.ic-vertical-wrapper {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--hr-font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #111;
    text-transform: uppercase;
}

.ic-vert-lines {
    display: flex;
    gap: 3px;
}

.ic-line {
    width: 1px; height: 10px; background-color: #111; opacity: 0.4;
}

/* Grid Placement */
.ic-r1-left { grid-column: 2 / 3; grid-row: 1 / 3; min-height: 550px; }
.ic-r1-right { grid-column: 3 / 5; grid-row: 1 / 2; min-height: 350px; }

.ic-r2-mid { grid-column: 3 / 4; grid-row: 2 / 3; min-height: 350px; }
.ic-r2-right { grid-column: 4 / 5; grid-row: 2 / 3; min-height: 350px; }

.ic-r3-left { grid-column: 2 / 3; grid-row: 3 / 4; min-height: 500px; }
.ic-r3-mid { grid-column: 3 / 4; grid-row: 3 / 4; min-height: 500px; }
.ic-r3-right { grid-column: 4 / 5; grid-row: 3 / 4; min-height: 500px; }

.ic-r4-left { grid-column: 2 / 4; grid-row: 4 / 5; min-height: 400px; }
.ic-r4-right { grid-column: 4 / 5; grid-row: 4 / 5; min-height: 400px; }

.ic-r5-left-top { grid-column: 2 / 3; grid-row: 5 / 6; min-height: 250px; }
.ic-r5-left-bot { grid-column: 2 / 3; grid-row: 6 / 7; min-height: 250px; }
.ic-r5-right { grid-column: 3 / 5; grid-row: 5 / 7; min-height: 500px; }

/* Headers / Tiny Labels */
.ic-panel-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    z-index: 10;
}
.ic-panel-header.right { justify-content: flex-end; }

.ic-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    border: 1px solid #111;
}

.ic-tiny-label {
    font-family: var(--hr-font-sans);
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #111;
}

/* Content Styles */
.ic-content {
    padding: clamp(1.4rem, 3.5vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
}

.ic-content.top { justify-content: flex-start; }
.ic-content.bottom { justify-content: flex-end; }
.ic-content.center { align-items: center; text-align: center; }

.ic-headline {
    font-family: var(--hr-font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #111;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ic-headline-xl {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.ic-headline-sm {
    font-family: var(--hr-font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: #111;
    text-transform: uppercase;
}

.ic-subtext {
    font-family: var(--hr-font-sans);
    font-size: 0.7rem;
    color: rgba(17,17,17,0.8);
    line-height: 1.5;
    max-width: 90%;
}

.ic-tag {
    font-family: var(--hr-font-sans);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid #111;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.ic-link {
    font-family: var(--hr-font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    margin-top: 1rem;
    border-bottom: 1px solid #111;
    padding-bottom: 0.1rem;
    display: inline-block;
    transition: opacity 0.3s;
}
.ic-link:hover { opacity: 0.6; }

/* Images */
.ic-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ic-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.1);
    transition: transform 1.5s cubic-bezier(0.85, 0, 0.15, 1);
}

.ic-panel:hover .ic-img {
    transform: scale(1.05);
}

.zoom-heavy { transform: scale(1.4); }
.ic-panel:hover .zoom-heavy { transform: scale(1.45); }

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO PAGE — MOBILE ALTERNATING EDITORIAL LAYOUT SYSTEM
   992px: sidebar hide + section padding only
══════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .industrial-catalog-section {
        padding: clamp(80px, 12vh, 120px) 14px 60px;
    }
    .ic-sidebar { display: none; }
    .ic-headline-xl { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1; }
    .ic-headline    { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.05; }
    .intersection-btn { width: 80px; height: 80px; }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE EDITORIAL GRID — 768px and below
   grid-template-areas: deterministic explicit row+col per panel.
   No auto-flow. No flex conflicts. Every panel is pinned.
══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .industrial-catalog-section {
        padding: clamp(80px, 12vh, 120px) 10px 50px;
    }

    /* ── Root container: explicit 2-column grid ──────── */
    .ic-grid-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: 5px;
        border-radius: 14px;
        background-color: #111;
    }

    /* Default: all panels full-width */
    .ic-panel {
        grid-column: 1 / -1;
        min-height: unset !important;
        border-radius: 0;
    }

    .ic-sidebar { display: none !important; }

    /* ═══════════════════════════════════════════════
       BLOCK 1: +33 PARIS
       Row 1: [     BIG IMAGE — full width      ]
       Row 2: [   CONTENT CARD — full width     ]
    ═══════════════════════════════════════════════ */
    .ic-r1-left {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 60vw;
        max-height: 340px;
        min-height: 200px;
    }
    .ic-r1-right {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 200px;
        height: auto;
    }
    .ic-r1-right .ic-content {
        align-items: flex-start;
        text-align: left;
        padding: 2rem 1.6rem;
    }

    /* ═══════════════════════════════════════════════
       BLOCK 2: THEORY OF BLOOM — 2-col asymmetric
       Row 3: [ ACCENT (narrow) | BIG IMAGE     ]
    ═══════════════════════════════════════════════ */
    .ic-r2-mid {
        grid-column: 1 / 2;
        grid-row: 3;
        height: 54vw;
        max-height: 260px;
        min-height: 160px;
    }
    .ic-r2-right {
        grid-column: 2 / 3;
        grid-row: 3;
        height: 54vw;
        max-height: 260px;
        min-height: 160px;
    }

    /* ═══════════════════════════════════════════════
       BLOCK 3: BLOOM REVERSED — 2-col asymmetric
       Row 4: [ IMAGE (bigger)  | accent narrow ]  REVERSED
       Row 5: [   CONTENT CARD — full width     ]
    ═══════════════════════════════════════════════ */
    .ic-r3-left {
        grid-column: 1 / 2;
        grid-row: 4;
        height: 48vw;
        max-height: 240px;
        min-height: 140px;
    }
    .ic-r3-mid {
        grid-column: 2 / 3;
        grid-row: 4;
        height: 48vw;
        max-height: 240px;
        min-height: 140px;
    }
    .ic-r3-right {
        grid-column: 1 / -1;
        grid-row: 5;
        min-height: 150px;
        height: auto;
    }
    .ic-r3-right .ic-content {
        align-items: flex-start;
        text-align: left;
        padding: 1.8rem 1.6rem;
    }

    /* ═══════════════════════════════════════════════
       BLOCK 4: TRULY BARE — mirrors Block 1
       Row 6: [    BIG IMAGE — full width        ]
       Row 7: [  CONTENT CARD — full width       ]
    ═══════════════════════════════════════════════ */
    .ic-r4-left {
        grid-column: 1 / -1;
        grid-row: 6;
        height: 58vw;
        max-height: 320px;
        min-height: 200px;
    }
    .ic-r4-right {
        grid-column: 1 / -1;
        grid-row: 7;
        min-height: 160px;
        height: auto;
    }
    .ic-r4-right .ic-content {
        align-items: flex-start;
        text-align: left;
        padding: 1.8rem 1.6rem;
    }

    /* ═══════════════════════════════════════════════
       BLOCK 5: STUDIO MANIFESTO / CTA
       Row 8: [ SUBSCRIBE  |  TEXTURE IMAGE      ]  2-col
       Row 9: [   MANIFESTO — full width, tall   ]
    ═══════════════════════════════════════════════ */
    .ic-r5-left-top {
        grid-column: 1 / 2;
        grid-row: 8;
        min-height: 120px;
        height: auto;
    }
    .ic-r5-left-bot {
        grid-column: 2 / 3;
        grid-row: 8;
        height: 32vw;
        max-height: 170px;
        min-height: 120px;
    }
    .ic-r5-right {
        grid-column: 1 / -1;
        grid-row: 9;
        height: 72vw;
        max-height: 400px;
        min-height: 260px;
    }

    /* Reset zoom-heavy scale on mobile — prevents image overflow/crop */
    .zoom-heavy { transform: scale(1.0) !important; }
    .ic-panel:hover .zoom-heavy { transform: scale(1.02) !important; }

    /* ── TYPOGRAPHY ─────────────────────────────── */
    .ic-headline-xl {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        line-height: 1;
        letter-spacing: -0.02em;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .ic-headline {
        font-size: clamp(1.7rem, 8.5vw, 2.4rem);
        line-height: 1.05;
    }
    .ic-headline-sm { font-size: 0.72rem; letter-spacing: 0.08em; }
    .ic-subtext {
        font-size: 0.78rem;
        line-height: 1.6;
        max-width: 100%;
        width: 100%;
        opacity: 0.85;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .ic-tag  { font-size: 0.5rem; padding: 0.18rem 0.45rem; }
    .ic-link { font-size: 0.6rem; letter-spacing: 0.18em; }
    .ic-content      { padding: 1.6rem 1.4rem; }
    .ic-panel-header { padding: 0.9rem 1.2rem; }

    .intersection-btn {
        width: 64px;
        height: 64px;
        /* Prevent overflow — button must not exceed panel width */
        max-width: 90%;
        flex-shrink: 0;
    }
    .intersection-btn:active {
        transform: scale(0.88);
        transition: transform 0.15s ease;
    }
}

/* ── Extra-small phones (390px and below) ───────────────────── */
@media (max-width: 390px) {
    .industrial-catalog-section { padding-top: 80px; padding-inline: 6px; }
    .ic-headline-xl { font-size: 8.5vw; letter-spacing: -0.01em; }
    .ic-headline    { font-size: 7vw; }
    .ic-r1-left     { height: 65vw; max-height: 260px; }
    .ic-r4-left     { height: 62vw; max-height: 250px; }
    .ic-r5-right    { height: 74vw; max-height: 320px; }
    .ic-content     { padding: 1.1rem 1rem; }
    .ic-r2-mid, .ic-r2-right,
    .ic-r3-left, .ic-r3-mid { height: 46vw; }
}
