.story-page { --story-ink: #243746; --story-muted: #56636b; --story-paper: #f7f5ef; --story-accent: #a8c3ce; color: var(--story-ink); background: var(--story-paper); }
.story-page .story-section { padding: 100px 0; }
.story-page h1, .story-page h2, .story-page h3 { color: inherit; }
.story-page h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.13; font-weight: 500; letter-spacing: -.045em; margin-bottom: 25px; }
.story-page p { font-size: 1rem; line-height: 1.85; }
.story-page .story-eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px; }
.story-page .story-hero { background: var(--story-ink); color: #fff; overflow: hidden; }
.story-page .story-breadcrumb { background: transparent; border: 0; display: flex; gap: 13px; padding: 26px 0; font-size: .78rem; color: #ccd7db; }
.story-page .story-breadcrumb a { color: inherit; text-underline-offset: 4px; }
.story-page .story-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 65px; align-items: center; padding: 30px 0 55px; }
.story-page .story-hero .story-eyebrow { color: var(--story-accent); }
.story-page h1 { font-size: clamp(3rem, 5.3vw, 5.1rem); font-weight: 500; line-height: 1.06; letter-spacing: -.055em; margin-bottom: 28px; }
.story-page h1 em { font-style: normal; color: var(--story-accent); }
.story-page .story-hero-copy > p { color: #d0d9dd; max-width: 490px; margin-bottom: 30px; }
.story-page .story-link { display: inline-flex; gap: 24px; align-items: center; color: var(--story-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding: 10px 0; font-size: .9rem; font-weight: 500; }
.story-page .story-link-light { color: #fff; }
.story-page .story-link span { font-size: 1.3rem; }
.story-page .story-photo { margin: 0; overflow: hidden; }
.story-page .story-photo img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .55s ease; }
.story-page .story-photo figcaption { position: relative; font-size: .72rem; line-height: 1.5; padding: 12px 0 0; color: var(--story-muted); background: var(--story-paper); }

.story-page .story-hero-images { min-width: 0; }
.story-page .story-hero-photo { padding: 8px; border: 1px solid #ffffff26; background: #ffffff05; box-shadow: 0 12px 30px -20px #0008; }
.story-page .story-hero-image-frame { overflow: hidden; }
.story-page .story-hero-photo img { aspect-ratio: 2 / 1; height: auto; object-position: center; }
.story-page .story-hero-photo figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; background: transparent; color: #c9d6dc; padding: 12px 6px 6px; }
.story-page .story-hero-photo figcaption strong { color: #fff; font-weight: 500; font-size: .9rem; }
.story-page .story-hero-photo figcaption span { font-size: .7rem; }
.story-page .story-hero-connection { display: block; position: relative; width: 1px; height: 30px; margin: 0 auto; background: #a8c3ce80; }
.story-page .story-hero-connection::after { content: ''; position: absolute; width: 5px; height: 5px; top: 12px; left: -2px; border-radius: 50%; background: var(--story-accent); }

.story-page .story-prose p { color: var(--story-muted); }
.story-page .story-prose .story-lead { color: var(--story-ink); font-size: 1.35rem; line-height: 1.6; }
.story-page .story-journey { background: #fff; }
.story-page .story-section-heading { text-align: center; max-width: 620px; margin: 0 auto 75px; }
.story-page .story-section-heading p { color: var(--story-muted); }
.story-page .story-timeline { position: relative; list-style: none; margin: 0; padding: 0; --story-progress: 1; }
.story-page .story-timeline::before, .story-page .story-timeline::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #e4e8ea; transform: translateX(-50%); }
.story-page .story-timeline::after { background: #708e9e; transform: translateX(-50%) scaleY(var(--story-progress)); transform-origin: top; }
.story-page .story-milestone { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 100px; align-items: center; padding-bottom: 85px; }
.story-page .story-milestone:last-child { padding-bottom: 0; }
.story-page .story-milestone::before { content: ''; position: absolute; top: 17px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #708e9e; transform: translateX(-50%); z-index: 1; box-shadow: 0 0 0 7px #fff; }
.story-page .story-milestone:nth-child(even) .story-entry { grid-column: 2; }
.story-page .story-entry { align-self: start; grid-column: 1; grid-row: 1; padding: 0 0 25px; }
.story-page .story-year { display: block; color: #597586; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; letter-spacing: -.06em; margin-bottom: 22px; }
.story-page .story-entry h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -.035em; margin-bottom: 18px; }
.story-page .story-entry p { color: var(--story-muted); font-size: .96rem; }
.story-page .story-milestone-major .story-entry { border-bottom: 1px solid #d8e0e4; }
.story-page .story-milestone-major .story-year { color: var(--story-ink); }
/* Images fill the opposite side of each milestone, then follow its text on mobile. */
.story-page .story-milestone-photo { grid-column: 2; grid-row: 1; width: 100%; }
.story-page .story-milestone:nth-child(even) .story-milestone-photo { grid-column: 1; }
.story-page .story-image-frame { overflow: hidden; background: var(--story-paper); }
.story-page .story-milestone-photo img { aspect-ratio: 4 / 3; }
.story-page .story-milestone-photo figcaption { background: #fff; padding-top: 14px; }
/* A quiet architectural backdrop gives the portraits depth without altering the photos. */
.story-page .story-director-photo { position: relative; isolation: isolate; max-width: 430px; padding: 30px 34px 0; justify-self: center; overflow: visible; }
.story-page .story-director-photo::before { content: ''; position: absolute; z-index: -2; inset: 0 0 55px; border-radius: 3px 65px 3px 3px; background: radial-gradient(circle at 1px 1px, #8da4ae35 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(135deg, #edf2f3, #e1e9ec 60%, #f5f2eb); }
.story-page .story-director-photo::after { content: ''; position: absolute; z-index: -1; inset: 15px 17px 78px 49px; border: 1px solid #8da4ae80; border-radius: 2px; pointer-events: none; }
.story-page .story-director-photo .story-image-frame { position: relative; border: 6px solid #fff; border-radius: 2px; box-shadow: 0 16px 35px -16px #24374666; }
.story-page .story-milestone:nth-child(even) .story-director-photo::before { border-radius: 65px 3px 3px 3px; }
.story-page .story-milestone:nth-child(even) .story-director-photo::after { left: 17px; right: 49px; }
.story-page .story-director-photo figcaption { position: relative; margin: -12px -8px 0 18px; padding: 17px 20px; border-left: 3px solid #8da4ae; box-shadow: 0 8px 24px -14px #24374655; }

.story-page .story-director-photo img { aspect-ratio: auto; }
.story-page .story-director-photo figcaption strong { display: block; color: var(--story-ink); font-size: 1rem; font-weight: 500; }
.story-page .story-director-photo figcaption span { display: block; margin-top: 4px; }

.story-page.story-motion :is(.story-entry, .story-milestone-photo) { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.story-page.story-motion :is(.story-entry, .story-milestone-photo).is-visible, .story-page.story-motion :is(.story-entry, .story-milestone-photo):focus-within { opacity: 1; transform: none; }
.story-page .story-today { color: #fff; background: var(--story-ink); }
.story-page .story-today .story-eyebrow { color: var(--story-accent); }
.story-page .story-facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 50px 0 35px; }
.story-page .story-facts > div { border-left: 1px solid #ffffff35; padding: 0 25px; }
.story-page .story-facts > div:first-child { border-left: 0; padding-left: 0; }
.story-page .story-facts strong { display: block; font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 500; line-height: 1.2; letter-spacing: -.055em; }
.story-page .story-facts span { display: block; font-size: .8rem; color: #d0d9dd; margin-top: 12px; }
.story-page .story-products { display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; border-top: 1px solid #ffffff35; padding: 30px 0 0; margin: 0; font-size: .8rem; color: #d0d9dd; }
.story-page .story-products li::before { content: '↗'; margin-right: 8px; color: var(--story-accent); }
.story-page .story-people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.story-page .story-people h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.story-page .story-people img { aspect-ratio: 5 / 4; object-position: center; }
.story-page .story-next { text-align: center; border-top: 1px solid #d9ddd9; }
.story-page .story-next p { max-width: 590px; margin: 0 auto 30px; color: var(--story-muted); }
.story-page .story-actions { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; }
.story-page .story-button { display: inline-flex; justify-content: space-between; gap: 30px; padding: 17px 23px; background: var(--story-ink); color: #fff; text-decoration: none; font-size: .9rem; }
.story-page a:focus-visible { outline: 3px solid #8caab8; outline-offset: 5px; }
.story-page section[id] { scroll-margin-top: 120px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .story-page .story-photo:hover img { transform: scale(1.025); } }
@media (max-width: 991px) {
    .story-page .story-section { padding: 70px 0; }
    .story-page .story-hero-grid { gap: 30px; padding: 35px 0 55px; }
    .story-page .story-people-grid { gap: 35px; }
    .story-page .story-milestone { gap: 60px; }
    .story-page .story-facts > div { padding: 0 15px; }
}
@media (max-width: 767px) {
    .story-page .story-section { padding: 60px 0; }
    .story-page .story-hero-grid, .story-page .story-people-grid { grid-template-columns: 1fr; gap: 35px; }
    .story-page .story-hero-photo img { aspect-ratio: 3 / 2; }
    .story-page .story-section-heading { text-align: left; margin-bottom: 45px; }
    .story-page .story-timeline::before, .story-page .story-timeline::after, .story-page .story-milestone::before { left: 8px; }
    .story-page .story-milestone { display: block; padding: 0 0 40px 38px; }
    .story-page .story-milestone-photo { margin-top: 20px; }
    .story-page .story-director-photo { padding: 22px 22px 0; margin-inline: auto; }
    .story-page .story-director-photo figcaption { margin-left: 8px; padding: 14px; }

    .story-page .story-facts { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
    .story-page .story-facts > div { padding: 0; border: 0; }
    .story-page .story-facts strong { font-size: 2.8rem; }
    .story-page .story-products { display: grid; gap: 15px; }
    .story-page .story-actions { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .story-page *, .story-page *::before, .story-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .story-page.story-motion :is(.story-entry, .story-milestone-photo) { opacity: 1; transform: none; }
    .story-page .story-timeline::after { transform: translateX(-50%) scaleY(1); }
}
@media print { .story-page.story-motion :is(.story-entry, .story-milestone-photo) { opacity: 1; transform: none; } }

.story-page .story-leadership-photo { max-width: 430px; justify-self: center; }
.story-page .story-leadership-photo img { aspect-ratio: auto; }

/* The founding verse is part of the concise opening story. */
.story-page .story-shloka { margin: 34px 0 0; padding: 25px 24px 21px; border-left: 3px solid #8da4ae; background: linear-gradient(115deg, #e6edef, #eeefea); border-radius: 0 16px 16px 0; }
.story-page .story-shloka blockquote { margin: 0 0 15px; }
.story-page .story-shloka blockquote, .story-page .story-shloka blockquote * { font-family: "Kohinoor Devanagari", "Nirmala UI", "Noto Serif Devanagari", serif !important; }
.story-page .story-shloka blockquote > span { display: block; font-size: clamp(1.05rem, 1.55vw, 1.4rem); line-height: 1.95; color: var(--story-ink); }
.story-page .story-shloka em { font-style: normal; color: #294e5d; font-weight: 700; background: #b7cdd55c; padding: 1px 4px; border-radius: 3px; }
.story-page .story-shloka figcaption { font-size: .68rem; line-height: 1.6; color: var(--story-muted); letter-spacing: .025em; }
@media (max-width: 991px) { .story-page .story-shloka { padding: 20px 16px; } }

.story-page .story-hero-copy > p { margin-bottom: 18px; }
.story-page .story-hero-copy > .story-name-summary { font-size: .92rem; color: #b9cbd3; }
.story-page .story-scroll-cue { display: inline-flex; align-items: center; gap: 16px; margin: 10px 0 0; padding: 12px 18px 12px 12px; border: 1px solid #a8c3ce66; border-radius: 4px; color: #fff; text-decoration: none; background: #ffffff08; transition: background .2s, border-color .2s; }
.story-page .story-scroll-cue:hover { background: #ffffff12; border-color: var(--story-accent); }
.story-page .story-scroll-cue strong, .story-page .story-scroll-cue small { display: block; }
.story-page .story-scroll-cue strong { font-size: .95rem; font-weight: 500; }
.story-page .story-scroll-cue small { color: #c9d6dc; font-size: .7rem; margin-top: 3px; }
.story-page .story-scroll-arrow { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--story-accent); color: var(--story-ink); font-size: 1.45rem; }
.story-page .story-hero .story-shloka { margin-top: 26px; padding: 18px 22px; border-color: #9eb8c4; background: linear-gradient(115deg, #ffffff0c, #ffffff03); }
.story-page .story-hero .story-shloka blockquote { margin-bottom: 9px; }
.story-page .story-hero .story-shloka blockquote > span { color: #e4ebee; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.story-page .story-hero .story-shloka em { color: #e0edf2; background: #a8c3ce26; }
.story-page .story-hero .story-shloka figcaption { color: #b9cbd3; }
@media (prefers-reduced-motion: no-preference) {
    .story-page .story-scroll-cue { animation: story-cue-pulse 2.4s ease-in-out infinite; }
    .story-page .story-scroll-arrow { animation: story-scroll-invite 2.4s ease-in-out infinite; }
    .story-page .story-scroll-cue:hover, .story-page .story-scroll-cue:focus-visible,
    .story-page .story-scroll-cue:hover .story-scroll-arrow, .story-page .story-scroll-cue:focus-visible .story-scroll-arrow { animation-play-state: paused; }
    @keyframes story-cue-pulse {
        0%, 100% { border-color: #a8c3ce66; background-color: #ffffff08; box-shadow: 0 0 0 0 #a8c3ce00; }
        50% { border-color: #c8e0eaff; background-color: #a8c3ce20; box-shadow: 0 0 0 5px #a8c3ce12; }
    }
    @keyframes story-scroll-invite { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
}
@media (max-width: 767px) {
    .story-page .story-hero .story-shloka { padding: 16px; }
    .story-page .story-scroll-cue { width: 100%; }
}

/* Fit the complete introduction beneath the site chrome on desktop screens. */
@media (min-width: 992px) and (min-height: 700px) {
    .story-page .story-hero { height: calc(100svh - var(--story-top-height, 146px)); min-height: 0; }
    .story-page .story-hero > .container { height: 100%; display: flex; flex-direction: column; }
    .story-page .story-breadcrumb { flex: 0 0 auto; padding: 12px 0; }
    .story-page .story-hero-grid { flex: 1; min-height: 0; padding: 8px 0 24px; gap: clamp(30px, 4vw, 65px); }
    .story-page .story-hero-copy { min-width: 0; }
    .story-page .story-hero .story-eyebrow { margin-bottom: 12px; }
    .story-page .story-hero h1 { font-size: clamp(2.5rem, 6svh, 4rem); margin-bottom: 18px; }
    .story-page .story-hero-copy > p { max-width: 560px; font-size: .94rem; line-height: 1.65; margin-bottom: 12px; }
    .story-page .story-hero-copy > .story-name-summary { font-size: .86rem; }
    .story-page .story-scroll-cue { margin-top: 4px; padding: 8px 14px 8px 8px; }
    .story-page .story-scroll-arrow { width: 36px; height: 36px; flex-basis: 36px; }
    .story-page .story-hero .story-shloka { margin-top: 16px; padding: 12px 18px; }
    .story-page .story-hero .story-shloka blockquote { margin-bottom: 5px; }
    .story-page .story-hero .story-shloka blockquote > span { font-size: 1.05rem; line-height: 1.7; }
    .story-page .story-hero-images { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) 20px minmax(0, 1fr); }
    .story-page .story-hero-photo { min-height: 0; display: flex; flex-direction: column; }
    .story-page .story-hero-image-frame { flex: 1; min-height: 0; }
    .story-page .story-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; }
    .story-page .story-hero-photo figcaption { flex: 0 0 auto; padding: 8px 4px 2px; }
    .story-page .story-hero-connection { height: 20px; }
    .story-page .story-hero-connection::after { top: 8px; }
}

.story-page .story-shloka + .story-scroll-cue { margin-top: 16px; }
