/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* Animation Delays (Helper classes for reusability) */
.delay-02s { transition-delay: 0.2s !important; }
.delay-03s { transition-delay: 0.3s !important; }
.delay-04s { transition-delay: 0.4s !important; }
.delay-05s { transition-delay: 0.5s !important; }
.delay-06s { transition-delay: 0.6s !important; }
.delay-07s { transition-delay: 0.7s !important; }
.delay-08s { transition-delay: 0.8s !important; }
.delay-09s { transition-delay: 0.9s !important; }
.delay-1s { transition-delay: 1s !important; }
.delay-1-5s { transition-delay: 1.5s !important; }

/* General Page Adjustments */
.about-page-content .section {
    padding: 100px 0; /* Standardized padding for these sections */
}
.about-page-content .section-title {
    margin-bottom: 20px; /* Slightly less margin than global */
}
.about-page-content .section-subtitle {
    margin-bottom: 50px; /* Standardized subtitle margin */
    max-width: 750px;
}

/* Section 1: Intro Visual */
.about-intro-section {
    height: 100vh; /* Full viewport height */
    min-height: 650px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden; /* Crucial for bg image */
    padding: var(--header-height) 20px 20px; /* Account for fixed header */
}

.intro-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    /* Ken Burns Effect - subtle */
    animation: kenBurnsEffect 30s infinite alternate ease-in-out;
    transform-origin: center;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1); /* Darken and contrast for text legibility */
}

@keyframes kenBurnsEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.intro-content-container {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.intro-statement {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-light);
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}
.intro-statement span { /* For staggered animation if desired with JS */
    display: inline-block;
}

.intro-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--secondary-light-ivory);
}

.scroll-down-link {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-down-link i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
    animation: bounceArrow 2s infinite ease-in-out;
}
.scroll-down-link:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-3px);
}
@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Section 2: Our Origins */
.origins-section {
    background-color: var(--secondary-light-ivory);
    color: var(--text-dark);
    position: relative;
    overflow: hidden; /* For image accent */
}
.origins-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    align-items: center;
}
.origins-image-col {
    grid-column: 1 / span 6;
    position: relative;
}
.origins-image-col img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}
.image-bg-accent { /* Decorative background shape */
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(200, 168, 118, 0.1); /* Faint gold */
    border-radius: 12px;
    z-index: 1;
    transform: rotate(-3deg);
}

.origins-text-col {
    grid-column: 7 / span 6;
    padding-left: 30px;
}
.section-title-decorative {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 400; /* Lighter for this style */
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
}
.section-title-decorative span {
    display: block;
}
.section-title-decorative .highlight {
    font-weight: 700;
    font-style: italic;
    color: var(--accent-antique-gold);
    margin-left: 1em; /* Indent second line */
}
.origins-text-col .lead-paragraph {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
}
.origins-text-col p:not(.lead-paragraph) {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Section 3: Craftsmanship */
.craftsmanship-section {
    background-color: var(--primary-deep-charcoal);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.craftsmanship-bg-pattern { /* Subtle background texture */
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('images/patterns/subtle-gear-pattern.png'); /* Create or find a subtle pattern */
    opacity: 0.03;
    z-index: 0;
}
.craftsmanship-section .container { position: relative; z-index: 1; }

.craft-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 60px;
}
.craft-step {
    background-color: var(--surface-dark-accent);
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(200, 168, 118, 0.15);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.craft-step:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(200, 168, 118, 0.1);
}
.craft-icon {
    font-size: 2.8rem;
    color: var(--accent-antique-gold);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}
.craft-step:hover .craft-icon {
    transform: rotateY(360deg) scale(1.1);
}
.craft-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.craft-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

/* Section 4: The Curator */
.curator-reveal-section {
    background-color: #FDFBF8; /* Very light, warm off-white */
    overflow: hidden; /* For mask reveals */
}
.curator-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.curator-image-wrapper {
    flex: 0 0 45%; /* Takes up 45% of width */
    max-width: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* For potential image mask reveal */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.curator-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.curator-text-wrapper {
    flex: 1;
    padding-left: 20px;
}
.section-title-decorative.alt-decorative .highlight {
    margin-left: 0; /* No indent for this version */
    display: block; /* Make highlight on new line */
    margin-top: 5px;
}
.curator-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.curator-statement {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.9;
    color: #444;
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px; /* Space for quote mark */
}
.curator-statement::before { /* Decorative quote mark */
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent-antique-gold);
    opacity: 0.3;
    position: absolute;
    left: -10px;
    top: -15px;
    line-height: 1;
}
.curator-signature {
    display: block;
    max-width: 180px; /* Adjust based on signature image */
    height: auto;
    margin-top: 15px;
    opacity: 0.8;
}

/* Section 5: Legacy Commitment */
.legacy-section {
    background-color: var(--primary-deep-charcoal); /* Consistent dark theme for final call */
    color: var(--text-light);
    padding: 120px 0;
}
.legacy-icon {
    font-size: 3.5rem;
    color: var(--accent-antique-gold);
    margin-bottom: 30px;
    display: block;
}
.legacy-section .hero-cta { /* Reusing from global styles, ensure it stands out */
    margin-top: 40px;
    padding: 18px 50px;
    font-size: 1.1rem;
}

/* --- New Animation Classes --- */
.type-fade-in-up { transform: translateY(50px); opacity: 0; }
.type-fade-in-right { transform: translateX(-80px); opacity: 0; }
.type-fade-in-left { transform: translateX(80px); opacity: 0; }
.type-scale-up-rotate { transform: scale(0.8) rotate(-10deg); opacity: 0; }
.type-pop-in { transform: scale(0.5); opacity: 0; }

.animated-item.is-visible.type-fade-in-up,
.animated-item.is-visible.type-fade-in-right,
.animated-item.is-visible.type-fade-in-left,
.animated-item.is-visible.type-scale-up-rotate,
.animated-item.is-visible.type-pop-in {
    transform: translate(0,0) scale(1) rotate(0deg);
    opacity: 1;
}

/* Image Reveal Animation */
.type-image-reveal-left::before { /* Mask */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-light-ivory); /* Match section bg */
    z-index: 3;
    transform-origin: left;
    transition: transform 1.2s var(--ease-in-out-circ) 0.2s; /* Delay mask animation slightly */
}
.animated-item.is-visible.type-image-reveal-left::before {
    transform: scaleX(0);
}
.type-image-reveal-left img { /* Content to be revealed */
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.6s ease 0.8s, transform 1.2s var(--ease-in-out-circ) 0.8s; /* Delay content appearance */
}
.animated-item.is-visible.type-image-reveal-left img {
    opacity: 1;
    transform: scale(1);
}

