/* ============================================
   Founder's Story - Unique Section Styles
   Each chapter has its own distinct layout
   ============================================ */

/* -------------------- Image Placeholders -------------------- */
.image-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%);
    border: 2px dashed rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 2rem;
}

.image-placeholder-content.large {
    min-height: 400px;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-text {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   SECTION 1: Cinematic Hero Opening
   ============================================ */
.story-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('images/founders-hero.jpg') center center / cover no-repeat;
}

.story-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 10, 10, 0.5) 0%,
            rgba(10, 10, 10, 0.4) 60%,
            rgba(10, 10, 10, 1) 100%
        ),
        linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.6) 0%,
            rgba(10, 10, 10, 0.5) 40%,
            rgba(10, 10, 10, 0.4) 100%
        );
}

.story-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(30, 74, 59, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 145, 90, 0.08) 0%, transparent 40%);
}

.story-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem;
    max-width: 900px;
}

.story-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.story-year {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.3em;
    color: #B8915A;
}

.story-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.story-label {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.story-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.story-hero-title .title-accent {
    display: block;
    background: linear-gradient(135deg, #B8915A, #D4A96A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-hero-tagline {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6rem;
}

.story-scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    animation: floatPrompt 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: #B8915A;
}

@keyframes floatPrompt {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.story-hero-decoration {
    position: absolute;
    inset: 3rem;
    pointer-events: none;
}

.deco-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
}

.deco-line-1 {
    width: 1px;
    height: 80px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.deco-line-2 {
    width: 1px;
    height: 80px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.deco-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deco-corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.deco-corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ============================================
   SECTION 2: A Child's Dream - Asymmetric
   ============================================ */
.story-chapter {
    position: relative;
    z-index: 1;
}

.story-chapter-asymmetric {
    padding: 12rem 0;
    background: #0A0A0A;
    overflow: hidden;
}

.chapter-frame {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

@media (max-width: 968px) {
    .chapter-frame {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.story-chapter-reverse .chapter-frame {
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 968px) {
    .story-chapter-reverse .chapter-frame {
        grid-template-columns: 1fr;
    }

    .story-chapter-reverse .chapter-image-wrapper {
        order: -1;
    }
}

.chapter-image-wrapper {
    position: relative;
}

.chapter-image {
    aspect-ratio: 3/2;
    position: relative;
    overflow: hidden;
}

.chapter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.chapter-image:hover .chapter-img {
    transform: scale(1.04);
}

.chapter-image-photo {
    background: #0a0a0a;
}

.chapter-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
}

.chapter-image-photo:hover .chapter-photo-img {
    transform: scale(1.04);
}

.chapter-image-frame {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.chapter-image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #B8915A;
    opacity: 0.3;
}

.chapter-year-badge {
    position: absolute;
    bottom: 2rem;
    right: -40px;
    background: #1E4A3B;
    color: #FFFFFF;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.2em;
    padding: 1rem 2rem;
    transform: rotate(-90deg);
    transform-origin: bottom right;
}

.chapter-text-wrapper {
    display: flex;
    gap: 3rem;
}

.chapter-number-vertical {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 6rem;
    font-weight: 300;
    color: #2A2A2A;
    line-height: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.chapter-content {
    flex: 1;
}

.chapter-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.chapter-subtitle {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B8915A;
    margin-bottom: 3rem;
}

.chapter-body p {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.chapter-body .lead-text {
    font-size: 1.25rem;
    color: #FFFFFF;
}

.inline-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #FFFFFF;
    border-left: 3px solid #B8915A;
    padding-left: 2rem;
    margin: 3rem 0;
}

.inline-quote em {
    color: #B8915A;
    font-style: normal;
}

/* ============================================
   SECTION 3: The Question - Grid Cards
   ============================================ */
.story-chapter-grid {
    padding: 12rem 0;
    background: #111111;
    position: relative;
}

.story-chapter-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.chapter-header-centered {
    text-align: center;
    margin-bottom: 6rem;
}

.chapter-number-inline {
    display: inline-block;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #B8915A;
    margin-bottom: 1.5rem;
}

.chapter-number-inline.light {
    color: #FFFFFF;
    opacity: 0.5;
}

.chapter-title-large {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.chapter-intro {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-card {
    background: #1A1A1A;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    border-color: #B8915A;
    transform: translateY(-5px);
}

.comparison-flag {
    width: 140px;
    height: 93px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-map-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.comparison-card:hover .flag-map-svg {
    filter: drop-shadow(0 4px 14px rgba(184, 145, 90, 0.35));
    transform: scale(1.06);
}

.comparison-country {
    display: block;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.comparison-car {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.0625rem;
    color: #FFFFFF;
}

.question-reveal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.question-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: #B8915A;
}

.question-box {
    background: #1E4A3B;
    padding: 2rem 4rem;
    text-align: center;
    border: 2px solid #2A6350;
}

.question-flag {
    width: 150px;
    height: 100px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-map-img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.question-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

.chapter-statement {
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.chapter-statement strong {
    color: #FFFFFF;
    display: block;
    margin-top: 1rem;
}

/* ============================================
   SECTION 4: My Daughters - Emotional Cards
   ============================================ */
.story-chapter-daughters {
    padding: 12rem 0;
    background: #0A0A0A;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.daughters-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(30, 74, 59, 0.1) 0%, transparent 70%);
}

.daughters-intro {
    margin-bottom: 3rem;
}

.daughters-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.daughters-subtitle {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.2em;
    color: #B8915A;
}

.daughters-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6rem;
}

.daughters-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

@media (max-width: 600px) {
    .daughters-grid {
        flex-direction: column;
        align-items: center;
    }
}

.daughter-card {
    text-align: center;
}

.daughter-initial {
    width: 120px;
    height: 120px;
    border: 2px solid #B8915A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: #B8915A;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.daughter-card:hover .daughter-initial {
    background: #B8915A;
    color: #0A0A0A;
    transform: scale(1.1);
}

.daughter-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: #FFFFFF;
}

.daughters-closing {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

.text-accent {
    display: block;
    color: #B8915A;
    margin-top: 1rem;
}

/* ============================================
   SECTION 5: The Words - Dramatic Quote
   ============================================ */
.story-chapter-quote {
    padding: 8rem 0;
    background: #0A0A0A;
    position: relative;
    overflow: hidden;
}

.quote-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(30, 74, 59, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(184, 145, 90, 0.04) 0%, transparent 40%);
}

/* Split Layout */
.quote-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .quote-split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 2rem;
    }
}

/* Image Side */
.quote-image-side {
    position: relative;
}

.quote-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
}

.quote-image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #151515 0%, #0D0D0D 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.quote-image-frame {
    position: absolute;
    inset: -15px;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 50px;
    height: 50px;
}

.frame-corner.frame-tl {
    top: 0;
    left: 0;
    border-top: 1px solid #B8915A;
    border-left: 1px solid #B8915A;
}

.frame-corner.frame-br {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid #B8915A;
    border-right: 1px solid #B8915A;
}

.quote-image-badge {
    position: absolute;
    bottom: 2rem;
    right: -20px;
    width: 50px;
    height: 50px;
    background: #1E4A3B;
    border: 1px solid #2A6350;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-image-badge svg {
    width: 24px;
    height: 24px;
    color: #B8915A;
}

.quote-image-caption {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.caption-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    color: #B8915A;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(184, 145, 90, 0.3);
}

.caption-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Content Side */
.quote-content-side {
    position: relative;
}

.quote-chapter-marker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.marker-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.marker-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    color: #B8915A;
}

.marker-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.quote-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 3rem;
}

.quote-section-title .title-highlight {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

/* Context Block */
.quote-context-block {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.context-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.2);
}

.context-icon svg {
    width: 100%;
    height: 100%;
}

.context-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.context-text .context-transition {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin-top: 0.8rem;
}

/* Dramatic Quote Block */
.dramatic-quote-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.quote-accent-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 145, 90, 0.4), transparent);
}

