/* Homepage case presentation; the detailed case tours keep their own layout. */
.home-page #products { padding-top:66px; }
.home-page #products > .container > .hf-section-heading { margin:32px 0 52px; }
.home-page #products > .container > .hf-section-heading h2 { font-size:clamp(38px,4.3vw,64px); font-weight:400; }
.home-page #products > .container > .hf-section-heading > p { max-width:390px; font-size:15px; line-height:1.85; }
.if-project-feature, .if-project-anchor { scroll-margin-top:110px; }
.if-project-feature { padding:36px 0 58px; border-top:1px solid #8fa18e; }
.if-project-anchor { display:block; }
.if-project-feature-heading { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:start; }
.if-project-category { display:block; font-size:11px; line-height:1.65; color:#52664d; letter-spacing:.04em; }
.home-page .if-project-feature h3 { margin:14px 0 0; font-size:clamp(36px,4vw,58px); line-height:1.1; letter-spacing:-.05em; font-weight:500; }
.if-project-feature h3 a { color:#172b21; text-decoration:none; }
.if-project-feature h3 a:hover { color:#426437; }
.home-page .if-project-summary > .if-project-headline { margin:0 0 14px; font-size:clamp(23px,2.1vw,30px); line-height:1.3; font-weight:500; letter-spacing:-.03em; color:#203c29; }
.home-page .if-project-summary > p { margin:0; color:#42564a; font-size:15px; line-height:1.85; }
.if-project-scope { display:flex; flex-wrap:wrap; gap:8px 24px; list-style:none; margin:28px 0 22px; padding:0; font-size:12px; line-height:1.7; color:#486140; }
.if-project-scope li { display:flex; align-items:center; gap:9px; }
.if-project-scope li::before { content:''; width:4px; height:4px; background:#698c4c; }
.if-project-figure { width:100%; max-width:1042px; margin:0 auto; }
.if-project-screen { --screen-glow:rgba(108,161,119,.18); position:relative; display:block; overflow:hidden; width:100%; border:1px solid #4b6256; border-radius:5px; background:radial-gradient(ellipse at 50% 12%,var(--screen-glow),transparent 62%),#0b1713; box-shadow:0 18px 42px -24px #132d2499,0 0 0 5px #ffffff38,inset 0 1px 0 #e2f2dc24; cursor:zoom-in; isolation:isolate; transition:border-color .18s ease,box-shadow .18s ease; }
.if-project-screen img { display:block; width:100%; height:auto; max-width:none; opacity:1; filter:none; mix-blend-mode:normal; transform:none; }
.if-project-feature-mybilety .if-project-screen { --screen-glow:rgba(228,183,48,.2); }
.if-project-feature-realtyhub .if-project-screen { --screen-glow:rgba(16,177,210,.2); }
.if-project-feature-checkprofit .if-project-screen { --screen-glow:rgba(224,171,62,.18); }
.if-project-feature-uchikod .if-project-screen { --screen-glow:rgba(180,214,108,.2); }
.if-project-feature-infoforcedesk .if-project-screen { --screen-glow:rgba(0,130,255,.22); }
.if-project-screen:hover { border-color:#819b72; box-shadow:0 22px 48px -24px #132d24aa,0 0 0 5px #ffffff55,inset 0 1px 0 #e2f2dc24; }
.if-project-enlarge { position:absolute; right:12px; bottom:12px; display:flex; align-items:center; gap:18px; padding:9px 13px; border-radius:3px; background:#10241ef5; color:#ecf5e6; font-size:12px; line-height:1.5; border:1px solid #799263; }
.if-project-screen:hover .if-project-enlarge { background:#d1f58c; color:#172b21; }
.if-project-figure figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px 24px; padding:15px 0 18px; color:#56684e; font-size:12px; line-height:1.65; }
.if-project-mobile-hint { display:none; }
.if-project-extra-screens { display:flex; flex-wrap:wrap; gap:12px 26px; }
.if-project-extra-screens a { color:#324e35; text-decoration:underline; text-underline-offset:5px; }
.if-project-feature-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px 30px; padding-top:19px; border-top:1px solid #b8c4b4; font-size:12px; line-height:1.7; }
.if-project-feature-footer > span { color:#64765b; }
.if-project-feature-footer > div { display:flex; flex-wrap:wrap; gap:24px; }
.if-project-feature-footer a { display:inline-flex; align-items:center; gap:24px; color:#1f3d28; font-size:14px; min-height:36px; }
.if-project-feature a:focus-visible { outline:2px solid #54763c; outline-offset:5px; }
@media(max-width:900px) {
    .if-project-feature-heading { gap:30px; grid-template-columns:.8fr 1.2fr; }
    .home-page .if-project-feature h3 { font-size:40px; }
    .home-page .if-project-summary > p { font-size:14px; }
}
@media(max-width:640px) {
    .home-page #products { padding-top:42px; }
    .home-page #products > .container > .hf-section-heading { margin:26px 0 32px; }
    .home-page #products > .container > .hf-section-heading h2 { font-size:36px; }
    .if-project-feature { padding:26px 0 38px; }
    .if-project-feature-heading { grid-template-columns:1fr; gap:22px; }
    .home-page .if-project-feature h3 { font-size:38px; }
    .home-page .if-project-summary > .if-project-headline { font-size:24px; }
    .if-project-scope { gap:6px 18px; margin:22px 0 20px; font-size:11px; }
    .if-project-screen { aspect-ratio:auto; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#8aa17a #dfe5da; }
    .if-project-screen img { width:680px; max-width:none; }
    .if-project-enlarge { position:sticky; left:16px; bottom:16px; width:max-content; margin:-54px 16px 16px; padding:9px 12px; font-size:11px; }
    .if-project-figure figcaption { align-items:flex-start; padding:15px 0; }
    .if-project-mobile-hint { display:block; flex-basis:100%; font-size:11px; color:#65765a; }
    .if-project-extra-screens { gap:12px 20px; }
    .if-project-feature-footer { gap:10px; }
    .if-project-feature-footer > div { gap:14px 24px; }
}
@media(prefers-reduced-motion:reduce) { .if-project-screen { transition:none; } }
