/* ==========================================================================
   HER STORY - LUXURY DARK & LIGHT SECTIONS + 3D SINGLE-PAGE FLIPBOOK + TIMELINE
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Theming (Dark & Light Combination)
   -------------------------------------------------------------------------- */
.hs-dark-section {
    background: linear-gradient(160deg, #150916 0%, #240c1f 50%, #150916 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hs-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(203, 96, 150, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(203, 96, 150, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hs-light-section {
    background-color: #fff9fc;
    color: #1a0c16;
    position: relative;
    overflow: hidden;
}

.hs-pure-white-section {
    background-color: #ffffff;
    color: #1a0c16;
    position: relative;
}

:root {
    --primary: #cb6096;
    --primary-hover: #b84f83;
    --primary-light: #fce8f3;
    --primary-glow: rgba(203, 96, 150, 0.35);
    
    /* Dark Theme Tokens */
    --dark-bg: #8b2b5b;
    --dark-surface: #1d1322;
    --dark-surface-hover: #26192d;
    --dark-text: #ffffff;
    --dark-text-sub: #fff;
    --dark-border: rgba(203, 96, 150, 0.25);
    
    /* Light Theme Tokens */
    --light-bg: #fff8fc;
    --light-surface: #ffffff;
    --light-surface-hover: #fdf0f7;
    --light-text: #1a0c16;
    --light-text-sub: #4a2b3d;
    --light-border: rgba(203, 96, 150, 0.2);

    --radius-btn: 8px;
    --radius-img: 15px;
    --radius-box: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 18px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 25px rgba(203, 96, 150, 0.45);
    --font-heading: 'Richa', sans-serif;
    --font-body: 'Richa', sans-serif;
}

/* Badges & Titles */
.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-box);
    transition: all 0.3s ease;
}

.hs-badge-dark {
    background: rgba(203, 96, 150, 0.18);
    color: #ffb7dc;
    border: 1px solid var(--dark-border);
    box-shadow: 0 0 20px rgba(203, 96, 150, 0.2);
}

.hs-badge-light {
    background: var(--primary-light);
    color: var(--dark-bg);
    border: 1px solid var(--light-border);
}

.hs-heading-display {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hs-lead-text {
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.8;
    max-width: 780px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hs-hero {
    background: linear-gradient(135deg, #180916 0%, #381028 50%, #180916 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    border-bottom: 1px solid rgba(203, 96, 150, 0.25);
}

.hs-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(203, 96, 150, 0.22) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.hs-hero-portrait-card {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(145deg, rgba(203, 96, 150, 0.4), rgba(255, 255, 255, 0.08));
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(203, 96, 150, 0.3);
    overflow: hidden;
}

.hs-hero-img {
    border-radius: 18px;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    width: 100%;
}

.hs-hero-floating-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(20, 9, 21, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(203, 96, 150, 0.35);
    border-radius: 16px;
    padding: 16px 20px;
    color: #ffffff;
}

.hs-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(203, 96, 150, 0.2);
    border-radius: 14px;
    padding: 14px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.hs-stat-item:hover {
    background: rgba(203, 96, 150, 0.15);
    border-color: rgba(203, 96, 150, 0.4);
    transform: translateY(-3px);
}

.hs-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.4;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #ffffff1a, #cb6096, #ffffff1a) 1;
}

.hs-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

/* --------------------------------------------------------------------------
   THE 3D ANIMATED MEMOIR BOOK (NO-MIRROR 2-STAGE ZERO-GLITCH LEAF FLIP)
   -------------------------------------------------------------------------- */
.hs-book-section {
    background: radial-gradient(circle at 50% 30%, #2f1025 0%, #160817 75%, #0e040f 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.hs-book-section::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(203, 96, 150, 0.22) 0%, transparent 70%);
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(65px);
    pointer-events: none;
}

/* Top Bar Controls */
.hs-book-controls-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    position: relative;
    z-index: 10;
}

.hs-chapter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: rgb(255 255 255 / 22%);
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgb(203 96 150);
}

.hs-chapter-pill {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 1);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hs-chapter-pill:hover {
    color: #ffffff;
    background: rgba(203, 96, 150, 0.25);
}

.hs-chapter-pill.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(203, 96, 150, 0.45);
}