.quote-inner {
    text-align: center;
    padding: 1.5rem 0;
}

.quote-mark-top,
.quote-mark-bottom {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    color: #B8915A;
    opacity: 0.5;
    line-height: 0.5;
}

.quote-mark-top {
    margin-bottom: 1rem;
}

.quote-mark-bottom {
    margin-top: 1rem;
}

.dramatic-quote-block blockquote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.5;
}

.quote-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    animation: wordReveal 0.5s ease forwards;
    animation-play-state: paused;
}

.dramatic-quote-block.animate .quote-word {
    animation-play-state: running;
}

.quote-word:nth-child(1) { animation-delay: 0.1s; }
.quote-word:nth-child(2) { animation-delay: 0.18s; }
.quote-word:nth-child(3) { animation-delay: 0.26s; }
.quote-word:nth-child(4) { animation-delay: 0.34s; }
.quote-word:nth-child(5) { animation-delay: 0.42s; }
.quote-word:nth-child(6) { animation-delay: 0.50s; }
.quote-word:nth-child(7) { animation-delay: 0.58s; }
.quote-word:nth-child(8) { animation-delay: 0.66s; }

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aftermath Block */
.aftermath-block {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.aftermath-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: rgba(184, 145, 90, 0.4);
}

.aftermath-icon svg {
    width: 100%;
    height: 100%;
}

