﻿/* =========================================================
   about.css  —  about.aspx only
   Link AFTER style.css. All rules scoped to .about-page.
========================================================= */

/* ── Visual column ── */
.about-page .about-section .about-visual {
    height: 600px;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
}

/* ── Circle: centred around the ladies ── */
.about-page .about-section .about-circle {
    display: block;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    z-index: 0;
    pointer-events: none;
}

/* ── Ladies: centred horizontally inside circle ── */
.about-page .about-section .about-ladies {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);   /* true center */
    width: 78%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    margin: 0;
}

/* ── Notebook TOP: closer to top, shifted more left/inside ── */
.about-page .about-section .notebook-top {
    top: 30%;
    right: 5%;
    left: auto;
    bottom: auto;
    width: 300px;
    z-index: 4;
}

/* ── Notebook BOTTOM: moved more inside from left edge ── */
.about-page .about-section .notebook-bottom {
    top: 62%;
    bottom: auto;
    left: 4%;           /* was -8% — move inside, not hanging outside */
    right: auto;
    width: 340px;
    z-index: 4;
}

/* ── Paragraph spacing ── */
.about-page .about-section .about-desc {
    margin-bottom: 20px;
}
.about-page .about-section .about-desc:last-of-type {
    margin-bottom: 28px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .about-page .about-section .about-visual {
        height: 540px;
    }
    .about-page .about-section .about-circle {
        top: 10%;
        width: 82%;
        max-width: 420px;
    }
    .about-page .about-section .about-ladies {
        width: 75%;
        max-width: 390px;
        transform: translateX(-50%);
    }
    .about-page .about-section .notebook-top {
        top: 14%;
        right: -2%;
        width: 240px;
    }
    .about-page .about-section .notebook-bottom {
        top: 62%;
        left: -2%;
        width: 285px;
    }
}

@media (max-width: 768px) {
    .about-page .about-section .about-visual {
        height: 480px;
        max-width: 500px;
    }
    .about-page .about-section .about-circle {
        top: 10%;
        width: 82%;
        max-width: 360px;
    }
    .about-page .about-section .about-ladies {
        width: 72%;
        max-width: 320px;
        transform: translateX(-50%);
    }
    .about-page .about-section .notebook-top {
        top: 12%;
        right: 0%;
        width: 195px;
    }
    .about-page .about-section .notebook-bottom {
        top: 63%;
        left: 0%;
        width: 235px;
    }
}

@media (max-width: 560px) {
    .about-page .about-section .about-visual {
        height: 390px;
        max-width: 400px;
    }
    .about-page .about-section .about-circle {
        top: 10%;
        max-width: 295px;
    }
    .about-page .about-section .about-ladies {
        width: 74%;
        max-width: 300px;
        transform: translateX(-50%);
    }
    .about-page .about-section .notebook-top {
        top: 25%;
        right: 0%;
        width: 158px;
    }
    .about-page .about-section .notebook-bottom {
        top: 63%;
        left: 0%;
        width: 190px;
    }
}

@media (max-width: 380px) {
    .about-page .about-section .about-visual {
        height: 320px;
        max-width: 340px;
    }
    .about-page .about-section .about-circle {
        max-width: 245px;
    }
    .about-page .about-section .about-ladies {
        width: 76%;
        max-width: 230px;
        transform: translateX(-50%);
    }
    .about-page .about-section .notebook-top {
        width: 130px;
    }
    .about-page .about-section .notebook-bottom {
        width: 158px;
    }
}
/* =========================================================
   VISIONARIES SECTION — visionaries.css
   Standalone CSS — link separately in about.aspx head.
   No scoping needed: this section only exists on about.aspx.
========================================================= */

