/* ==========================================
   ABOUT US - EDITORIAL LAYOUT
   ========================================== */

.dark-theme-override {
    background-color: #050505;
    color: #ffffff;
}

.about-page-wrapper {
    background-color: #050505;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY UTILITIES --- */
.cursive-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
}

.gold-dot {
    color: #C89B3C;
}

.about-kicker {
    display: block;
    color: #C89B3C;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* --- SECTION 1: THE STAGGERED HERO --- */
.about-hero-section {
    position: relative;
    height: 100vh;
    /* Locks it to the screen height */
    min-height: 700px;
    /* Prevents squishing on small monitors */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10rem;
    /* Clears the navbar */
    overflow: hidden;
}

/* Stacked Massive Title - Now Anchored Bottom Left */
.massive-about-title {
    position: absolute;
    bottom: 8%;
    /* Easily adjust this to move it up or down */
    left: 5%;
    /* Easily adjust this to move it left or right */
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.title-row {
    font-size: clamp(2rem, 8vw, 10rem);
    line-height: 0.85;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.title-row-top {
    align-self: flex-start;
}

.title-row-bottom {
    align-self: flex-end;
    padding-right: 10%;
}

.title-divider {
    height: 2px;
    width: 150px;
    background-color: #C89B3C;
    margin: 1.5rem 0 1.5rem 20%;
}

/* --- THE 3 STAGGERED IMAGE SLICES --- */
.hero-slices-container {
    position: absolute;
    top: 12%;
    /* MASTER SLIDER: Increase to push all images DOWN, decrease to pull UP */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Keeps images behind the typography */
    pointer-events: none;
}

.hero-slice {
    position: absolute;
    width: 18%;
    /* Thinner slices to match the reference */
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.hero-slice img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2);
    transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slice:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

/* Precise Stagger Positioning to weave between text */
.slice-left {
    top: 12%;
    /* Tweak this to move ONLY the left image up or down */
    left: 32%;
    height: 50vh;
}

.slice-center {
    top: 5%;
    /* Tweak this to move ONLY the center image up or down */
    left: 52%;
    height: 75vh;
}

.slice-right {
    top: 15%;
    /* Tweak this to move ONLY the right image up or down */
    right: 10%;
    height: 55vh;
}

/* --- SECTION 1.5: THE BRAND STORY --- */
.brand-story-section {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
    background-color: #050505;
}

.story-container {
    display: flex;
    gap: 3rem;
    max-width: 900px;
    /* Keeps the line length comfortable for reading */
}

.story-anchor-line {
    width: 2px;
    background-color: #C89B3C;
    /* Matte Gold */
    flex-shrink: 0;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-content .lead-text {
    color: #ffffff;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.4;
    font-weight: 500;
}

.story-content p:not(.lead-text) {
    color: #A0A0A0;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Mobile Adjustment for Brand Story */
@media (max-width: 768px) {
    .story-container {
        gap: 1.5rem;
    }
}

/* --- SECTION 2: THE HORIZON KICKER --- */
.horizon-kicker-section {
    padding: 8rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.horizon-text-content {
    max-width: 800px;
    margin-bottom: 4rem;
}

.horizon-text-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 500;
}

.horizon-image-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 50vh;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.horizon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
}

/* --- SECTION 3 & 4: ASYMMETRICAL EDITORIAL BLOCKS --- */
.editorial-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 6rem;
}

.editorial-block.reverse {
    flex-direction: row-reverse;
}

.editorial-content {
    flex: 1;
}

/* The Connecting Heading Line */
.split-heading {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.editorial-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.heading-line {
    flex-grow: 1;
    flex-shrink: 0;
    /* THE FIX: Stops the text from crushing the line */
    min-width: 60px;
    /* THE FIX: Forces the line to always be at least 60px wide */
    height: 2px;
    background-color: rgba(200, 155, 60, 0.4);
    /* Subtle gold line */
}

/* The Architectural Text Anchor */
.editorial-text-wrapper {
    border-left: 2px solid #C89B3C;
    padding-left: 2.5rem;
}

.editorial-text-wrapper p {
    color: #A0A0A0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.editorial-image {
    flex: 0 0 45%;
    height: 600px;
    overflow: hidden;
    border-radius: 4px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: filter 0.6s ease;
}

.editorial-image:hover img {
    filter: grayscale(0%);
}

/* --- SECTION 5: GLOBAL REACH --- */
.global-reach-section {
    padding: 10rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.center-heading .heading-line {
    flex-grow: 0;
    width: 200px;
    /* Fixed width for the center line */
}

.reach-intro {
    max-width: 800px;
    margin-bottom: 5rem;
}

.reach-intro p {
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
}

.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.reach-col p {
    color: #A0A0A0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==========================================
   SECTION 6: CEO TIMELINE (30/70 SPLIT)
   ========================================== */
.ceo-timeline-section {
    display: flex;
    gap: 5%;
    padding: 8rem 5%;
    max-width: 1500px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- LEFT COLUMN: 30% CEO PROFILE --- */
.ceo-profile {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.ceo-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 2px;
    transform: translateY(6rem);
}

.ceo-image-wrapper img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    /* High-end editorial grayscale */
}

.ceo-name {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.ceo-title {
    font-family: 'Inter', sans-serif;
    color: #C89B3C;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.ceo-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #A0A0A0;
    border-left: 2px solid #C89B3C;
    padding-left: 1.5rem;
}

/* --- RIGHT COLUMN: 70% TIMELINE --- */
.timeline-container {
    width: 65%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Timeline Controls (Arrows) */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.timeline-controls {
    display: flex;
    gap: 1rem;
}

.tl-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tl-arrow:hover {
    background: #ffffff;
    color: #050505;
}

/* The Horizontal Scrolling Track */
.timeline-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* --- UPDATED TIMELINE TRACK & CARDS (FIX) --- */
.timeline-track {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 2rem;
    position: relative;
    align-items: flex-start;
    /* Locks all cards to the top of the track */
}

.timeline-track::-webkit-scrollbar {
    display: none;
}

/* Individual Milestone Cards */
.timeline-milestone {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* THE FIX: Allows cards to grow naturally instead of stretching */
}

/* THE FIXED ANCHOR LINE */
.timeline-milestone::after {
    content: '';
    position: absolute;
    top: 300px;
    /* Pushed further down to give top cards more room */
    left: 0;
    width: calc(100% + 4rem);
    height: 2px;
    background: rgba(200, 155, 60, 0.3);
    z-index: 1;
}

.timeline-milestone:last-child::after {
    width: 100%;
}

/* THE FIXED ANCHOR DOT */
.milestone-dot {
    position: absolute;
    top: 300px;
    /* Locked exactly to the new line position */
    left: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #050505;
    border: 2px solid #C89B3C;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s ease;
}

.timeline-milestone:hover .milestone-dot {
    background: #C89B3C;
}

/* =========================================
   ALTERNATING TOP & BOTTOM TEXT ALIGNMENT
   ========================================= */

/* ODD MILESTONES (1st, 3rd) - Starts exactly 40px below the line */
.timeline-milestone:nth-child(odd) {
    justify-content: flex-start;
    padding-top: 340px;
    /* 300px line + 40px gap */
    padding-bottom: 0;
}

/* EVEN MILESTONES (2nd, 4th) - Ends exactly 40px above the line */
.timeline-milestone:nth-child(even) {
    justify-content: flex-end;
    height: 260px;
    /* 300px line - 40px gap = 260px massive headroom */
    padding-top: 0;
    padding-bottom: 0;
}

/* Text Formatting */
.milestone-year {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 1rem;
}

.milestone-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.milestone-text {
    font-size: 0.95rem;
    color: #A0A0A0;
    line-height: 1.6;
}

/* ==========================================
   CTA BUTTON INVERT HOVER EFFECT
   ========================================== */
.invert-hover-btn {
    background-color: #ffffff;
    color: #050505;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.invert-hover-btn:hover {
    background-color: transparent;
    color: #ffffff;
}

/* ==========================================
   NATIVE SCROLL ANIMATION STATES
   ========================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* This class will be added by the JS when the element scrolls into view */
.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   SINGLE CONSOLIDATED MOBILE QUERY
   (replaces all duplicate @media (max-width: 1024px) blocks)
   ========================================== */
@media (max-width: 1024px) {
    .about-hero-section {
        min-height: auto;
        padding: 12rem 5% 6rem 5%;
        flex-direction: column;
        align-items: flex-start;
    }

    .massive-about-title {
        width: 100%;
        align-items: center !important;
        text-align: center;
        padding: 0;
        margin-bottom: 3rem;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .title-row-top,
    .title-row-bottom {
        align-self: center !important;
        padding: 0 !important;
    }

    .title-divider {
        margin: 1rem auto;
    }

    .hero-slices-container {
        display: flex;
        position: relative;
        width: 100%;
        height: 350px;
        gap: 0.8rem;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
        pointer-events: auto;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .hero-slice {
        position: relative;
        width: 30%;
        left: auto;
        top: auto;
        right: auto;
    }

    .slice-left {
        height: 80%;
        transform: translateY(-5%);
    }
    .slice-center {
        height: 100%;
    }
    .slice-right {
        height: 85%;
        transform: translateY(5%);
    }

    .editorial-block,
    .editorial-block.reverse {
        flex-direction: column;
        gap: 4rem;
        padding: 6rem 5%;
    }

    .editorial-image {
        width: 100%;
        height: 400px;
    }

    .editorial-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .heading-line {
        min-width: 20px;
        flex-shrink: 1;
    }

    .split-heading {
        gap: 1rem;
    }

    .reach-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .ceo-timeline-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 5rem 5%;
    }

    .ceo-profile,
    .timeline-container {
        width: 100%;
    }

    .ceo-profile {
        margin-bottom: 3rem;
    }

    .ceo-image-wrapper {
        transform: translateY(0);
        margin-bottom: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .timeline-controls {
        justify-content: center;
    }

    .timeline-track {
        scroll-snap-type: x mandatory;
        padding-left: 5%;
    }

    .timeline-milestone {
        scroll-snap-align: start;
    }
}

/* ==========================================
   THE GROUP ECOSYSTEM SECTION
   ========================================== */

/* Flexbox aligns the logo and name horizontally */
.group-brand-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Constrains the logo size. Adjust '40px' up or down based on your logo files */
.group-logo {
    height: 40px; 
    width: auto;
    object-fit: contain;
    display: block;
}

/* Overrides standard kicker colors for the brand names */
.group-name {
    color: #C89B3C !important;
    font-size: 1.2rem;
    margin: 0 !important; /* Removes bottom margin so it centers perfectly with the logo */
}

.group-subtitle {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Layout spacing for desktop */
@media (min-width: 768px) {
    .group-col {
        padding-right: 2rem;
    }
    .t-and-t-col {
        padding-left: 2rem;
        padding-right: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* Stacks the columns cleanly on mobile devices */
@media (max-width: 767px) {
    .t-and-t-col {
        padding-top: 3rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Centers the flexbox heading (THE | GROUP) */
.split-heading.center-heading {
    justify-content: center;
}

/* Centers the intro paragraph directly beneath the heading */
.global-reach-section .reach-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Overrides the global 'text-align: justify' rule to prevent large word gaps on mobile */
.massive-about-title p {
    text-align: center;
}