/* =============================================================
   MERIDIAN CINEMATIC BLACK THEME - MODERN MINIMAL EDITORIAL
   Canvas: Black (#07080A)
   Typography: White (#FFFFFF)
   Font Hierarchy:
   - Headings: Montserrat Bold
   - Subheadings, Highlight text, Stylized text: Playfair Display
   - Body and rest: Varela Round
   Highlighter System:
   - Red Highlighter Felt Stroke with Crisp White Text on Black Canvas (.marker-red, .marker-white, .accent-primary-highlighted)
   ============================================================= */

/* -------------------------------------------------------------
   1. HERO SECTION & ALIGNMENTS
   ------------------------------------------------------------- */
.section-hero {
    padding: 125px 0 95px;
    background-color: var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.hero-meta-strip {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.hero-meta-strip .mono-label {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hero-meta-strip .accent-secondary-highlighted {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.hero-headline {
    font-family: var(--font-heading) !important;
    font-size: clamp(3.2rem, 7.5vw, 6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-transform: lowercase !important;
    margin-bottom: 32px;
}

.hero-lead-text {
    font-family: var(--font-stylized);
    font-style: italic;
    font-size: clamp(1.22rem, 2.3vw, 1.6rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 820px;
    margin-bottom: 45px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 65px;
}

/* Metrics Grid - Perfect Equal Height & Baseline Alignment */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    overflow: hidden;
}

.metric-cell {
    padding: 36px 36px;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 155px;
    transition: background-color 0.3s;
}

.metric-cell:last-child {
    border-right: none;
}

.metric-cell:hover {
    background-color: var(--bg-card-hover);
}

.metric-number {
    font-family: var(--font-heading) !important;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    height: 52px;
}

.metric-number .accent-primary-highlighted,
.metric-number .marker-white,
.metric-number .accent-secondary-highlighted {
    font-family: var(--font-heading) !important;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.3em;
    border: none !important;
}

.metric-caption {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   2. ABOUT US PAGE EDITORIAL & HIGHLIGHTER SYSTEMS
   ------------------------------------------------------------- */
.about-hero-section {
    padding: 95px 0 75px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.about-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-subtle);
}

.about-main-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-transform: lowercase !important;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Editorial Belief Box with Highlighter Effect */
.editorial-belief-box {
    border-left: 3px solid var(--accent-red);
    padding: 16px 0 16px 35px;
    margin: 40px 0 50px;
    background: linear-gradient(90deg, rgba(255, 42, 42, 0.04) 0%, transparent 100%);
}

.belief-statement {
    font-family: var(--font-stylized);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.45;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}

.belief-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

/* Built on Experience (Founder & Heritage) */
.section-experience {
    padding: 95px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.experience-left h2 {
    font-family: var(--font-stylized) !important;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    line-height: 1.18;
    margin-bottom: 18px;
    text-transform: none !important;
}

.experience-right p {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 22px;
}

.founder-callout-quote {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-red);
    padding: 30px 32px;
    margin: 35px 0;
    font-family: var(--font-stylized);
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.55;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s var(--ease-spring);
}

.founder-callout-quote:hover {
    transform: translateX(6px);
}

/* Three Perspectives (Team Cards - Equal Height Perfection) */
.section-perspectives {
    padding: 95px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.perspectives-header {
    margin-bottom: 55px;
}

.perspectives-header h2 {
    font-family: var(--font-stylized) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-bottom: 16px;
}

.perspectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.perspective-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 44px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    min-width: 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.4s, background-color 0.3s;
}

.perspective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), rgba(255, 42, 42, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

.perspective-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.perspective-card:hover::before {
    opacity: 1;
}

.perspective-num {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.perspective-card h3 {
    font-family: var(--font-stylized) !important;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: none !important;
}

.perspective-role-badge {
    margin-bottom: 24px;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.perspective-bio {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.perspective-bio p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.perspective-bio p:last-child {
    margin-bottom: 0;
}

.perspective-quote {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-stylized);
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    display: block;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

/* What We Do & Philosophy Split Grid */
.section-manifesto {
    padding: 95px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.manifesto-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.manifesto-panel-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 50px 42px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: border-color 0.3s;
}

.manifesto-panel-dark:hover {
    border-color: var(--border-hover);
}

.manifesto-panel-highlight {
    background: linear-gradient(145deg, #12141a, #0a0b0f);
    border: 1px solid rgba(255, 42, 42, 0.3);
    padding: 50px 42px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.manifesto-panel-dark h3,
.manifesto-panel-highlight h3 {
    font-family: var(--font-stylized) !important;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
    text-transform: none !important;
}

.manifesto-panel-dark p,
.manifesto-panel-highlight p {
    font-family: var(--font-body);
}

.manifesto-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
}

.manifesto-tag-list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 6px 16px;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
    transition: all 0.2s;
}

.manifesto-tag-list li:hover {
    border-color: var(--accent-red);
    color: #ffffff;
    background: rgba(255, 42, 42, 0.12);
}

.philosophy-punchline {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.punchline-sub {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.punchline-main {
    font-family: var(--font-stylized);
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Signature Ending */
.section-signature {
    padding: 95px 0;
    text-align: center;
}

.signature-brand-img {
    max-height: 38px !important;
    height: 38px !important;
    width: auto !important;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.signature-tagline {
    font-family: var(--font-stylized);
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* -------------------------------------------------------------
   3. PORTFOLIO GRID (OUR WORK)
   ------------------------------------------------------------- */
.portfolio-header {
    padding: 95px 0 55px;
    border-bottom: 1px solid var(--border-subtle);
}

.portfolio-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.filter-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 9px 20px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s var(--ease-smooth);
}

.filter-tab:hover,
.filter-tab.active {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Section Title Row with Alignments */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    padding: 55px 0;
}

.project-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.4s;
}

.project-item > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.project-item:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.project-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    background-color: var(--bg-surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-cinematic);
}

.project-item:hover .project-frame img {
    transform: scale(1.06);
}

.project-frame-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    gap: 12px;
    color: var(--text-muted);
    background: radial-gradient(circle, rgba(255, 42, 42, 0.05) 0%, rgba(14, 16, 20, 0.9) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.project-info-box {
    padding: 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.project-item-title {
    font-family: var(--font-stylized) !important;
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
    text-transform: none !important;
}

/* -------------------------------------------------------------
   4. CLIENTS & PARTNERS
   ------------------------------------------------------------- */
.clients-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 55px 0;
}

.client-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 38px 28px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 165px;
    transition: transform 0.3s var(--ease-spring), border-color 0.3s, background-color 0.3s;
}

.client-box:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
}

.client-box-index {
    margin-bottom: 12px;
}

.client-box-title {
    font-family: var(--font-stylized) !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.25;
    text-transform: none !important;
}

.client-box-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -------------------------------------------------------------
   5. CONTACT PAGE FORM
   ------------------------------------------------------------- */
.contact-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    padding: 60px 0;
    align-items: start;
}

.contact-left-panel,
.contact-right-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 48px 42px;
    border-radius: 4px;
}

.contact-meta-row {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-meta-item .label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.contact-meta-item .value {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

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

/* Minimal Form Controls */
.minimal-form .form-group {
    margin-bottom: 22px;
}

.minimal-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.minimal-form input,
.minimal-form select,
.minimal-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.2s var(--ease-smooth);
}

.minimal-form input:focus,
.minimal-form select:focus,
.minimal-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 16px var(--accent-red-glow);
}

.form-feedback {
    margin-bottom: 18px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border-radius: 4px;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.form-feedback.error {
    display: block;
    background-color: rgba(255, 42, 42, 0.15);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
}

/* -------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .perspectives-grid {
        grid-template-columns: 1fr;
    }
    .perspective-card {
        min-height: auto;
    }
    .manifesto-split-grid {
        grid-template-columns: 1fr;
    }
    .clients-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-editorial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-editorial-grid {
        grid-template-columns: 1fr;
    }
    .metrics-strip {
        grid-template-columns: 1fr;
    }
    .metric-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        min-height: auto;
    }
    .metric-cell:last-child {
        border-bottom: none;
    }
    .contact-left-panel,
    .contact-right-panel {
        padding: 35px 22px;
    }
}