.visionaries-section {
    background: #FDF5ED;
    width: 100%;
    padding: 60px 20px 80px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

/* ── Heading ── */
.visionaries-heading {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #552709;
    margin: 0 0 40px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ── Stage ── */
.visionaries-stage {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Doodle: large, fills full stage, slow rotation ── */
.visionaries-doodle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    animation: visionaries-spin 40s linear infinite;
    transform-origin: center center;
}

@keyframes visionaries-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ── Circle wrap ── */
.visionaries-circle-wrap {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 540px;
    height: 540px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    outline-offset: 6px;
}

.visionaries-ladies {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ── Name tag base — DESKTOP UNCHANGED ── */
.visionaries-tag {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 180px;
}

    /* Sticker bg */
    .visionaries-tag .tag-sticker {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
        z-index: 0;
    }

    /* Text on sticker */
    .visionaries-tag .tag-text {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-left: 0;
        padding-top: 16px;
        gap: 1px;
    }

    .visionaries-tag .tag-name {
        font-family: 'Cormorant Infant', serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: #411C05;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
    }

    .visionaries-tag .tag-role {
        font-family: 'Cormorant Infant', serif;
        font-size: 1rem;
        font-weight: 500;
        color: #936C53;
        white-space: nowrap;
        text-align: right;
        width: 100%;
        padding-right: 60px;
        padding-bottom: 20px;
    }

    /* ── Tag LEFT (Nishi Shah) ── */
    .visionaries-tag.tag-left {
        top: 50%;
        left: 50%;
        transform: translateX(-105%);
        bottom: auto;
    }

    /* ── Tag RIGHT (Gopi Shah) ── */
    .visionaries-tag.tag-right {
        top: 60%;
        left: 50%;
        transform: translateX(8%);
        bottom: auto;
    }


/* =========================================================
   RESPONSIVE — 1024px
========================================================= */
@media (max-width: 1024px) {
    .visionaries-stage {
        height: 640px;
        max-width: 820px;
    }

    .visionaries-circle-wrap {
        width: 460px;
        height: 460px;
    }

    .visionaries-tag {
        width: 230px;
        height: auto;
        min-height: 130px;
    }

        .visionaries-tag .tag-name {
            font-size: 1.2rem;
        }

        .visionaries-tag .tag-role {
            font-size: 0.85rem;
            padding-right: 48px;
            padding-bottom: 16px;
        }

        .visionaries-tag .tag-text {
            padding-top: 14px;
        }

        .visionaries-tag.tag-left {
            top: 60%;
            transform: translateX(-102%);
        }

        .visionaries-tag.tag-right {
            top: 70%;
            transform: translateX(6%);
        }
}

/* =========================================================
   RESPONSIVE — 768px
========================================================= */
@media (max-width: 768px) {
    .visionaries-section {
        padding: 48px 16px 64px;
    }

    .visionaries-stage {
        height: 540px;
        max-width: 640px;
    }

    .visionaries-circle-wrap {
        width: 380px;
        height: 380px;
    }

    .visionaries-tag {
        width: 195px;
        height: auto;
        min-height: 110px;
    }

        .visionaries-tag .tag-name {
            font-size: 0.95rem;
        }

        .visionaries-tag .tag-role {
            font-size: 0.7rem;
            padding-right: 36px;
            padding-bottom: 14px;
        }

        .visionaries-tag .tag-text {
            padding-top: 12px;
        }

        .visionaries-tag.tag-left {
            top: 50%;
            transform: translateX(-100%);
        }

        .visionaries-tag.tag-right {
            top: 60%;
            transform: translateX(4%);
        }
}

/* =========================================================
   RESPONSIVE — 560px
========================================================= */
@media (max-width: 560px) {
    .visionaries-stage {
        height: 440px;
        max-width: 480px;
    }

    .visionaries-circle-wrap {
        width: 250px;
        height: 250px;
    }

    .visionaries-tag {
        width: 160px;
        height: auto;
        min-height: 90px;
    }

        .visionaries-tag .tag-name {
            font-size: 0.8rem;
        }

        .visionaries-tag .tag-role {
            font-size: 0.62rem;
            padding-right: 28px;
            padding-bottom: 12px;
        }

        .visionaries-tag .tag-text {
            padding-top: 10px;
        }

        .visionaries-tag.tag-left {
            top: 50%;
            transform: translateX(-98%);
        }

        .visionaries-tag.tag-right {
            top: 60%;
            transform: translateX(3%);
        }
}

/* =========================================================
   RESPONSIVE — 380px
========================================================= */
@media (max-width: 380px) {
    .visionaries-stage {
        height: 360px;
        max-width: 360px;
    }

    .visionaries-circle-wrap {
        width: 220px;
        height: 220px;
    }

    .visionaries-tag {
        width: 130px;
        height: auto;
        min-height: 75px;
    }

        .visionaries-tag .tag-name {
            font-size: 0.68rem;
        }

        .visionaries-tag .tag-role {
            font-size: 0.56rem;
            padding-right: 20px;
            padding-bottom: 10px;
        }

        .visionaries-tag .tag-text {
            padding-top: 12px;
        }

        .visionaries-tag.tag-left {
            top: 50%;
            transform: translateX(-96%);
        }

        .visionaries-tag.tag-right {
            top: 60%;
            transform: translateX(2%);
        }
}
/* =========================================================
   journey.css  —  about.aspx only
   Link AFTER style.css and about.css.
========================================================= */

.journey-section {
    background: #FDF5ED;
    width: 100%;
    padding: 70px 20px 90px;
    box-sizing: border-box;
    overflow: hidden;
}

/* ── Heading ── */
.journey-heading-wrap {
    text-align: center;
    margin-bottom: 64px;
}

.journey-heading {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #411C05;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
}

.journey-gold {
    color: #C9A646;
    font-style: italic;
}

/* =========================================================
   TIMELINE  —  3-column CSS grid
========================================================= */
.journey-timeline {
    max-width: 1200px;
    margin: 0 auto;
}

.journey-row {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: start;
}

.jcell-left {
    padding-right: 20px;
    display: flex;
    justify-content: flex-end;
}

.jcell-right {
    padding-left: 20px;
    display: flex;
    justify-content: flex-start;
}

.jcell-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   PINCUSHION PIN  (image — no changes needed)
========================================================= */
.journey-pin {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

    .journey-pin img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

/* =========================================================
   CSS NEEDLE CONNECTOR
   Structure (all inside .journey-connector):
     .needle-eye   — oval hole at the top
     .needle-body  — the straight shaft below the eye
     .needle-taper — triangular taper from shaft to point
     .needle-point — tiny sharp tip at bottom

   The connector div itself is sized by JS (height = row
   height − pin height). The inner parts fill it flex.
========================================================= */
.journey-connector {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height set by JS */
}

/* ── Eye: oval ring at top ──
   margin-bottom: -2px overlaps shaft so no gap.      */
.needle-eye {
    width: 8px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #411C05;
    background: #FDF5ED;
    flex-shrink: 0;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* ── Body: straight shaft, flex-grows between eye and taper ── */
.needle-body {
    width: 3px;
    flex: 1 1 auto;
    background: #411C05;
    min-height: 10px;
    flex-shrink: 0;
}

/* ── Taper: triangle — same width as shaft so no offset ── */
.needle-taper {
    width: 3px;
    height: 24px;
    flex-shrink: 0;
    background: #411C05;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

/* ── Point: tiny tip, negative margin merges with taper ── */
.needle-point {
    width: 1px;
    height: 4px;
    background: #552709;
    flex-shrink: 0;
    border-radius: 0 0 1px 1px;
    margin-top: -1px;
}

/* =========================================================
   ANIMATIONS — keyframes
========================================================= */

/* Pin drops from above with bounce */
@keyframes journey-pin-drop {
    0% {
        transform: translateY(-28px) scale(0.6);
        opacity: 0;
    }

    60% {
        transform: translateY(5px) scale(1.15);
        opacity: 1;
    }

    80% {
        transform: translateY(-4px) scale(0.95);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Needle draws downward — scaleY from top */
@keyframes journey-needle-draw {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Card slides in from LEFT */
@keyframes journey-card-left {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Card slides in from RIGHT */
@keyframes journey-card-right {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Heading fades up */
@keyframes journey-heading-in {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Subtle pin float loop — runs after drop */
@keyframes journey-pin-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* =========================================================
   ANIMATION — initial hidden states
   JS adds .journey-animate class to trigger
========================================================= */

/* Heading hidden until in view */
.journey-heading-wrap {
    opacity: 0;
}

    .journey-heading-wrap.journey-animate {
        animation: journey-heading-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

/* Pin hidden until row in view */
.journey-pin {
    opacity: 0;
}

.journey-row.journey-animate .journey-pin {
    animation: journey-pin-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.1s;
}

/* After drop, float gently — added by JS after drop finishes */
.journey-pin.journey-float {
    animation: journey-pin-float 3s ease-in-out infinite;
    opacity: 1;
}

/* Connector hidden — draws downward after pin lands */
.journey-connector {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
}

.journey-row.journey-animate .journey-connector {
    animation: journey-needle-draw 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s; /* starts after pin has landed */
}

/* Left card hidden — slides in from left */
.jcell-left .journey-card {
    opacity: 0;
}

.journey-row.journey-animate .jcell-left .journey-card {
    animation: journey-card-left 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

/* Right card hidden — slides in from right */
.jcell-right .journey-card {
    opacity: 0;
}

.journey-row.journey-animate .jcell-right .journey-card {
    animation: journey-card-right 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

/* =========================================================
   HOVER — card lifts with warm shadow
========================================================= */
.journey-card {
    width: 100%;
    background: #FDF5ED;
    border: 3px dashed #552709;
    border-radius: 6px;
    padding: 16px 20px 20px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .journey-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(65, 28, 5, 0.12);
        border-color: #552709;
        border-style: solid;
    }

.journey-year {
    display: block;
    font-family: 'Cormorant Infant', serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #936C53;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.journey-title {
    font-family: 'Cormorant Infant', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #411C05;
    line-height: 1.3;
    margin: 0 0 10px;
}

.journey-body {
    font-family: 'Roboto', sans-serif;
    text-align:justify;
    font-size: 1rem;
    font-weight: 600;
    color: #936C53;
    line-height: 1.95;
    margin: 0;
}

/* =========================================================
   RESPONSIVE — 1024px
========================================================= */
@media (max-width: 1024px) {
    .journey-timeline {
        max-width: 1000px;
    }
}

/* =========================================================
   RESPONSIVE — 768px
========================================================= */
@media (max-width: 768px) {
    .journey-section {
        padding: 52px 16px 72px;
    }

    .journey-heading-wrap {
        margin-bottom: 48px;
    }

    .journey-row {
        grid-template-columns: 1fr 56px 1fr;
    }

    .jcell-left {
        padding-right: 14px;
    }

    .jcell-right {
        padding-left: 14px;
    }

    .journey-pin {
        width: 48px;
        height: 48px;
    }

    .needle-eye {
        width: 7px;
        height: 12px;
        border-width: 2px;
    }

    .needle-body {
        width: 3px;
    }

    .needle-taper {
        width: 3px;
        height: 20px;
    }

    .needle-point {
        width: 1px;
        height: 4px;
    }

    .journey-title {
        font-size: 1rem;
    }

    .journey-body {
        font-size: 0.75rem;
    }
}

/* =========================================================
   RESPONSIVE — 560px  (single column)
========================================================= */
@media (max-width: 560px) {
    .journey-section {
        padding: 44px 12px 60px;
    }

    .journey-row {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        row-gap: 12px;
    }

    .jcell-left {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        padding-left: 12px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .jcell-mid {
        grid-column: 1;
        grid-row: 1;
    }

    .jcell-right {
        grid-column: 2;
        grid-row: 1;
        padding-left: 12px;
        padding-right: 0;
    }

    .journey-pin {
        width: 36px;
        height: 36px;
    }

    .needle-eye {
        width: 6px;
        height: 10px;
        border-width: 1.5px;
    }

    .needle-body {
        width: 2px;
    }

    .needle-taper {
        width: 2px;
        height: 16px;
    }

    .needle-point {
        width: 1px;
        height: 3px;
    }

    .journey-card {
        padding: 12px 14px 16px;
    }

    .journey-title {
        font-size: 0.95rem;
    }

    .journey-body {
        font-size: 0.73rem;
    }

    .journey-year {
        font-size: 0.68rem;
    }
}

/* =========================================================
   RESPONSIVE — 380px
========================================================= */
@media (max-width: 380px) {
    .journey-section {
        padding: 36px 10px 52px;
    }

    .journey-row {
        grid-template-columns: 36px 1fr;
        row-gap: 10px;
    }

    .journey-pin {
        width: 30px;
        height: 30px;
    }

    .needle-eye {
        width: 5px;
        height: 8px;
        border-width: 1.5px;
    }

    .needle-body {
        width: 2px;
    }

    .needle-taper {
        width: 2px;
        height: 12px;
    }

    .needle-point {
        width: 1px;
        height: 2px;
    }

    .journey-card {
        padding: 10px 12px 14px;
    }

    .journey-title {
        font-size: 0.88rem;
    }

    .journey-body {
        font-size: 0.7rem;
    }

    .journey-year {
        font-size: 0.62rem;
    }
}
