/* ==========================================================================
   About Page Cinematic Redesign Styles (Castle Man Studio)
   ========================================================================== */

/* 0. Section Base Reset for About Page to Clamp Excessive Vertical Gaps */
.about-hero-section,
.about-origin-section,
.about-philosophy-section,
.about-operations-section,
.about-vision-section,
.about-architect-section,
.about-cta-section {
    min-height: auto !important;
    display: block !important;
    padding: 3rem 0 !important; /* ~48px, clamping desktop spacing to 3 padding units */
    position: relative;
    z-index: 5;
}

/* 1. About Hero Section */
.about-hero-section {
    padding: 6.5rem 0 2rem 0 !important; /* Proper clearance below fixed header without massive empty field */
    text-align: center;
}

.about-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(201, 169, 109, 0.1);
    border: 1px solid rgba(201, 169, 109, 0.35);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}

.about-eyebrow-badge span {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: #ffffff;
    font-weight: 700;
}

.about-hero-title {
    font-size: clamp(2.3rem, 4.8vw, 3.8rem);
    letter-spacing: 0.1em;
    line-height: 1.16;
    margin-bottom: 1.4rem;
    color: #ffffff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.about-manifesto-subtext {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: 0 auto;
}

/* 2. Section 2: Origin Lore (2-Column Grid) */
.about-origin-section {
    padding: 3.5rem 0 !important;
    position: relative;
    z-index: 5;
}

.origin-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.origin-story-content h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.origin-story-content p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.2rem;
}

.creed-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2.8rem 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

.creed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.8), transparent);
}

.creed-card h3 {
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    color: #ffffff;
    margin-bottom: 1.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.creed-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.creed-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.creed-bullet {
    color: #c9a96d;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.creed-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.creed-text strong {
    color: #ffffff;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.2rem;
}

/* 3. Section 3: Craftsmanship & Spatial Philosophy */
.about-philosophy-section {
    padding: 3.5rem 0 !important;
    position: relative;
    z-index: 5;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.philosophy-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    background: #1C1F26;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.philosophy-step-num {
    font-size: 2.2rem;
    color: #c9a96d;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.philosophy-card-title {
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.philosophy-card-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* 4. Section 4: The Dual Forge */
.about-operations-section {
    padding: 3.5rem 0 !important;
    position: relative;
    z-index: 5;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.operation-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2.8rem 2.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.operation-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    background: #1C1F26;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

.operation-card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.operation-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a96d;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.operation-title {
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.operation-focus {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
}

.operation-items-title {
    font-size: 0.82rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a96d;
    margin-bottom: 1rem;
}

.operation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.operation-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.operation-list li strong {
    color: #ffffff;
}

/* 5. Section 5: The Long Horizon Vision Panel */
.about-vision-section {
    padding: 3.5rem 0 !important;
    position: relative;
    z-index: 5;
}

.vision-panel {
    background: radial-gradient(circle at 50% 30%, rgba(201, 169, 109, 0.08) 0%, #16181D 70%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    max-width: 1050px;
    margin: 0 auto;
}

.vision-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.9), transparent);
}

.vision-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 1.8rem;
    line-height: 1.25;
}

.vision-desc {
    font-size: 1.12rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    max-width: 860px;
    margin: 0 auto 1.4rem auto;
}

/* 6. Section 6: Grand Architect Leadership Spotlight */
.about-architect-section {
    padding: 3.5rem 0 !important;
    position: relative;
    z-index: 5;
}

.architect-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 3.5rem;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}

.architect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.8), transparent);
}

.architect-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.architect-name {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: 0.18em;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.architect-title {
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a96d;
    font-weight: 600;
}

.architect-bio {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* 7. Section 7: Call to Arms CTA */
.about-cta-section {
    padding: 2.5rem 0 3rem 0 !important;
    position: relative;
    z-index: 5;
}

.about-cta-card {
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.about-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 109, 0.8), transparent);
}

.about-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about-cta-subtext {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin: 0 auto 2.5rem auto;
}

.about-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .origin-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .operations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 8.5rem 0 2.5rem 0 !important;
    }
    .architect-card,
    .vision-panel,
    .about-cta-card {
        padding: 2.5rem 1.6rem;
    }
    .about-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .about-cta-buttons .btn-anamorphic {
        width: 100%;
        text-align: center;
    }
}