.aftermath-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

/* Realization Block */
.realization-block {
    background: linear-gradient(135deg, rgba(30, 74, 59, 0.12) 0%, rgba(30, 74, 59, 0.04) 100%);
    border: 1px solid rgba(30, 74, 59, 0.25);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.realization-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.realization-icon {
    width: 24px;
    height: 24px;
    color: #B8915A;
}

.realization-icon svg {
    width: 100%;
    height: 100%;
}

.realization-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.realization-content .realization-small {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.realization-content .realization-big {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #B8915A;
    font-weight: 500;
    margin: 0;
}

.realization-decoration {
    position: absolute;
    bottom: -1px;
    left: 2rem;
    display: flex;
    gap: 4px;
}

.realization-decoration span {
    width: 20px;
    height: 3px;
    background: #1E4A3B;
}

.realization-decoration span:first-child {
    width: 40px;
    background: #B8915A;
}

/* Conclusion Block */
.quote-conclusion-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.conclusion-arrow {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.conclusion-arrow svg {
    width: 100%;
    height: 100%;
}

.quote-conclusion-block p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.saif-highlight {
    color: #B8915A;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ============================================
   SECTION 6: The Name - Split Comparison
   ============================================ */
.story-chapter-meaning {
    padding: 12rem 0;
    background: #0A0A0A;
}

.meaning-header {
    text-align: center;
    margin-bottom: 6rem;
}

.meaning-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.meaning-arabic {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 300;
    color: #B8915A;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.meaning-translation {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.sword-palm-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: stretch;
}

@media (max-width: 968px) {
    .sword-palm-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.meaning-side {
    padding: 4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.meaning-sword {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.75) 100%),
        url('images/sword-image.jpg') center center / cover no-repeat;
}

.meaning-sword:hover {
    border-color: #B8915A;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.65) 100%),
        url('images/sword-image.jpg') center center / cover no-repeat;
}

.meaning-palm {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.75) 100%),
        url('images/palm-image.jpg') center center / cover no-repeat;
}

.meaning-palm:hover {
    border-color: #B8915A;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.65) 100%),
        url('images/palm-image.jpg') center center / cover no-repeat;
}

.meaning-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #B8915A;
}

.meaning-icon svg {
    width: 100%;
    height: 100%;
}

.meaning-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.meaning-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
}

.meaning-attributes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.meaning-attributes li {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2A6350;
    padding: 0.5rem 1rem;
    border: 1px solid #1E4A3B;
}

.meaning-application {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.meaning-application em {
    color: #FFFFFF;
    font-style: normal;
}

.meaning-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .meaning-divider {
        flex-direction: row;
    }

    .meaning-divider .divider-line {
        width: 80px;
        height: 1px;
    }
}

.divider-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
}

.divider-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    color: #B8915A;
}

/* ============================================
   SECTION 7: Tuwaiq - Full Width Image
   ============================================ */
.story-chapter-tuwaiq {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.tuwaiq-image-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('images/jebel-tuwaiq.jpg') center center / cover no-repeat;
}

