/* Developed by Syntrix PH — https://www.syntrixph.com */
html {
    scroll-behavior: smooth;
}

.story-page .auto-container {
    padding-left: clamp(16px, 3.5vw, 24px);
    padding-right: clamp(16px, 3.5vw, 24px);
}

.story-hero-grid > *,
.story-split > *,
.story-intro-layout > *,
.story-today-layout > * {
    min-width: 0;
}

.story-page .travelik-header-area {
    background: #122327;
}

#ely-journey {
    scroll-margin-top: 88px;
}

.story-eyebrow,
.story-stat strong,
.story-year,
.story-highlight,
.story-quote-block cite,
.story-timeline-item h3,
.story-founder-quote figcaption strong,
.story-verse strong,
.story-today-stat strong,
.story-chapter {
    color: #F5C518 !important;
    -webkit-text-fill-color: #F5C518 !important;
}

.story-eyebrow {
    display: inline-block;
    font-family: var(--text-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-left: 42px;
}

.story-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: #F5C518;
    transform: translateY(-50%);
}

.story-h1,
.story-h2 {
    font-family: var(--title-font);
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.02em;
}

.story-h1 {
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.9;
    margin: 0 0 24px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.story-h2 {
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.05;
    margin: 0 0 28px;
}

.story-lead {
    font-family: var(--text-font);
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
    max-width: 560px;
}

.story-hero-copy .story-lead + .story-lead {
    margin-top: 12px;
}

.story-body,
.story-body p,
.story-section--dark .story-body p,
.story-section--navy .story-body p,
.story-today .story-body p,
.story-cta .story-body {
    font-family: var(--text-font);
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
}

.story-body p + p {
    margin-top: 18px;
}

.story-section--light .story-h2,
.story-section--warm .story-h2 {
    color: #122327;
}

.story-section--light .story-body,
.story-section--light .story-body p,
.story-section--light .story-lead,
.story-section--warm .story-body,
.story-section--warm .story-body p {
    color: #3a4b50;
}

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F5C518;
    color: #1C2D31;
    font-family: var(--title-font);
    font-size: 18px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 30px;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.story-hero-cta {
    margin-top: 28px;
}

.story-btn:hover {
    background: #fff;
    color: #122327;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 197, 24, 0.22);
}

.story-btn:focus-visible,
.story-btn-ghost:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.story-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.story-btn-ghost:hover {
    background: #F5C518;
    border-color: #F5C518;
    color: #1C2D31;
}

.story-hero {
    position: relative;
    min-height: calc(100svh - 92px);
    display: flex;
    align-items: flex-end;
    background:
        radial-gradient(ellipse at 78% 48%, rgba(245, 197, 24, 0.18) 0%, rgba(13, 26, 29, 0) 48%),
        #0d1a1d url(../about/about-bg.png) center / cover no-repeat;
    padding: 12px 0 0;
    overflow: hidden;
}

.story-hero-glow {
    position: absolute;
    right: 4%;
    top: 18%;
    width: min(520px, 46vw);
    height: min(520px, 46vw);
    background: radial-gradient(circle, rgba(245, 197, 24, 0.32) 0%, rgba(245, 197, 24, 0.08) 42%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: story-glow 7s ease-in-out infinite;
}

.story-hero-watermark {
    position: absolute;
    right: -4%;
    top: 42%;
    width: 120%;
    margin: 0;
    font-family: var(--title-font);
    font-size: clamp(18px, 2.1vw, 28px);
    letter-spacing: 0.42em;
    color: rgba(255, 255, 255, 0.07);
    text-align: right;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    transform: translateY(-50%);
}

.story-hero .auto-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.story-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: end;
}

.story-hero-copy {
    position: relative;
    z-index: 2;
    padding: 36px 20px 72px 0;
    align-self: center;
}

.story-hero-portrait {
    position: relative;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-portrait-light {
    position: absolute;
    left: 50%;
    top: 18%;
    width: 72%;
    height: 62%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245, 197, 24, 0.34) 0%, transparent 68%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
    animation: story-glow 6.5s ease-in-out infinite;
}

.story-hero-portrait img,
.story-quote-portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 118%;
    max-width: 720px;
    height: auto;
    max-height: min(86vh, 820px);
    margin-left: -4%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45));
}

