/* Our Story Page - Immersive Narrative Styles */

/* Hero Section (use shared hero pattern) */
.category-hero.about-hero {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
    height: 72vh;
    position: relative;
    overflow: hidden;
}

.category-hero.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/texture-paper.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}

/* Center hero content like other sections */
.category-hero.about-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    padding: 3rem;
    margin: 0;
    text-align: center;
    z-index: 2;
}

.category-hero.about-hero .hero-title {
    /* Inherit brand hero typography from ia.css and sections.hero.css */
    margin-bottom: 1rem;
}

.category-hero.about-hero .hero-description {
    /* Inherit brand body typography and colors */
    margin: 1.5rem auto 0;
    max-width: 640px;
}

/* Ensure sticky header/admin bar doesn’t overlap */
.about-hero { 
    padding-top: clamp(80px, 12vh, 120px);
}

.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.8) 0%, rgba(139, 115, 85, 0.6) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: var(--color-text-light);
}

.scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    position: relative;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 7px;
    height: 7px;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

/* Chapter Navigation */
.chapter-nav {
    background: #fff;
    border-bottom: 1px solid #e8e3d8;
    position: sticky;
    top: 80px;
    z-index: 10;
    padding: 3rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-header {
    text-align: center;
    margin-bottom: 3rem;
}

.nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.nav-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
}

.nav-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e8e3d8;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover,
.nav-item.active {
    border-color: #8b7355;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    transform: translateY(-2px);
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b7355 0%, #a68b5b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 1.5;
}

.nav-content {
    flex: 1;
}

.nav-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b7355;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.nav-content .nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
}

.nav-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: #e8e3d8;
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b7355 0%, #a68b5b 100%);
    width: 25%;
    transition: width 0.6s ease;
}

.progress-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b7355;
}

/* Chapter Sections */
.chapter {
    position: relative;
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    display: none;
    overflow: hidden;
}

.chapter.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.chapter-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.chapter-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chapter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.95) 0%, rgba(240, 237, 229, 0.9) 100%);
}

.chapter .container {
    position: relative;
    z-index: 2;
}

.chapter-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.chapter-header {
    text-align: center;
    margin-bottom: 4rem;
}

.chapter-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 1rem;
    display: block;
}

.chapter-title {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.title-word {
    font-size: 3.5rem;
    font-weight: 500;
    color: #2c2c2c;
    display: block;
    line-height: 1;
}

.title-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}

.chapter-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.chapter-text {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #444;
}

.text-block {
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: #2c2c2c;
    line-height: 1.7;
    margin-bottom: 0;
}

.text-block p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Founders Story */
.founders-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.founder {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e3d8;
}

.founder-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
}

.founder-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b7355;
    margin-bottom: 1rem; /* Remove !important - not needed */
}

.founder-text p:last-child {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Philosophy Pillars */
.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.pillar {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e3d8;
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b7355 0%, #a68b5b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 1.5;
}

.pillar h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.pillar p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Artisan Profiles */
.artisan-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.artisan-profile {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e3d8;
    transition: all 0.3s ease;
}

.artisan-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #e8e3d8;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    text-align: center;
}

.profile-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b7355;
    margin-bottom: 0.25rem; /* Remove !important - not needed */
}

.profile-location {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem; /* Remove !important - not needed */
}

.profile-content p:nth-last-child(2) {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-stats span {
    font-size: 0.8rem;
    color: #8b7355;
    background: rgba(139, 115, 85, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Future Visions */
.future-visions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.vision-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e3d8;
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b7355 0%, #a68b5b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.vision-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 1.5;
}

.vision-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.vision-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Chapter Quote */
.chapter-quote {
    margin: 3rem 0;
    text-align: center;
}

.chapter-quote blockquote {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, rgba(139, 115, 85, 0.1) 100%);
    border: none;
    border-radius: 12px;
    padding: 2rem;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #2c2c2c;
    line-height: 1.6;
    position: relative;
}

.chapter-quote blockquote::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: #8b7355;
    position: absolute;
    left: -20px;
    top: -10px;
    line-height: 1;
}

/* About/Our Story hero: use global absolute-centered category-hero to match homepage */
.category-hero.about-hero { position: relative; height: 72vh; overflow: hidden; }
.about-hero .hero-content {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .about-hero .hero-content { top: 47%; }
}
/* Buttons: follow global hero-buttons layout */
.category-hero.about-hero .hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}
.category-hero.about-hero .btn-primary,
.category-hero.about-hero .btn-secondary {
    /* Use global brand button system for consistency */
    padding: 0.875rem 2rem;
    border-radius: 8px;
}
/* Remove page-specific button colors; inherit from ia.css global rules */
@media (max-width: 768px) {
    .category-hero.about-hero .hero-buttons { flex-direction: row; gap: 1rem; }
}