.tuwaiq-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 10, 10, 1) 0%,
            rgba(10, 10, 10, 0.3) 20%,
            rgba(10, 10, 10, 0.3) 80%,
            rgba(10, 10, 10, 1) 100%
        ),
        rgba(10, 10, 10, 0.7);
}

.tuwaiq-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    max-width: 900px;
}

.tuwaiq-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 4rem;
}

.tuwaiq-quote-block {
    margin-bottom: 4rem;
}

.tuwaiq-quote-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 5rem;
    color: #B8915A;
    line-height: 0.5;
}

.tuwaiq-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.5;
    margin: 2rem 0;
}

.tuwaiq-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.attribution-name {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B8915A;
}

.attribution-year {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
}

.attribution-event {
    display: block;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.tuwaiq-description p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.tuwaiq-statement {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem !important;
    color: #FFFFFF !important;
}

/* ============================================
   SECTION 8: Timeline - Then vs Now
   ============================================ */
.story-chapter-timeline {
    padding: 12rem 0;
    background: #111111;
    position: relative;
}

.story-chapter-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.timeline-header {
    text-align: center;
    margin-bottom: 6rem;
}

.timeline-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    color: #FFFFFF;
}

.timeline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

@media (max-width: 768px) {
    .timeline-visual {
        flex-direction: column;
    }
}

.timeline-point {
    text-align: center;
    flex: 1;
    max-width: 420px;
}

.timeline-year {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.3em;
    color: #B8915A;
    margin-bottom: 1.5rem;
}

.timeline-image {
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.timeline-past .timeline-image {
    opacity: 0.7;
}

.timeline-present .timeline-image {
    border-color: rgba(184, 145, 90, 0.4);
}

.timeline-image-real {
    aspect-ratio: 4/3;
    border-color: rgba(184, 145, 90, 0.4) !important;
    overflow: hidden;
    position: relative;
    padding: 0;
    display: block;
}

.timeline-car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.timeline-image-placeholder {
    background: #111111;
    border: 1px dashed rgba(184, 145, 90, 0.2) !important;
}

.timeline-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 2rem;
}

.timeline-point:hover .timeline-car-img {
    transform: scale(1.04);
}

.timeline-caption {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.timeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .timeline-connector {
        flex-direction: row;
        padding: 2rem 0;
    }

    .timeline-connector .connector-line {
        width: 80px;
        height: 2px;
    }
}

.connector-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), #1E4A3B, rgba(255, 255, 255, 0.08));
}

.connector-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .connector-dots {
        flex-direction: row;
    }
}

.connector-dots span {
    width: 6px;
    height: 6px;
    background: #B8915A;
    border-radius: 50%;
}

.connector-years {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
}

@media (max-width: 768px) {
    .connector-years {
        writing-mode: horizontal-tb;
    }
}

.timeline-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.timeline-text p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.text-highlight {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem !important;
    color: #B8915A !important;
}

.text-conclusion {
    color: #FFFFFF !important;
}

/* ============================================
   SECTION 9: The Call - Final CTA
   ============================================ */
.story-chapter-call {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.call-background {
    position: absolute;
    inset: 0;
}

.call-image {
    position: absolute;
    inset: 0;
}

.call-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.call-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 800px;
}

.call-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 4rem;
}

.call-message p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
}

.call-highlight-box {
    background: rgba(30, 74, 59, 0.3);
    border: 1px solid #1E4A3B;
    padding: 3rem;
    margin: 3rem 0;
}

.call-highlight-box p {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin: 0;
}

.call-emphasis {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem !important;
    color: #B8915A !important;
    margin-top: 1rem !important;
}

.call-final-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-highlight {
    color: #B8915A;
    font-style: normal;
    display: block;
    margin-top: 1rem;
}

.call-cta {
    margin-top: 4rem;
}

/* ============================================
   Animations
   ============================================ */
.story-chapter {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Add scroll animation when JS is enabled */
.js-enabled .story-chapter {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .story-chapter.animate-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   FOUNDER IDENTITY — Magazine Editorial Bio
   ============================================ */

.founder-identity {
    position: relative;
    background: #060A08;
    overflow: hidden;
}

/* Subtle diagonal texture */
.founder-identity::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -52deg,
        transparent,
        transparent 48px,
        rgba(184, 145, 90, 0.025) 48px,
        rgba(184, 145, 90, 0.025) 49px
    );
    pointer-events: none;
    z-index: 0;
}