.story-hero-portrait img.is-floating {
    animation: story-float 7s ease-in-out infinite;
}

.story-founder-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px 12px 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(13, 26, 29, 0) 0%, rgba(13, 26, 29, 0.9) 70%);
}

.story-founder-meta strong {
    display: block;
    font-family: var(--title-font);
    font-size: 28px;
    letter-spacing: 0.16em;
    color: #fff;
    line-height: 1;
}

.story-founder-meta span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

.story-section {
    padding: 110px 0;
    position: relative;
}

.story-section--dark {
    background: #122327;
}

.story-section--navy {
    background: #0d1a1d;
}

.story-section--light {
    background: #f4f7f7;
}

.story-section--warm {
    background: linear-gradient(180deg, #edf2f2 0%, #e7eeee 100%);
}

.story-narrow {
    max-width: 760px;
}

.story-intro-layout,
.story-today-layout {
    display: grid;
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.story-chapter {
    font-family: var(--title-font);
    font-size: clamp(72px, 10vw, 140px);
    line-height: 0.8;
    margin: 6px 0 0;
    opacity: 0.92;
}

.story-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.story-pull {
    margin: 36px 0 0;
    padding-left: 22px;
    border-left: 3px solid #F5C518;
    font-family: var(--title-font);
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.25;
    letter-spacing: 0.03em;
    color: #122327;
    text-transform: uppercase;
}

.story-section--dark .story-pull,
.story-section--navy .story-pull {
    color: #fff;
}

.story-stat {
    position: relative;
    margin-top: 56px;
    overflow: hidden;
}

.story-stat-ghost {
    position: absolute;
    left: -12px;
    top: -18px;
    font-family: var(--title-font);
    font-size: clamp(140px, 22vw, 280px);
    line-height: 0.75;
    color: rgba(245, 197, 24, 0.07) !important;
    -webkit-text-fill-color: rgba(245, 197, 24, 0.07) !important;
    pointer-events: none;
    user-select: none;
}

.story-stat strong {
    position: relative;
    display: block;
    font-family: var(--title-font);
    font-size: clamp(92px, 14vw, 168px);
    line-height: 0.85;
    letter-spacing: 0.02em;
}

.story-stat span {
    position: relative;
    display: block;
    margin-top: 14px;
    max-width: 420px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
}

.story-quote-block {
    position: relative;
    margin: 56px 0 36px;
    max-width: 680px;
    padding: 8px 0 8px 8px;
}

.story-quote-mark {
    position: absolute;
    left: -8px;
    top: -38px;
    font-family: var(--title-font);
    font-size: 140px;
    line-height: 1;
    color: rgba(245, 197, 24, 0.18);
    pointer-events: none;
}

.story-quote-block p {
    position: relative;
    font-family: var(--title-font);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.story-quote-block cite {
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.story-milestone {
    background:
        linear-gradient(90deg, rgba(245, 197, 24, 0.08) 0%, rgba(18, 35, 39, 0) 42%),
        #122327;
}

.story-year {
    font-family: var(--title-font);
    font-size: clamp(80px, 12vw, 140px);
    line-height: 0.85;
    margin-bottom: 18px;
}

.story-brand-stack {
    margin-top: 28px;
    font-family: var(--title-font);
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.08em;
}

.story-brand-stack span {
    display: block;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.18em;
    margin-top: 8px;
}

.story-timeline {
    position: relative;
    max-width: 820px;
    margin: 28px auto 0;
}

.story-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, #F5C518 0%, rgba(245, 197, 24, 0.15) 100%);
    transform-origin: top;
}

.story-timeline-item {
    position: relative;
    padding: 0 0 46px 56px;
}

.story-timeline-item:last-child {
    padding-bottom: 0;
}

.story-timeline-item::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #F5C518;
    box-shadow: 0 0 0 7px rgba(245, 197, 24, 0.12);
}

.story-timeline-item h3 {
    font-family: var(--title-font);
    font-size: 22px;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
}

.story-timeline-item p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.76);
    max-width: none;
}