.hs-book-counter-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.hs-sound-toggle {
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(203 96 150);
    color: #ffffff;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hs-sound-toggle:hover {
    background: rgba(203, 96, 150, 0.3);
    color: #ffffff;
}

/* 3D Book Stage */
.hs-book-stage {
    perspective: 2600px;
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    z-index: 5;
}

/* Pedestal Base Shadow */
.hs-book-pedestal {
    position: relative;
    border-radius: 20px;
    padding: 10px;
}

.hs-book-pedestal::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 8%;
    right: 8%;
    height: 42px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(14px);
}

/* The Book Hardcover Frame */
.hs-book {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #250d1e;
    border-radius: 16px;
    box-shadow: 0 32px 85px -15px rgba(0, 0, 0, 0.9),
                0 0 50px rgba(203, 96, 150, 0.25),
                inset 0 0 20px rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(203, 96, 150, 0.35);
    overflow: hidden;
    display: flex;
    perspective: 2600px;
}

/* Center Spine Crease Effect */
.hs-book-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 38px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.38) 0%, 
        rgba(0, 0, 0, 0.15) 30%, 
        rgba(255, 255, 255, 0.22) 48%, 
        rgba(203, 96, 150, 0.28) 50%,
        rgba(0, 0, 0, 0.15) 65%, 
        rgba(0, 0, 0, 0.42) 100%);
    z-index: 50;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