/* Top / bottom gold rules */
.fi-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #B8915A 25%, #B8915A 75%, transparent 100%);
}

/* Editorial grid */
.fi-editorial-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0 4rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 2rem;
    align-items: center;
}

/* LEFT side */
.fi-editorial-left {
    max-width: 740px;
    padding-right: 2rem;
    border-right: 1px solid rgba(184, 145, 90, 0.18);
}

.fi-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.fi-label-line {
    width: 2.5rem;
    height: 1px;
    background: #B8915A;
    flex-shrink: 0;
}

.fi-label-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #B8915A;
}

.fi-name-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    font-weight: 400;
    line-height: 1.0;
    color: #F5F0E8;
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.fi-name-italic {
    font-style: italic;
    color: #B8915A;
}

.fi-title-divider {
    width: 3.5rem;
    height: 2px;
    background: linear-gradient(90deg, #B8915A 0%, transparent 100%);
    margin-bottom: 2rem;
}

.fi-bio-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.9;
    color: rgba(245, 240, 232, 0.65);
    font-weight: 300;
    margin-bottom: 2.25rem;
}

.fi-credentials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fi-credential {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(184, 145, 90, 0.55);
}

.fi-cred-sep {
    color: rgba(184, 145, 90, 0.25);
    font-size: 1rem;
}

/* RIGHT side — portrait */
.fi-editorial-right {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fi-portrait-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.fi-portrait-circle {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
}

.fi-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
    filter: contrast(1.04) brightness(0.92) saturate(0.95);
}

/* Gold ring around circle */
.fi-bracket {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(184, 145, 90, 0.55);
    pointer-events: none;
}

.fi-bracket-tl,
.fi-bracket-br {
    border: none;
}

.fi-portrait-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(184, 145, 90, 0.7);
    text-align: center;
    padding: 0.75rem 0 0;
    letter-spacing: 0.06em;
    direction: rtl;
    width: 100%;
}

/* Arabic bio band */
.fi-arabic-band {
    position: relative;
    z-index: 1;
    background: rgba(30, 74, 59, 0.06);
    border-top: 1px solid rgba(184, 145, 90, 0.1);
    border-bottom: 1px solid rgba(184, 145, 90, 0.1);
    padding: 2.5rem 2rem;
}