.story-today {
    background:
        linear-gradient(180deg, rgba(13, 26, 29, 0.28) 0%, rgba(13, 26, 29, 0.72) 100%),
        #0d1a1d url(../about/footer-bg.jpg) center / cover no-repeat;
}

.story-today .story-h2,
.story-meaning .story-h2 {
    max-width: 720px;
}

.story-today-stat strong {
    display: block;
    font-family: var(--title-font);
    font-size: clamp(96px, 12vw, 168px);
    line-height: 0.8;
}

.story-today-stat span {
    display: block;
    margin-top: 12px;
    max-width: 180px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.story-give {
    padding-bottom: 72px;
}

.story-give-copy {
    max-width: 760px;
}

.story-advocacy {
    margin-top: 48px;
}

.story-advocacy-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.story-advocacy-track {
    display: flex;
    width: max-content;
    animation: story-advocacy-scroll 42s linear infinite;
}

.story-advocacy-marquee:hover .story-advocacy-track,
.story-advocacy-marquee:focus-within .story-advocacy-track {
    animation-play-state: paused;
}

.story-advocacy-group {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

.story-advocacy-item {
    position: relative;
    margin: 0;
    flex: 0 0 auto;
    width: min(320px, 72vw);
    height: 340px;
    overflow: hidden;
    border-radius: 14px;
    background: #0d1a1d;
}

.story-advocacy-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.story-advocacy-item:hover img {
    transform: scale(1.05);
}

.story-advocacy-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(245, 197, 24, 0.5);
    background:
        linear-gradient(180deg, rgba(245, 197, 24, 0.08) 0%, rgba(13, 26, 29, 0.4) 100%);
    color: #F5C518;
    text-align: center;
    padding: 20px;
}

.story-advocacy-slot span {
    font-family: var(--title-font);
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-advocacy-note {
    margin: 18px auto 0;
    max-width: 720px;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes story-advocacy-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.story-highlight {
    margin-top: 40px;
    font-family: var(--title-font);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-founder-quote {
    background:
        radial-gradient(ellipse at 22% 58%, rgba(245, 197, 24, 0.14) 0%, rgba(9, 15, 17, 0) 48%),
        #090f11;
    padding: 80px 0 72px;
    overflow: hidden;
}

.story-founder-quote-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 24px 48px;
    align-items: end;
}

.story-quote-portrait {
    position: relative;
    margin: 0;
    text-align: center;
}

.story-quote-portrait img {
    max-height: 620px;
}

.story-founder-quote blockquote {
    margin: 0 0 28px;
}

.story-founder-quote blockquote p {
    font-family: var(--title-font);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.18;
    color: #fff;
    text-transform: uppercase;
    max-width: none;
}

.story-founder-quote figcaption {
    margin-top: 28px;
}

.story-founder-quote figcaption strong {
    display: block;
    font-family: var(--title-font);
    font-size: 24px;
    letter-spacing: 0.16em;
}

.story-founder-quote figcaption span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.story-verse {
    background: #090f11;
    padding: 0 0 90px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.story-verse p {
    margin: 36px auto 0;
    max-width: 640px;
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
}

.story-verse strong {
    display: block;
    margin-top: 16px;
    font-family: var(--title-font);
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.22em;
}

.story-verse span {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.45);
}

.story-cta {
    background: linear-gradient(180deg, #122327 0%, #1c2d31 100%);
    padding: 90px 0 100px;
    text-align: center;
}

.story-cta .story-h2 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.story-cta .story-body {
    margin: 0 auto 32px;
}

.story-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.story-cta-note {
    margin-top: 22px;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes story-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes story-glow {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1199px) {
    .story-hero {
        min-height: auto;
    }

    .story-hero-portrait img,
    .story-quote-portrait img {
        width: 100%;
        max-width: 560px;
        margin-left: 0;
        max-height: min(72vh, 680px);
    }

    .story-section {
        padding: 88px 0;
    }

    .story-hero-copy {
        padding: 28px 12px 48px 0;
    }
}

@media (max-width: 991px) {
    .story-hero {
        min-height: 0;
        align-items: stretch;
        padding: 84px 0 8px;
    }

    .story-hero-grid,
    .story-split,
    .story-founder-quote-grid,
    .story-intro-layout,
    .story-today-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .story-hero-copy {
        padding: 8px 0 12px;
        order: 1;
        align-self: start;
    }

    .story-hero-portrait {
        order: 2;
    }

    .story-hero-portrait img,
    .story-quote-portrait img {
        width: 100%;
        max-height: 420px;
        max-width: 380px;
        margin: 0 auto;
    }

    .story-hero-watermark {
        display: none;
    }

    .story-hero-glow {
        right: auto;
        left: calc(50% - 140px);
        width: 280px;
        height: 280px;
        top: 58%;
    }

    .story-founder-meta {
        position: static;
        background: transparent;
        padding: 8px 0 16px;
    }

    .story-founder-meta strong {
        font-size: 22px;
    }

    .story-chapter {
        font-size: 64px;
        margin-bottom: 4px;
    }

    .story-section {
        padding: 64px 0;
    }

    .story-give {
        padding-bottom: 48px;
    }

    .story-h2 {
        font-size: clamp(30px, 7vw, 44px);
        margin-bottom: 20px;
    }

    .story-founder-quote {
        padding: 56px 0 40px;
    }

    .story-founder-quote-grid figure:first-child {
        order: 2;
    }

    .story-founder-quote-grid figure:last-child {
        order: 1;
    }

    .story-founder-quote blockquote {
        margin-bottom: 12px;
    }

    .story-quote-portrait img {
        max-height: 360px;
    }

    .story-advocacy-item {
        height: 280px;
    }

    .story-quote-mark {
        left: 0;
    }
}

@media (max-width: 767px) {
    .story-hero {
        padding-top: 76px;
    }

    .story-section {
        padding: 52px 0;
    }

    .story-lead {
        font-size: 16px;
    }

    .story-stat strong {
        font-size: clamp(72px, 22vw, 120px);
    }

    .story-year {
        font-size: clamp(64px, 20vw, 100px);
    }

    .story-highlight {
        font-size: clamp(24px, 8vw, 36px);
    }

    .story-today-stat span {
        max-width: none;
    }

    .story-advocacy {
        margin-top: 32px;
    }

    .story-advocacy-item {
        width: min(240px, 78vw);
        height: 240px;
    }

    .story-advocacy-marquee {
        mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }

    .story-cta {
        padding: 64px 0 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .story-hero-glow,
    .story-portrait-light,
    .story-hero-portrait img.is-floating,
    .story-advocacy-item img {
        animation: none !important;
        transition: none !important;
    }

    .story-advocacy-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding: 0 16px;
    }

    .story-advocacy-group {
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0;
        gap: 12px;
    }

    .story-advocacy-group[aria-hidden="true"] {
        display: none;
    }

    .story-advocacy-marquee {
        mask-image: none;
        overflow: visible;
    }
}

@media (max-width: 575px) {
    .story-h1 {
        font-size: 34px;
    }

    .story-lead,
    .story-body,
    .story-body p {
        font-size: 16px;
        line-height: 1.7;
        max-width: none;
    }

    .story-eyebrow {
        font-size: 11px;
        letter-spacing: 0.18em;
        padding-left: 32px;
        margin-bottom: 12px;
    }

    .story-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .story-cta-actions {
        flex-direction: column;
    }

    .story-timeline-item {
        padding-left: 36px;
    }

    .story-quote-mark {
        font-size: 88px;
        top: -18px;
    }

    .story-founder-quote blockquote p {
        font-size: 24px;
    }

    .story-hero-portrait img,
    .story-quote-portrait img {
        max-height: 340px;
    }

    .story-advocacy-item {
        width: 210px;
        height: 210px;
    }
}
