/* Inherit variables from homet.css (assuming homet.css is loaded first) */

/* ===== HERO SECTION ===== */
.about-hero-section {
    padding-top: 80px;
    padding-bottom: 0px;
}
    /* Significantly increases the gap only at the top of the Founder section */
    .about-hero-section + .content-block {
        padding-top: 200px; /* Adjust this value (e.g., 200px) to get the desired distance */
    }

.hero-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;

}

.page-title {
    font-family: var(--font-heading, 'Red Hat Display', sans-serif);
    font-size: var(--h1);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: var(--border-strong);
}

/* ===== GENERAL LAYOUTS ===== */
.content-block {
    padding: 80px 0;
}

.top-border {
    border-top: 1px solid var(--border);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 140px);
    align-items: flex-end;
}

/* Typography */
.section-tag {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading, 'Red Hat Display', sans-serif);
    font-size: var(--h2);
    margin: 0 0 40px 0;
    line-height: 1.2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers the button with the title */
    margin-bottom: 80px; /* Space between header and text-body */
    gap: 20px;
}

    /* Ensure the title itself doesn't have an conflicting bottom margin */
    .section-header .section-title {
        margin-bottom: 0;
    }

.text-body p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Founder Specifics */
.signature-block {
    margin-top: 40px;
    border-left: 2px solid var(--border-strong);
    padding-left: 20px;
}

.sig-name {
    font-family: var(--font-heading, 'Red Hat Display', serif);
    font-size: 20px;
    margin: 0;
}

.sig-role {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    margin: 5px 0 0 0;
}

/* Image Placeholders - Preserving structure for real images */
.placeholder-img {
    background: var(--panel);
    border: 1px var(--border-strong);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.portrait {
    aspect-ratio: 3.5 / 5;
    width: 100%;
}

.landscape {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.founder-image-container {
    position: relative;
    width: 100%;
    /* This height should match the height of your frame image */
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end; /* Aligns silhouette to the bottom of the container */
    overflow: visible !important;
}

.founder-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2; /* Frame is above the vector graphics */
}

.founder-silhouette {
    position: absolute;
    bottom: -18%; /* Aligned with the bottom of the frame */
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Adjust based on your silhouette's proportions */
    height: auto;
    z-index: 3; /* Silhouette is in front of the frame */
    /* This is the magic part: it allows the silhouette to go above the frame */
    /* You can adjust the scale or height to ensure it breaks the top border */
}

.text-side {
    position: relative; /* Needed to anchor the arrow */
}

.founder-decorator-arrow {
    position: absolute;
    left: 0;
    /* Adjust 'top' to align with the silhouette's head */
    /* If silhouette is -15% above the frame, -40px to -60px usually hits the mark */
    top: -120px;
    width: 25px; /* Adjust size as needed */
    height: auto;
    opacity: 0.9;
}

.mid-cta-content {
    text-align: center;
    max-width: 800px; /* Limits width to keep text readable when centered */
    margin: 0 auto; /* Centers the entire block within the container */
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures the button is centered horizontally */
}

    .mid-cta-content .section-title {
        margin-bottom: 24px;
        width: 90vw;
    }

    .mid-cta-content .cta-text {
        margin-bottom: 40px;
        font-size: var(--p-lg);
        line-height: 1.6;
    }

/* On mobile, the silhouette usually moves below or way above, 
   so we reset the arrow position to keep the layout clean */
@media (max-width: 900px) {
    .founder-decorator-arrow {
        position: static;
        display: block;
        margin-bottom: 20px;
    }
}

.vector-bg-layer {
    position: absolute;
    /* Center it behind the frame */
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; /* Make it larger than the frame so it bleeds out */
    height: auto;
    z-index: -1; /* Behind frame (z-index 2) and silhouette (z-index 3) */
    pointer-events: none; /* User can't click it */
}

.floating-vector {
    width: 100%;
    height: auto;
    opacity: 0.5; /* Adjust transparency to your liking */
    display: block;
}

.image-side {
    overflow: visible !important;
}
/* Ensure the layout doesn't clip the overflowing head on mobile */
@media (max-width: 900px) {
    .image-side {
        margin-top: 60px; /* Gives space for the head popping out the top */
        padding-top: 40px;
    }
}

/* Buttons: Transparent bg, white border, matches site bg */
.btn-transparent {
    background: var(--bg-color) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 50px;
    font-size: 12px;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
}

    .btn-transparent:hover {
        border-color: #fff !important;
        background: rgba(255,255,255,0.05) !important;
    }

    .btn-transparent img {
        height: 12px;
        width: auto;
    }

/* ===== MID CTA SECTION ===== */
.mid-cta-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mid-cta-content {
    max-width: 800px;
}

.cta-text {
    font-size: var(--p-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ===== TICKER ===== */
.ticker-section {
    padding: 60px 0;
    background: var(--panel);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.ticker-wrapper {
    width: 100%;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 80px;
    animation: scroll 25s linear infinite;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 24px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    filter: grayscale(100%) invert(1); /* Dark map effect */
    opacity: 0.8;
}

/* Update these specific blocks to fix the shrinking and color */

#footer {
    padding-top: 80px;
    background: var(--bg-color); /* Matches the rest of the site */
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social__btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0; /* Prevents icons from shrinking */
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .footer-social__btn img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .footer-social__btn:hover {
        background: var(--border-subtle);
        transform: translateY(-2px);
    }

/* ===== RESPONSIVE ===== */
@media(max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

        /* Reorder logic for stacking */
        .split-layout > .image-side {
            order: -1;
        }
    /* Image always top on mobile? OR remove to keep HTML order */

    .hero-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-content-layer {
        flex-direction: column;
        gap: 40px;
    }

    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================
   ABOUT PAGE � GOLD ACCENTS
========================= */

/* Hero title */
.about-hero-section .page-title {
    color: var(--accent-gold);
}

/* Middle CTA section title */
.mid-cta-section .section-title {
    color: var(--accent-gold);
}

/* Social icons (footer) */
.footer-social__btn img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(23%) saturate(555%) hue-rotate(355deg);
}