/* Mask Reveal for Curator Image (Example) */
.type-mask-reveal-right {
    position: relative;
    clip-path: inset(0 100% 0 0); /* Clip from right initially */
    transition: clip-path 1.2s var(--ease-in-out-circ) 0.3s;
}
.animated-item.is-visible.type-mask-reveal-right {
    clip-path: inset(0 0 0 0); /* Reveal */
}
.type-mask-reveal-right img { /* Inner content might need its own subtle animation */
    transform: scale(1.05);
    transition: transform 1.2s var(--ease-in-out-circ) 0.3s;
}
.animated-item.is-visible.type-mask-reveal-right img {
    transform: scale(1);
}

/* SVG Signature Draw-in Effect (Simplified with opacity, true SVG animation is more complex) */
.type-draw-in {
    opacity: 0;
    stroke-dasharray: 1000; /* A large enough value for the path length */
    stroke-dashoffset: 1000;
    transition: opacity 0.5s ease 0.5s, stroke-dashoffset 2s ease-in-out 0.5s; /* For actual SVG path */
}
.animated-item.is-visible.type-draw-in {
    opacity: 1;
    stroke-dashoffset: 0; /* For actual SVG path */
}
/* If using an <img> for signature, a simple fade-in or width animation might be better */
.curator-signature.animated-item.is-visible.type-draw-in {
    opacity: 1; /* Simple opacity if it's an img */
}

/* Responsive Adjustments for About Page */
@media (max-width: 992px) {
    .origins-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .origins-image-col {
        grid-column: 1 / -1;
        order: -1; /* Image first on mobile */
        max-width: 500px;
        margin: 0 auto 30px auto;
    }
    .origins-text-col {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }
    .section-title-decorative .highlight {
        margin-left: 0;
        display: inline-block; /* Adjust for centering */
    }
    .curator-container {
        flex-direction: column;
        text-align: center;
    }
    .curator-image-wrapper {
        flex: 0 0 auto;
        width: 70%;
        max-width: 350px;
        margin-bottom: 30px;
    }
    .curator-text-wrapper {
        padding-left: 0;
    }
    .curator-statement {
        padding-left: 0;
        text-align: left; /* Keep statement readable */
    }
    .curator-statement::before { display: none; } /* Hide decorative quote on mobile if it looks odd */
    .curator-signature { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .about-page-content .section { padding: 80px 0; }
    .intro-statement { font-size: clamp(2.5rem, 7vw, 4.5rem); }
    .intro-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); }

    .craft-process-grid { grid-template-columns: 1fr; gap: 25px; }
    .craft-step { padding: 30px 25px; }
}