/* Silk Ribbon */
.hs-book-ribbon {
    position: absolute;
    top: -4px;
    left: calc(50% + 4px);
    width: 14px;
    height: 85px;
    background: linear-gradient(180deg, #cb6096 0%, #984870 80%, transparent 100%);
    border-radius: 0 0 4px 4px;
    z-index: 55;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

/* Base Spread Container */
.hs-book-base-spread {
    width: 100%;
    height: 100%;
    display: flex;
    min-height: 600px;
    background: #fffdf9;
    background-image: radial-gradient(#ece4da 0.75px, transparent 0.75px);
    background-size: 16px 16px;
    box-shadow: inset 0 0 40px rgba(184, 134, 11, 0.08);
}

/* Left & Right Page Halves */
.hs-page-half {
    flex: 1;
    width: 50%;
    padding: 38px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

.hs-page-left {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(to right, #f8f2eb 0%, #fffdfa 90%, #eee3d5 100%);
}

.hs-page-right {
    background: linear-gradient(to left, #f8f2eb 0%, #fffdfa 90%, #eee3d5 100%);
}

/* --------------------------------------------------------------------------
   ZERO-GLITCH NO-MIRROR 3D PAGE FLIP LEAVES
   -------------------------------------------------------------------------- */
.hs-flip-leaf-right {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    transform-origin: left center;
    padding: 38px 44px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 45;
    background: linear-gradient(to left, #f8f2eb 0%, #fffdfa 90%, #eee3d5 100%);
    box-shadow: inset 0 0 35px rgba(184, 134, 11, 0.06);
    pointer-events: none;
    overflow: hidden;
}

.hs-flip-leaf-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    transform-origin: right center;
    padding: 38px 44px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 45;
    background: linear-gradient(to right, #f8f2eb 0%, #fffdfa 90%, #eee3d5 100%);
    box-shadow: inset 0 0 35px rgba(184, 134, 11, 0.06);
    pointer-events: none;
    overflow: hidden;
}

/* Animation classes: Never exceeds 90deg, so text is NEVER inverted or mirrored! */
.hs-flip-leaf-right.animating-lift {
    display: flex;
    animation: hsLiftRightLeaf 0.4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.hs-flip-leaf-left.animating-land {
    display: flex;
    animation: hsLandLeftLeaf 0.4s cubic-bezier(0, 0, 0.2, 1) forwards;
}

.hs-flip-leaf-left.animating-lift-back {
    display: flex;
    animation: hsLiftLeftLeaf 0.4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.hs-flip-leaf-right.animating-land-back {
    display: flex;
    animation: hsLandRightLeaf 0.4s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes hsLiftRightLeaf {
    0% {
        transform: perspective(2200px) rotateY(0deg) scaleY(1);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(1);
    }
    100% {
        transform: perspective(2200px) rotateY(-90deg) scaleY(0.97);
        box-shadow: -20px 0 35px rgba(0,0,0,0.45);
        filter: brightness(0.85);
    }
}

@keyframes hsLandLeftLeaf {
    0% {
        transform: perspective(2200px) rotateY(90deg) scaleY(0.97);
        box-shadow: 20px 0 35px rgba(0,0,0,0.45);
        filter: brightness(0.85);
    }
    100% {
        transform: perspective(2200px) rotateY(0deg) scaleY(1);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(1);
    }
}

@keyframes hsLiftLeftLeaf {
    0% {
        transform: perspective(2200px) rotateY(0deg) scaleY(1);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(1);
    }
    100% {
        transform: perspective(2200px) rotateY(90deg) scaleY(0.97);
        box-shadow: 20px 0 35px rgba(0,0,0,0.45);
        filter: brightness(0.85);
    }
}

@keyframes hsLandRightLeaf {
    0% {
        transform: perspective(2200px) rotateY(-90deg) scaleY(0.97);
        box-shadow: -20px 0 35px rgba(0,0,0,0.45);
        filter: brightness(0.85);
    }
    100% {
        transform: perspective(2200px) rotateY(0deg) scaleY(1);
        box-shadow: 0 0 0 rgba(0,0,0,0);
        filter: brightness(1);
    }
}

/* Page Header Ornament */
.hs-page-ornament {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed rgb(203 96 150 / 58%);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.hs-chapter-tag {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a44877;
}

.hs-page-folio {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #8c7355;
    font-style: italic;
}

/* Image Frame Inside Left Page */
.hs-book-img-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
    outline: 1px solid rgba(184, 134, 11, 0.3);
    margin-bottom: 16px;
    background: #111;
}

.hs-book-img {
    height: 340px;
    width: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s ease;
}

.hs-book-img-frame:hover .hs-book-img {
    transform: scale(1.03);
}

.hs-book-img-caption {
    background: rgba(25, 10, 20, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

/* Pullquote Inside Left Page */
.hs-book-quote-box {
    background: rgba(203, 96, 150, 0.08);
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-top: auto;
}

.hs-book-quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    color: #4b1f35;
    line-height: 1.5;
    margin-bottom: 4px;
}

.hs-book-quote-author {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a44877;
}

/* Right Page Typography */
.hs-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: #1a0815;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hs-page-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.hs-page-body-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #3b2230;
    margin-bottom: 14px;
}

.hs-dropcap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 40px;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 2px;
    color: #8b2b5b;
    font-weight: 700;
}

.hs-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.hs-highlights-list li {
    font-size: 13.5px;
    color: #4a283e;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.08);
}

.hs-highlights-list li i {
    color: var(--primary);
    margin-top: 3px;
}

.hs-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(184, 134, 11, 0.35);
    padding-top: 10px;
    margin-top: auto;
    font-size: 12px;
    color: #7b6245;
}

.hs-signature-stamp {
    font-family: 'Playfair Display', cursive;
    font-size: 16px;
    color: #8b2b5b;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Navigation Arrows
   -------------------------------------------------------------------------- */
.hs-book-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(203, 96, 150, 0.95), rgba(139, 43, 91, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(203, 96, 150, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hs-book-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.15);
    background: linear-gradient(135deg, #e06fa7, #a4306c);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(203, 96, 150, 0.7);
    color: #ffffff;
}

.hs-book-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.hs-book-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(80%);
}

.hs-book-arrow-prev {
    left: -30px;
}

.hs-book-arrow-next {
    right: -30px;
}

.hs-book-arrow::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.hs-book-arrow:hover::after {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   PIVOTAL TURNING POINTS IN HER CAREER (LUXURY VISUAL TIMELINE FORMAT)
   -------------------------------------------------------------------------- */
.hs-timeline-section {
    background-color: #fff9fc;
    position: relative;
    padding: 70px 0;
}

.hs-timeline-container {
    position: relative;
    max-width: 1040px;
    margin: 40px auto 0;
    padding: 20px 0;
}

/* Center Glowing Timeline Spine */
.hs-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, 
        rgba(203, 96, 150, 0.1) 0%, 
        var(--primary) 15%, 
        #8b2b5b 50%, 
        var(--primary) 85%, 
        rgba(203, 96, 150, 0.1) 100%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(203, 96, 150, 0.35);
}

/* Individual Timeline Row */
.hs-timeline-row {
    display: flex;
    position: relative;
    margin-bottom: -180px;
    width: 100%;
}

.hs-timeline-row:last-child {
    margin-bottom: 0;
}

/* Left vs Right Rows */
.hs-timeline-row.left {
    justify-content: flex-start;
}

.hs-timeline-row.right {
    justify-content: flex-end;
}

/* Center Pulsing Icon Node */
.hs-timeline-node {
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translate(-50%, 0);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(203, 96, 150, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.hs-timeline-row:hover .hs-timeline-node {
    transform: translate(-50%, 0) scale(1.15);
    /*box-shadow: 0 0 0 6px rgba(203, 96, 150, 0.4), 0 10px 25px rgba(203, 96, 150, 0.5);*/
}

/* Timeline Card */
.hs-timeline-content {
    width: 44%;
    position: relative;
}

.hs-timeline-card-v3 {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(203, 96, 150, 0.2);
    box-shadow: 0 14px 40px rgba(139, 43, 91, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hs-timeline-card-v3:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(139, 43, 91, 0.16);
    border-color: rgba(203, 96, 150, 0.5);
}

.hs-timeline-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #111;
}

.hs-timeline-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.5s ease;
}

.hs-timeline-card-v3:hover .hs-timeline-card-img {
    transform: scale(1.06);
}

.hs-timeline-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(20 8 18 / 22%) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px 18px;
}

.hs-timeline-era-pill {
    background: rgba(203, 96, 150, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hs-timeline-card-body {
    padding: 24px 22px;
}

.hs-timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a0815;
    line-height: 1.35;
    margin-bottom: 6px;
}

.hs-timeline-sub {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.hs-timeline-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #553347;
    margin-bottom: 14px;
}

.hs-timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed rgba(203, 96, 150, 0.2);
}

.hs-timeline-tag {
    font-size: 11.5px;
    font-weight: 600;
    background: #fff5fa;
    color: #8b2b5b;
    border: 1px solid rgba(203, 96, 150, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Four Pillars / Dimensions Section (Dark Theme)
   -------------------------------------------------------------------------- */
.hs-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 96, 150, 0.22);
    border-radius: 20px;
    padding: 34px 28px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.hs-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hs-glass-card:hover {
    background: rgba(203, 96, 150, 0.1);
    transform: translateY(-8px);
    border-color: rgba(203, 96, 150, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(203, 96, 150, 0.25);
}

.hs-glass-card:hover::before {
    opacity: 1;
}

.hs-glass-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(203, 96, 150, 0.3), rgba(203, 96, 150, 0.1));
    border: 1px solid rgba(203, 96, 150, 0.4);
    color: #ffb7dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.hs-glass-card:hover .hs-glass-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   PRINCIPLES SECTION WITH IMAGES & LUXURY STYLING
   -------------------------------------------------------------------------- */
.hs-principle-card-v2 {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(203, 96, 150, 0.2);
    box-shadow: 0 12px 35px rgba(139, 43, 91, 0.07);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hs-principle-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(139, 43, 91, 0.16);
    border-color: rgba(203, 96, 150, 0.5);
}

.hs-principle-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.hs-principle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hs-principle-card-v2:hover .hs-principle-card-img {
    transform: scale(1.08);
}

.hs-principle-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(20 8 18 / 10%) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.hs-principle-badge {
    align-self: flex-start;
    background: rgba(203, 96, 150, 0.9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hs-principle-number-stamp {
    align-self: flex-end;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hs-principle-content-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hs-principle-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: #1a0c16;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hs-principle-quote-snippet {
    background: #fff5fa;
    border-left: 3px solid var(--primary);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 13.5px;
    color: #8b2b5b;
    margin-bottom: 14px;
    line-height: 1.5;
}

.hs-principle-desc {
    font-size: 14px;
    color: #553347;
    line-height: 1.65;
    margin-bottom: 16px;
}

.hs-principle-takeaways {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(203, 96, 150, 0.25);
}

.hs-principle-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hs-principle-takeaways li {
    font-size: 12.5px;
    color: #6a3e59;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hs-principle-takeaways li i {
    color: var(--primary);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   CTA Section (Dark & Rose Accent)
   -------------------------------------------------------------------------- */
.hs-cta-box {
    background: linear-gradient(135deg, #300f24 0%, #1a0815 100%);
    border-radius: 28px;
    padding: 60px 40px;
    border: 1px solid rgba(203, 96, 150, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(203, 96, 150, 0.2);
    position: relative;
    overflow: hidden;
}

.hs-cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(203, 96, 150, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hs-book {
        min-height: auto;
        flex-direction: column;
    }
    
    .hs-book-base-spread {
        flex-direction: column;
        min-height: 820px;
    }

    .hs-page-half {
        width: 100%;
        flex: none;
        padding: 28px 24px;
    }

    .hs-page-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .hs-book-spine,
    .hs-book-ribbon,
    .hs-flip-leaf-right,
    .hs-flip-leaf-left {
        display: none !important;
    }

    .hs-book-arrow-prev {
        left: 5px;
    }

    .hs-book-arrow-next {
        right: 5px;
    }

    .hs-book-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Timeline on tablet / mobile */
    .hs-timeline-container::before {
        left: 28px;
    }

    .hs-timeline-row {
        justify-content: flex-end !important;
        margin-bottom: 40px;
    }

    .hs-timeline-node {
        left: 28px;
    }

    .hs-timeline-content {
        width: calc(100% - 70px);
    }
}

@media (max-width: 767.98px) {
    .hs-hero {
        padding: 70px 0 50px;
    }

    .hs-book-section {
        padding: 60px 0 80px;
    }

    .hs-chapter-pills {
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .hs-chapter-pill {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
    }

    .hs-base-spread {
        min-height: 900px;
    }

    .hs-page-half {
        padding: 20px 16px;
    }

    .hs-book-img {
        height: 200px;
    }

    .hs-cta-box {
        padding: 40px 20px;
    }

    .hs-timeline-card-img-wrap {
        height: 170px;
    }
}
.left .hs-timeline-node::before {
    background: var(--primary);
    height: 30px;
    width: 30px;
    content: '';
    left: -2px;
    position: absolute;
    transform: rotate(45deg);
    z-index: -1;
}
.left .hs-timeline-node::after {
    content: '';
    background: #e2c2d3;
    width: 30px;
    height: 30px;
    left: -15px;
    position: absolute;
    z-index: -2;
    transform: rotate(45deg);
}

.right .hs-timeline-node::before {
    background: var(--primary);
    height: 30px;
    width: 30px;
    content: '';
    right: -2px;
    position: absolute;
    transform: rotate(45deg);
    z-index: -1;
}
.right .hs-timeline-node::after {
    content: '';
    background: #e2c2d3;
    width: 30px;
    height: 30px;
    right: -15px;
    position: absolute;
    z-index: -2;
    transform: rotate(45deg);
}