.frameup-story-page,
.frameup-story-page #page,
.frameup-story-page .site-content,
.frameup-story-page .site-content > .ast-container {
    background: #101a2a;
}

.frameup-story-page .site-content > .ast-container,
.frameup-story .ast-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.frameup-story {
    width: 100%;
    overflow: clip;
    color: #f7f9fc;
    background:
        radial-gradient(circle at 78% 8%, rgba(47, 123, 239, .16), transparent 28%),
        linear-gradient(180deg, #111c2e 0%, #172131 48%, #101a2a 100%);
}

.frameup-story .frameup-container { max-width: 1180px; }
.frameup-story h1,.frameup-story h2,.frameup-story h3,.frameup-story p { color: inherit; }
.frameup-story-eyebrow { margin: 0 0 12px; color: #6da9ff !important; font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }

.frameup-story-hero {
    position: relative;
    display: flex;
    min-height: clamp(520px, 68vh, 710px);
    align-items: center;
    isolation: isolate;
    background: linear-gradient(115deg, #101a2a 0%, #1b3050 55%, #101a2a 100%);
}
.frameup-story-hero::before,.frameup-story-hero::after { position: absolute; inset: 0; z-index: -1; content: ''; }
.frameup-story-hero.has-image::before { background-image: linear-gradient(90deg, rgba(7,14,25,.97) 0%, rgba(7,14,25,.78) 45%, rgba(7,14,25,.28) 100%), var(--frameup-story-hero); background-position: center; background-size: cover; }
.frameup-story-hero::after { background: linear-gradient(180deg, transparent 70%, #142033 100%); }
.frameup-story-hero__inner { width: 100%; padding-top: clamp(62px,8vw,100px); padding-bottom: clamp(58px,8vw,92px); }
.frameup-story-hero h1 { max-width: 820px; margin: 0 0 22px; color: #fff; font-size: clamp(46px,6vw,76px); line-height: .98; letter-spacing: -.045em; }
.frameup-story-hero h1 span { color: #69a8ff; }
.frameup-story-hero__lead { max-width: 720px; margin: 0 0 27px; color: #dce5f0 !important; font-size: clamp(18px,2vw,23px); line-height: 1.58; }
.frameup-story-scroll { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 800; text-decoration: none; }
.frameup-story-scroll span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: transform .25s ease; }
.frameup-story-scroll:hover span { transform: translateY(4px); }

.frameup-story-timeline { padding: clamp(72px,9vw,120px) 0; }
.frameup-story-section-heading { max-width: 760px; margin: 0 auto clamp(65px,8vw,100px); text-align: center; }
.frameup-story-section-heading h2,.frameup-story-mission h2,.frameup-story-manifesto h2 { margin: 0 0 18px; color: #fff; font-size: clamp(38px,5vw,62px); line-height: 1.02; letter-spacing: -.035em; }
.frameup-story-section-heading > p:last-child { margin: 0; color: #bdc9d8; font-size: 18px; line-height: 1.65; }
.frameup-story-line { position: relative; display: grid; gap: clamp(72px,10vw,126px); }
.frameup-story-line::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(180deg, transparent, #347ee5 8%, rgba(80,145,244,.35) 92%, transparent); content: ''; transform: translateX(-50%); }
.frameup-story-moment { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(58px,8vw,104px); align-items: center; }
.frameup-story-moment::before { position: absolute; top: 50%; left: 50%; z-index: 2; width: 15px; height: 15px; border: 4px solid #172131; border-radius: 50%; background: #4d94f5; box-shadow: 0 0 0 7px rgba(77,148,245,.14); content: ''; transform: translate(-50%,-50%); }
.frameup-story-moment--reverse .frameup-story-moment__media { order: 2; }
.frameup-story-moment--reverse .frameup-story-moment__content { order: 1; }
.frameup-story-moment__media { aspect-ratio: 16/10; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: #0d1727; box-shadow: 0 28px 75px rgba(0,0,0,.28); }
.frameup-story-moment__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.frameup-story-moment:hover .frameup-story-moment__media img { transform: scale(1.035); }
.frameup-story-placeholder { display: grid; width: 100%; height: 100%; place-content: center; gap: 8px; background: linear-gradient(135deg,#17243a,#22385a); color: #80b3ff; text-align: center; }
.frameup-story-placeholder span { font-size: 48px; font-weight: 900; }.frameup-story-placeholder small { color: #bdcbe0; }
.frameup-story-moment__content time { display: inline-block; margin-bottom: 13px; color: #66a6ff; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.frameup-story-moment__content h3 { margin: 0 0 18px; color: #fff; font-size: clamp(24px,2.4vw,34px); line-height: 1.12; }
.frameup-story-moment__content p { margin: 0 0 14px; color: #d1dae6; font-size: 17px; line-height: 1.7; text-align: justify; text-justify: inter-word; hyphens: auto; }
.frameup-story-moment__content em { color: #fff; }
.frameup-story-quote { position: relative; z-index: 2; width: min(620px,82%); margin: -34px auto; padding: clamp(22px,3vw,32px); border: 1px solid rgba(83,150,250,.32); border-radius: 16px; background: rgba(27,44,71,.88); text-align: center; box-shadow: 0 16px 42px rgba(0,0,0,.2); }
.frameup-story-quote p { margin: 0 0 9px; color: #fff; font-size: clamp(20px,2.35vw,29px); font-weight: 780; line-height: 1.28; }
.frameup-story-quote cite { color: #7fb3ff; font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.frameup-story-mission { padding: clamp(76px,10vw,130px) 0; background: rgba(7,14,25,.38); }
.frameup-story-mission__intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,8vw,110px); align-items: end; margin-bottom: clamp(45px,7vw,80px); }
.frameup-story-mission__intro > p { margin: 0 0 8px; color: #d4dce8; font-size: 19px; line-height: 1.72; text-align: justify; text-justify: inter-word; hyphens: auto; }
.frameup-story-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.frameup-story-pillar { min-height: 300px; padding: clamp(25px,3vw,38px); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(145deg,rgba(33,50,78,.82),rgba(17,28,46,.88)); transition: transform .3s ease,border-color .3s ease; }
.frameup-story-pillar:hover { border-color: rgba(83,150,250,.5); transform: translateY(-6px); }
.frameup-story-pillar > span { color: #629ff6; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.frameup-story-pillar h3 { margin: 60px 0 15px; color: #fff; font-size: 35px; }
.frameup-story-pillar p { margin: 0; color: #c9d3df; line-height: 1.65; text-align: justify; text-justify: inter-word; hyphens: auto; }

.frameup-story-manifesto { padding: clamp(76px,10vw,130px) 0; }
.frameup-story-manifesto__inner { padding: clamp(35px,6vw,72px); border: 1px solid rgba(82,149,250,.35); border-radius: 24px; background: linear-gradient(135deg,#243b60,#1b2d49); box-shadow: 0 28px 75px rgba(0,0,0,.25); }
.frameup-story-manifesto h2 { max-width: 900px; }
.frameup-story-manifesto__inner > p:not(.frameup-story-eyebrow) { max-width: 900px; margin: 0; color: #d6dfeb; font-size: 18px; line-height: 1.72; text-align: justify; text-justify: inter-word; hyphens: auto; }
.frameup-story-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 30px; }
.frameup-story-btn-secondary { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff !important; }
.frameup-story-link { padding: 12px 8px; color: #9ec4ff; font-weight: 800; text-decoration: none; }

@media (max-width: 800px) {
    .frameup-story-hero { min-height: 560px; }
    .frameup-story-line { gap: 75px; padding-left: 28px; }
    .frameup-story-line::before { left: 6px; transform: none; }
    .frameup-story-moment { grid-template-columns: 1fr; gap: 26px; }
    .frameup-story-moment::before { display: none; }
    .frameup-story-moment__content { position: relative; }
    .frameup-story-moment__content::before { position: absolute; top: 7px; left: -22px; z-index: 2; width: 15px; height: 15px; border: 4px solid #172131; border-radius: 50%; background: #4d94f5; box-shadow: 0 0 0 7px rgba(77,148,245,.14); content: ''; transform: translate(-50%,-50%); }
    .frameup-story-moment--reverse .frameup-story-moment__media,.frameup-story-moment--reverse .frameup-story-moment__content { order: initial; }
    .frameup-story-quote { margin-left: 0; }
    .frameup-story-mission__intro { grid-template-columns: 1fr; gap: 22px; }
    .frameup-story-pillars { grid-template-columns: 1fr; }
    .frameup-story-pillar { min-height: 0; }.frameup-story-pillar h3 { margin-top: 28px; }
}

@media (max-width: 520px) {
    .frameup-story-hero { min-height: 500px; }
    .frameup-story-hero__inner { padding-top: 62px; padding-bottom: 58px; }
    .frameup-story-hero h1 { font-size: 43px; }
    .frameup-story-hero__lead { font-size: 17px; }
    .frameup-story-timeline { padding: 62px 0; }
    .frameup-story-section-heading { margin-bottom: 55px; text-align: left; }
    .frameup-story-line { padding-left: 20px; }
    .frameup-story-moment__content::before { left: -14px; }
    .frameup-story-moment__media { border-radius: 14px; }
    .frameup-story-moment__content p { font-size: 16px; }
    .frameup-story-moment__content h3 { font-size: clamp(23px,7vw,28px); }
    .frameup-story-quote { width: 100%; padding: 21px 18px; }
    .frameup-story-mission,.frameup-story-manifesto { padding: 64px 0; }
    .frameup-story-mission h2,.frameup-story-manifesto h2 { font-size: 37px; }
    .frameup-story-manifesto__inner { padding: 27px 22px; border-radius: 18px; }
    .frameup-story-manifesto__inner > p:not(.frameup-story-eyebrow) { font-size: 16px; }
    .frameup-story-actions { align-items: stretch; flex-direction: column; }
    .frameup-story-actions .frameup-btn,.frameup-story-link { width: 100%; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .frameup-story-moment__media img,.frameup-story-pillar,.frameup-story-scroll span { transition: none; }
}
