
.references-body{background:#071722;color:#edf2f5}.references-page .wrap{max-width:1200px}
.reference-intro{padding:24px 0 56px;background:#0b1c29;border-bottom:1px solid #2a3b47}
.reference-intro nav{font-size:13px;color:#bac5cc;margin-bottom:44px}.reference-heading{display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:70px}
.reference-heading h1{font-size:clamp(2.8rem,5vw,5rem);margin:16px 0 20px}.reference-heading .reference-lead{font-size:clamp(1.5rem,3vw,2.4rem);color:#ffc400;line-height:1.2;letter-spacing:-.03em;font-weight:750;margin:0}
.reference-heading>p{color:#c5d1da;max-width:38ch;font-size:1.05rem;line-height:1.8;margin:0}
.reference-section{padding:60px 0}.reference-feature{display:grid;grid-template-columns:1fr 1.4fr;background:#102532;border:1px solid #2d4554;border-radius:16px;overflow:hidden}
.reference-feature>header{padding:40px;border-left:5px solid #ffc400;background:#0d202d}.reference-category{font-size:13px;font-weight:750;color:#ffcf32;display:block;margin-bottom:22px}
.reference-feature h2,.reference-project h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.13;margin:0 0 24px}.reference-feature header>p{color:#a8bbc8;font-size:13px}
.reference-quote{padding:34px 40px 38px}.quote-mark{font-size:80px;line-height:.8;color:#ffc400;display:block;margin-bottom:10px;font-family:Georgia,serif}
.references-page blockquote{margin:0;padding:0;border:0;color:#e0e8ee;font-size:16px;line-height:1.85}.references-page blockquote p{margin:0 0 18px}
.reference-quote footer,.reference-author{display:grid;gap:4px;margin-top:26px;padding-top:22px;border-top:1px solid #3b4c58;font-size:15px}.reference-quote footer span,.reference-author span{font-size:13px;color:#a8bbc8}
.reference-project{padding-top:0}.reference-project-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:50px;align-items:start}.reference-project figure{margin:0;overflow:hidden;border-radius:12px;border:1px solid #2d4554;background:#102532}.reference-project img{display:block;width:100%;height:auto}.reference-project figcaption{padding:16px 20px;font-size:12px;color:#bacbd6}.reference-project-copy{padding:12px 0}
.reference-cta{padding:42px 0;background:#102532;border-top:1px solid #2d4554}.reference-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:28px}.reference-cta h2{font-size:clamp(1.6rem,3vw,2.3rem);margin-bottom:12px}.reference-cta p{color:#c5d1da;margin:0}.reference-cta .btn{flex-shrink:0}
@media(max-width:900px){.reference-heading{gap:30px}.reference-feature{grid-template-columns:1fr}.reference-feature>header{padding:28px}.reference-feature h2 br{display:none}.reference-quote{padding:28px}.reference-project-grid{gap:28px}.references-body .navlinks{gap:12px}.references-body .navlinks a{font-size:.78rem}}
@media(max-width:760px){.reference-heading,.reference-project-grid{grid-template-columns:1fr}.reference-intro{padding-bottom:36px}.reference-intro nav{margin-bottom:30px}.reference-heading>p{max-width:none}.reference-section{padding:34px 0}.reference-project{padding-top:0}.reference-cta .wrap{align-items:flex-start;flex-direction:column}.reference-cta .btn{width:100%}.reference-project h2 br{display:none}}
.contact-skip{position:absolute;left:16px;top:-100px;padding:12px;background:#ffc400;color:#071722;z-index:1000}.contact-skip:focus{top:12px}

/* Hero kuten yhteystiedot-sivulla: teksti vasemmalla, kuvakortti oikealla */
.reference-heading{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:70px}
.reference-heading .reference-copy{color:#c5d1da;max-width:46ch;font-size:1.05rem;line-height:1.8;margin:20px 0 0}
.reference-heading figure{margin:0;justify-self:end;width:100%;max-width:340px;overflow:hidden;border-radius:12px;border:1px solid #3a4c59}
.reference-heading figure img{display:block;width:100%;height:380px;object-fit:cover;object-position:50% 20%}
.reference-heading figcaption{background:#071722;padding:12px 16px;font-size:12px;color:#cbd6dd}
@media(max-width:760px){.reference-heading{grid-template-columns:1fr;gap:28px}.reference-heading figure{max-width:340px;justify-self:start}.reference-heading figure img{height:300px}}