.fi-arabic-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.fi-arabic-bar {
    flex-shrink: 0;
    width: 2px;
    min-height: 5rem;
    align-self: stretch;
    background: linear-gradient(180deg, #B8915A 0%, transparent 100%);
    border-radius: 2px;
}

.fi-bio-ar {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 2.1;
    color: rgba(245, 240, 232, 0.6);
    text-align: right;
    font-style: italic;
    font-weight: 400;
    flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .fi-editorial-grid {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 0;
    }

    .fi-editorial-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(184, 145, 90, 0.18);
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .fi-editorial-right {
        padding-left: 0;
    }

    .fi-portrait-wrap {
        max-width: 280px;
    }

    .fi-portrait-circle {
        width: 260px;
        height: 260px;
    }

    .fi-arabic-band {
        padding: 2rem 1.5rem;
    }

    .fi-arabic-inner {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .fi-name-headline {
        font-size: 2.75rem;
    }

    .fi-editorial-grid {
        padding: 2.5rem 1.25rem;
    }
}

/* ============================================================
   Arabic / RTL Overrides
   ============================================================ */

/* ── Centre-preservation: these sections are text-align:center in LTR — keep them centred in RTL ── */
html[dir="rtl"] .chapter-header-centered,
html[dir="rtl"] .chapter-header-centered *,
html[dir="rtl"] .story-chapter-daughters,
html[dir="rtl"] .daughters-intro,
html[dir="rtl"] .daughters-title,
html[dir="rtl"] .daughters-subtitle,
html[dir="rtl"] .daughters-lead,
html[dir="rtl"] .daughters-closing,
html[dir="rtl"] .daughter-card,
html[dir="rtl"] .daughter-name,
html[dir="rtl"] .chapter-title-large,
html[dir="rtl"] .chapter-statement,
html[dir="rtl"] .meaning-header,
html[dir="rtl"] .meaning-header *,
html[dir="rtl"] .meaning-title,
html[dir="rtl"] .meaning-arabic,
html[dir="rtl"] .meaning-translation,
html[dir="rtl"] .meaning-side,
html[dir="rtl"] .meaning-side *,
html[dir="rtl"] .meaning-label,
html[dir="rtl"] .meaning-description,
html[dir="rtl"] .meaning-application,
html[dir="rtl"] .story-chapter-tuwaiq,
html[dir="rtl"] .tuwaiq-content,
html[dir="rtl"] .tuwaiq-content *,
html[dir="rtl"] .tuwaiq-title,
html[dir="rtl"] .tuwaiq-quote,
html[dir="rtl"] .tuwaiq-description p,
html[dir="rtl"] .tuwaiq-statement,
html[dir="rtl"] .story-chapter-call,
html[dir="rtl"] .call-content,
html[dir="rtl"] .call-content *,
html[dir="rtl"] .call-title,
html[dir="rtl"] .call-final-quote,
html[dir="rtl"] .call-highlight-box p,
html[dir="rtl"] .chapter-number-inline,
html[dir="rtl"] .timeline-header,
html[dir="rtl"] .timeline-header * {
    text-align: center !important;
}

/* ── Right-align: sections that are left-aligned in LTR ── */
html[dir="rtl"] .chapter-content,
html[dir="rtl"] .chapter-content *,
html[dir="rtl"] .chapter-title,
html[dir="rtl"] .chapter-subtitle,
html[dir="rtl"] .chapter-body p,
html[dir="rtl"] .chapter-intro,
html[dir="rtl"] .fi-bio-en,
html[dir="rtl"] .fi-bio-en *,
html[dir="rtl"] .inline-quote {
    text-align: right;
}

html[dir="rtl"] .inline-quote {
    border-left: none;
    border-right: 3px solid #B8915A;
    padding-left: 0;
    padding-right: 2rem;
}

html[dir="rtl"] .fi-editorial-left {
    border-right: none;
    border-left: 1px solid rgba(184, 145, 90, 0.18);
    padding-right: 0;
    padding-left: 2rem;
}

/* RTL Overrides — auto-generated */

/* Story hero decoration corners: swap left↔right */
html[dir="rtl"] .deco-corner-tl {
    left: auto;
    right: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}
html[dir="rtl"] .deco-corner-br {
    right: auto;
    left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
}

/* Deco lines: left:0 / right:0 positional swap */
html[dir="rtl"] .deco-line-1 {
    left: auto;
    right: 0;
}
html[dir="rtl"] .deco-line-2 {
    right: auto;
    left: 0;
}

/* Inline quote: border-left → border-right */
/* (already handled above; this is confirmation) */

/* Frame corner tl/br in quote section */
html[dir="rtl"] .frame-corner.frame-tl {
    left: auto;
    right: 0;
    border-top: 1px solid #B8915A;
    border-right: 1px solid #B8915A;
    border-left: none;
}
html[dir="rtl"] .frame-corner.frame-br {
    right: auto;
    left: 0;
    border-bottom: 1px solid #B8915A;
    border-left: 1px solid #B8915A;
    border-right: none;
}

/* Quote image badge: right:-20px → left:-20px */
html[dir="rtl"] .quote-image-badge {
    right: auto;
    left: -20px;
}

/* Realization decoration: left:2rem → right:2rem */
html[dir="rtl"] .realization-decoration {
    left: auto;
    right: 2rem;
}

/* fi-editorial-left padding-right → padding-left (already set above) */

/* fi-arabic-bar: decorative LTR bar — fine as-is in RTL (gradient still from top) */

/* fi-title-divider: gradient left→right — flip for RTL */
html[dir="rtl"] .fi-title-divider {
    background: linear-gradient(270deg, #B8915A 0%, transparent 100%);
}

/* Chapter year badge: right:-40px → left:-40px */
html[dir="rtl"] .chapter-year-badge {
    right: auto;
    left: -40px;
    transform-origin: bottom left;
}
