/* Project stories: readable, responsive pages with calm, local interactions. */
.project-story{background:#f5f7fc;color:#18243c;--story-ink:#172844;--story-muted:#64738b;--story-line:#dce3ef;--story-accent:#8baeff}
.story-main{max-width:1280px;margin:auto;padding:105px 38px 0}.story-main *{box-sizing:border-box}.project-story .site-header{background:#0d1220}.story-skip{position:fixed;left:16px;top:-100px;background:#fff;color:#172844;padding:15px;z-index:1000;border-radius:8px}.story-skip:focus{top:12px}.story-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#62738d;padding:33px 0 25px;flex-wrap:wrap}.story-breadcrumb a{color:#274e8a}.story-breadcrumb span:last-child{max-width:75%;overflow-wrap:anywhere}
.story-hero{display:grid;grid-template-columns:1.08fr 1fr;border-radius:28px;background:radial-gradient(at 90% 10%,#223659,#0d182b 64%);color:#edf4ff;overflow:hidden;position:relative;border:1px solid #263b5a;min-height:590px}.story-hero-copy{padding:48px 0 42px 46px;position:relative;z-index:1}.story-kicker{font-size:10px;letter-spacing:1.8px;line-height:1.8;color:#b5c6e1;display:flex;gap:9px;align-items:center}.story-kicker>span{height:7px;width:7px;border-radius:50%;background:var(--story-accent);box-shadow:0 0 18px var(--story-accent);flex-shrink:0}.story-name{font-size:16px!important;color:var(--story-accent)!important;margin:31px 0 13px!important;font-weight:500}.project-story .story-hero h1{font-size:clamp(34px,3.8vw,53px);line-height:1.1;letter-spacing:-1.9px;max-width:590px;font-weight:400}.story-intro{font-size:16px!important;line-height:1.8!important;color:#b7c6dd!important;max-width:500px;margin:23px 0 0!important}.story-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px}.story-primary,.story-secondary{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 19px;border-radius:10px;font-size:13px;line-height:1.5;min-height:48px;transition:background .2s,transform .2s}.story-primary{background:linear-gradient(120deg,#294c8b,#3c67af);color:#fff;border:1px solid #6285c3;box-shadow:0 8px 25px #06122c22}.story-primary:hover{background:#416caf;transform:translateY(-2px)}.story-secondary{color:#d2def0;border:1px solid #546b8a;background:#ffffff04}.story-secondary:hover{background:#ffffff0b}.story-hero-bottom{border-top:1px solid #7b97c02b;margin-top:35px;padding-top:21px;max-width:460px}.story-hero-bottom>span{font-size:9px;letter-spacing:1.7px;color:#88a2c7}.story-hero-bottom>p{font-size:13px!important;line-height:1.7!important;color:#c4d1e4!important;margin:7px 0 0!important}.story-hero-art{display:flex;align-items:center;justify-content:center;padding:30px 10px 30px 4px;min-width:0}.story-hero-art img{width:100%;height:auto;display:block;mix-blend-mode:screen;max-height:520px}
.story-section-nav{display:flex;gap:25px;align-items:center;padding:24px 0;border-bottom:1px solid var(--story-line);font-size:12px;color:#64738b;overflow:auto;white-space:nowrap;scrollbar-width:thin}.story-section-nav a{padding:5px 0}.story-section-nav a:hover,.story-section-nav a[aria-current]{color:#244a85}.story-nav-all{margin-left:auto;color:#274e8a}.story-section{padding:75px 0;border-bottom:1px solid var(--story-line);scroll-margin-top:28px}.story-label{font-size:10px;letter-spacing:1.8px;color:#647b9c;line-height:1.7;display:block}.section-intro{max-width:720px;margin-bottom:33px}.project-story .section-intro h2,.story-cta h2{font-size:clamp(30px,3.1vw,43px);line-height:1.13;letter-spacing:-1.3px;font-weight:400;margin:12px 0 0;color:#152b4b}.project-story .section-intro p{font-size:16px;color:#64738b;line-height:1.8;max-width:590px;margin:17px 0 0}.story-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px}.overview-type{font-size:10px;letter-spacing:1.3px;color:#6482ad}.story-overview-grid h3{font-size:23px;line-height:1.4;letter-spacing:-.5px;font-weight:400;margin:15px 0}.story-overview-grid p{font-size:16px;line-height:1.9;color:#56677f;max-width:550px}.story-value{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;background:#eaf0fa;padding:30px 34px;border:1px solid #d6e1f2;border-radius:18px;margin-top:42px}.story-value h3{font-size:22px;font-weight:400;letter-spacing:-.5px;line-height:1.4;margin:10px 0 0}.story-value ul{margin:0;padding:0;list-style:none}.story-value li{display:flex;gap:13px;align-items:baseline;font-size:14px;color:#4b6282;line-height:1.7;padding:9px 0}.story-value li>span{color:#466da7;font-size:18px}.story-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d8e1ee;border-radius:18px;overflow:hidden;background:#fff}.story-feature{padding:29px 24px;border-right:1px solid #e3e9f2}.story-feature:last-child{border:0}.feature-number{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#edf2fb;color:#4f75ad;font-size:12px}.story-feature h3{font-weight:500;font-size:18px;line-height:1.4;color:#233d60;letter-spacing:-.3px;margin:26px 0 12px}.story-feature p{font-size:14px;line-height:1.8;color:#64748c}
.story-workflow-layout{display:grid;grid-template-columns:1fr 1.55fr;gap:25px}.story-step-tabs{display:flex;flex-direction:column;gap:8px}.story-step-tabs button{padding:20px;display:flex;align-items:center;gap:18px;text-align:left;border-radius:12px;border:1px solid #dbe3ef;background:#fff;color:#6d809b;min-height:72px}.story-step-tabs button>span{font-size:11px;letter-spacing:1px}.story-step-tabs strong{font-size:16px;font-weight:400;color:#334c6e}.story-step-tabs button:hover{border-color:#8ba7d0}.story-step-tabs button[aria-selected=true]{background:linear-gradient(120deg,#294c8b,#3c67af);border-color:#416caf;color:#b9d1f2;box-shadow:0 6px 18px #294c8b17}.story-step-tabs button[aria-selected=true] strong{color:#fff}.story-step-panels{position:relative;border:1px solid #d2deef;border-radius:19px;background:radial-gradient(at 100% 0,#dce9ff,#eef4fd 64%);padding:38px;display:flex;flex-direction:column;justify-content:center;min-height:318px}.story-step-panel[hidden]{display:none}.step-overline{font-size:10px;letter-spacing:1.6px;color:#627eaa}.story-step-panel h3{font-size:31px;font-weight:400;letter-spacing:-.8px;line-height:1.3;margin:25px 0 18px;color:#1c3b65}.story-step-panel p{font-size:17px;line-height:1.85;color:#516b8e;max-width:480px}.step-progress{height:3px;background:#ccd9ec;margin-top:31px;border-radius:5px;overflow:hidden}.step-progress span{display:block;height:100%;background:#527dbd;border-radius:5px}.workflow-caption{font-size:10px;color:#7188aa;letter-spacing:.3px;margin-top:25px}.story-media figure{margin:0}.story-image-open{width:100%;border:1px solid #273c5a;border-radius:22px;padding:40px 40px 22px;background:radial-gradient(at 50% 0,#243b5d,#0e1828);cursor:zoom-in;display:block}.story-image-open img{display:block;width:100%;height:auto;max-height:690px;object-fit:contain;border-radius:9px}.story-image-open>span{display:flex;justify-content:space-between;color:#b5c8e4;font-size:11px;margin-top:20px}.story-image-open b{font-weight:400;font-size:19px}.story-media figcaption{font-size:11px;line-height:1.7;color:#7b8ba2;padding:13px 4px}.story-stack{display:flex;flex-wrap:wrap;gap:12px}.story-stack>span{background:white;color:#37577e;border:1px solid #d8e2ef;border-radius:12px;padding:17px 24px;font-size:15px}.story-references{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:32px;padding-top:24px;border-top:1px solid #dce3ef}.story-references>span{font-size:9px;letter-spacing:1.5px;color:#7a8da8;margin-right:10px}.story-references>a{font-size:12px;color:#2f568d;line-height:1.7;text-decoration:underline;text-decoration-color:#a5b9d7;text-underline-offset:4px}.story-cta{margin:65px 0 0;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:35px;border-radius:24px;background:radial-gradient(at 100% 100%,#244474,#0d182b);border:1px solid #2a4266;color:#fff}.story-cta .story-label{color:#a4bde0}.project-story .story-cta h2{color:#edf4ff}.story-cta p{color:#a6bbd8;max-width:480px;font-size:14px;line-height:1.8;margin-top:20px}.story-cta .story-primary{white-space:nowrap}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.related-card{position:relative;min-width:0}.related-card>div{height:195px;border-radius:15px;background:#15243b;overflow:hidden;padding:14px;border:1px solid #314766}.related-card img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.related-card:hover img{transform:scale(1.025)}.related-card>span{display:block;color:#7b8fae;font-size:10px;margin:17px 0 8px}.related-card h3{font-weight:400;color:#203d63;font-size:20px;line-height:1.4;letter-spacing:-.4px;margin-right:25px}.related-card>b{position:absolute;bottom:1px;right:0;color:#4b72aa;font-weight:400;font-size:23px}.story-back{display:inline-block;color:#4b6c9c;font-size:13px;margin-top:35px;padding:8px 0}.story-related{border:0}.project-story .site-footer{background:#0d1525;color:#b1c2dd}.project-story :focus-visible,.portfolio-page :focus-visible{outline:3px solid #729ee2;outline-offset:5px}.story-lightbox{max-width:94vw;max-height:94vh;border:1px solid #47618a;background:#0e1828;color:white;padding:18px;border-radius:18px}.story-lightbox::backdrop{background:#030a17e8;backdrop-filter:blur(8px)}.story-lightbox-close{display:block;margin-left:auto;background:#233d65;color:#fff;border:1px solid #5d7ca9;border-radius:9px;padding:9px 15px;margin-bottom:14px;font-size:13px}.story-lightbox>img{max-width:86vw;max-height:78vh;object-fit:contain;display:block}
/* Portfolio: project cards are real links; imagery and concise copy lead. */
.portfolio-page .project-open{display:block;text-decoration:none}.portfolio-page .portfolio-hero{padding-bottom:35px}.portfolio-page .portfolio-hero h1{font-size:clamp(48px,6.5vw,85px);line-height:1.02;letter-spacing:-3px}.portfolio-notes{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}.portfolio-notes span{font-size:10px;color:#92add2;border:1px solid #708eb72c;padding:8px 12px;border-radius:30px}.portfolio-page .portfolio-grid{gap:45px 30px}.portfolio-page .project-image{height:320px;padding:23px;background:radial-gradient(at 60% 0,#294263,#111c2e);position:relative}.portfolio-page .project-image img{width:100%;height:100%;object-fit:contain;filter:none;transform:none;transition:transform .4s}.portfolio-page .project-open:hover .project-image img{transform:scale(1.025)}.story-open{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:linear-gradient(0deg,#0a1524e8,#0a1524b0);color:#c1d5ef;font-size:11px;opacity:0;transition:opacity .2s}.portfolio-page .project-open:hover .story-open,.portfolio-page .project-open:focus-visible .story-open{opacity:1}.portfolio-page .portfolio-project h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin-top:13px}.portfolio-page .portfolio-project p{font-size:15px;line-height:1.8;color:#9ab0ce;max-width:95%;margin:13px 0 18px}.project-read{display:flex;gap:25px;align-items:center;font-size:12px;color:#a7c2e9;margin-top:22px}.project-read>span{transition:transform .2s}.project-open:hover .project-read>span{transform:translate(2px,-2px)}
@media(min-width:1450px){.story-main{max-width:1360px}.story-hero-copy{padding:55px 0 48px 50px}.story-hero{min-height:630px}.story-hero h1{font-size:57px}}
@media(max-width:1000px){.story-main{padding:105px 28px 0}.story-hero{grid-template-columns:1.1fr .9fr;min-height:540px}.story-hero-copy{padding:35px 0 32px 30px}.project-story .story-hero h1{font-size:39px}.story-intro{font-size:15px!important}.story-hero-art{padding:20px 0}.story-hero-bottom{margin-top:25px}.story-feature-grid{grid-template-columns:1fr 1fr}.story-feature:nth-child(2){border-right:0}.story-feature:nth-child(-n+2){border-bottom:1px solid #e3e9f2}.story-overview-grid{gap:30px}.story-section-nav{gap:20px}.story-hero-actions{gap:8px}.story-primary,.story-secondary{padding:12px 14px;font-size:12px}.story-value{grid-template-columns:1fr 1.2fr;gap:25px;padding:25px}.story-cta{padding:35px}.story-cta .story-primary{white-space:normal}.related-card>div{height:160px}}
@media(max-width:740px){.story-main{padding:90px 20px 0}.story-breadcrumb{font-size:10px;padding:24px 0 18px;gap:8px}.story-hero{grid-template-columns:1fr;min-height:0;border-radius:20px}.story-hero-copy{padding:30px 25px 0}.story-kicker{font-size:8px;letter-spacing:1.1px}.story-name{font-size:14px!important;margin:23px 0 12px!important}.project-story .story-hero h1{font-size:38px;letter-spacing:-1.4px;max-width:530px}.story-intro{font-size:15px!important;line-height:1.8!important;margin-top:19px!important}.story-hero-actions{margin-top:24px;gap:10px}.story-primary,.story-secondary{font-size:12px;min-height:46px;padding:12px 14px}.story-hero-bottom{padding-top:18px;margin-top:25px}.story-hero-art{padding:10px 12px 8px}.story-hero-art img{max-height:340px}.story-section-nav{font-size:11px;gap:21px;padding:20px 0}.story-nav-all{display:none}.story-section{padding:47px 0;scroll-margin-top:20px}.section-intro{margin-bottom:27px}.project-story .section-intro h2,.project-story .story-cta h2{font-size:31px;letter-spacing:-1px}.project-story .section-intro p{font-size:14px;line-height:1.8;margin-top:14px}.story-overview-grid{grid-template-columns:1fr;gap:28px}.story-overview-grid h3{font-size:22px;margin:12px 0}.story-overview-grid p{font-size:15px;line-height:1.85}.overview-type{font-size:9px}.story-label{font-size:9px;letter-spacing:1.3px}.story-value{grid-template-columns:1fr;gap:13px;margin-top:30px;padding:23px;border-radius:14px}.story-value h3{font-size:22px}.story-value li{font-size:13px;padding:7px 0}.story-feature{padding:23px 19px}.story-feature h3{font-size:17px;margin-top:21px}.story-feature p{font-size:13px;line-height:1.8}.story-feature-grid{border-radius:15px}.story-workflow-layout{grid-template-columns:1fr;gap:15px}.story-step-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.story-step-tabs button{padding:14px 12px;gap:9px;min-height:68px}.story-step-tabs button>span{font-size:10px}.story-step-tabs strong{font-size:13px;line-height:1.4}.story-step-panels{min-height:280px;padding:27px;border-radius:16px}.story-step-panel h3{font-size:28px;margin:22px 0 15px}.story-step-panel p{font-size:15px}.story-image-open{padding:19px 15px 14px;border-radius:16px}.story-image-open img{max-height:540px}.story-media figcaption{font-size:10px}.story-stack{gap:8px}.story-stack>span{padding:12px 15px;border-radius:9px;font-size:13px}.story-references{gap:12px;margin-top:25px;padding-top:20px;align-items:start;flex-direction:column}.story-references>a{font-size:12px}.story-cta{padding:28px 25px;display:block;margin-top:45px;border-radius:18px}.story-cta p{font-size:14px;line-height:1.8}.story-cta .story-primary{margin-top:25px}.related-grid{grid-template-columns:1fr;gap:27px}.related-card>div{height:230px}.related-card h3{font-size:23px}.related-card>span{font-size:10px;margin:14px 0 7px}.story-back{margin-top:25px;font-size:12px}.portfolio-page .portfolio-hero h1{font-size:54px;letter-spacing:-2px}.portfolio-page .portfolio-grid{gap:36px}.portfolio-page .project-image{height:290px;padding:19px}.portfolio-page .portfolio-project h2{font-size:26px}.portfolio-page .portfolio-project p{font-size:14px;max-width:100%}.portfolio-notes{gap:7px;margin-top:25px}.portfolio-notes span{font-size:9px;padding:7px 10px}.story-open{opacity:1;font-size:10px;padding:9px 15px}.project-read{margin-top:17px}.story-lightbox{padding:12px}.story-lightbox>img{max-width:86vw;max-height:78vh}}
@media(max-width:380px){.story-main{padding:90px 14px 0}.story-hero-copy{padding:26px 20px 0}.project-story .story-hero h1{font-size:33px}.story-kicker{font-size:7px}.story-feature-grid{grid-template-columns:1fr}.story-feature{border-right:0;border-bottom:1px solid #e3e9f2}.story-step-tabs strong{font-size:12px}.story-step-tabs button{padding:12px 9px}.portfolio-page .portfolio-hero h1{font-size:47px}}
@media(prefers-reduced-motion:reduce){.project-story *,.portfolio-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
