/* FifteenFold 12.6.0: targeted improvements, no changes to the approved homepage hero. */
/* Restrained service-page spacing: remove inherited oversized gaps from nested sections. */
.ff9-site.ff9-route-ecommerce .pagehero{padding-top:clamp(24px,2.8vw,42px)!important;padding-bottom:clamp(24px,2.8vw,40px)!important;align-items:start;gap:clamp(28px,4vw,64px)!important;min-height:0!important}
.ff9-site.ff9-route-ecommerce .pagehero .heroaside{align-self:start}
.ff9-route-ecommerce .page-body{padding-bottom:36px}
.ff9-route-ecommerce .page-body>.f-section,.ff9-route-ecommerce .page-body>.ff-v820-section{padding-block:clamp(38px,4.5vw,68px)}
.ff9-route-ecommerce .page-body>.ff-v843-existing-bridge{padding-block:clamp(24px,3vw,42px)}
.ff9-route-ecommerce .page-body>.f-section+.f-section{margin-top:0}
/* Case study layouts: consistent content column, no isolated floating facts or random left/right offsets. */
.ff9-site[class*="ff9-route-our-work-"] .pagehero{padding-block:clamp(26px,3vw,44px)!important;align-items:start;min-height:0!important}
.ff9-site[class*="ff9-route-our-work-"] .pagehero .heroaside{align-self:start}
.ff9-site[class*="ff9-route-our-work-"] .page-body{max-width:1200px!important;margin-inline:auto;padding-inline:clamp(18px,3vw,42px)!important}
.ff9-site[class*="ff9-route-our-work-"] .page-body :is(.f-pagehead,.f-section,.ff-v820-section){min-height:0!important;margin:0!important;padding:clamp(24px,3vw,46px) 0!important}
.ff9-site[class*="ff9-route-our-work-"] .page-body>.f-section:first-child{padding-top:16px!important}
.ff9-site[class*="ff9-route-our-work-"] .page-body :is(.f-shell,.ff-v820-shell){width:100%;max-width:100%;padding-inline:0!important;margin-inline:auto!important}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehead__grid{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);align-items:start;gap:clamp(24px,4vw,65px)}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehead__summary{align-self:start;margin:0;padding:22px 25px;background:#fff;border:1px solid #dce3e5;border-radius:14px}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehead :is(h1,h2,p){max-width:100%;margin-top:0}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:18px;border-top:1px solid #dbe4e5}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-meta article{min-width:0;padding:12px 8px 10px 0;background:transparent;border-top:0}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story>article{min-width:0;padding:24px;background:#fff;border:1px solid #dae2e3;border-radius:14px}
.ff9-site[class*="ff9-route-our-work-"] .page-body :is(.f-casehead,.f-casehero,.f-case-meta,.f-case-story,.f-artifacts,.f-case-faqs,.f-case-links){width:100%;max-width:100%}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehero{margin:0;overflow:hidden;border-radius:16px}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehero img{width:100%;height:auto;max-height:720px;object-fit:contain;object-position:center top;display:block}
.ff9-site[class*="ff9-route-our-work-"] .page-body :is(h2,h3){max-width:100%}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehead .ff-v854-crumbs{margin-bottom:16px}
.ff9-site[class*="ff9-route-our-work-"] .page-body .f-pagehead .f-crumb:has(+ .f-casehead__grid){display:none}
/* Guide covers: individual editorial type treatment if no image has been uploaded in WordPress. */
.insight-grid .ff126-visual{min-height:0;position:relative;overflow:hidden;background:#10232b;color:#fff;isolation:isolate}
.insight-grid .ff126-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;gap:6px;padding:clamp(14px,2vw,25px);z-index:1}
.insight-grid .ff126-cover:before{content:"";position:absolute;right:-8%;bottom:-50%;height:90%;aspect-ratio:1;border:2px solid currentColor;border-radius:50%;opacity:.14;z-index:-1}
.insight-grid .ff126-cover__eyebrow{font-size:9px;letter-spacing:.13em;font-weight:850;color:inherit;opacity:.86}
.insight-grid .ff126-cover strong{color:inherit!important;display:block;max-width:96%;font-size:clamp(16px,1.5vw,22px);line-height:1.1;letter-spacing:-.04em;font-weight:850;text-wrap:balance}
.insight-grid .ff126-cover__footer{display:flex;justify-content:space-between;align-items:end;gap:9px;border-top:1px solid currentColor;padding-top:9px;opacity:.8}
.insight-grid .ff126-cover__footer b{font-size:9px;line-height:1.3;font-weight:750;max-width:80%;color:inherit!important}
.insight-grid .ff126-cover__footer em{font-size:12px;font-style:normal;font-weight:850}
.insight-grid .ff126-visual>span{display:none}
.insight-grid .ff126-design-0{background:#10212b;color:#e9f4f3}
.insight-grid .ff126-design-1{background:#e5e9e9;color:#09232e}
.insight-grid .ff126-design-2{background:#ff6a2b;color:#091b23}
.insight-grid .ff126-design-3{background:#006b72;color:#f4f5ee}
.insight-grid .ff126-design-4{background:#182e3e;color:#f7ded1}
.insight-grid .ff126-design-5{background:#f6efe5;color:#10212b}
.insight-grid .ff126-design-1 .ff126-cover:before,.insight-grid .ff126-design-3 .ff126-cover:before{border-radius:0;transform:rotate(25deg)}
.insight-grid .ff126-design-4 .ff126-cover:before{right:-28%;bottom:-20%;height:130%;border-width:18px}
.insight-grid .ff126-design-5 .ff126-cover:before{height:60%;bottom:-25%;right:4%;border-width:8px}
/* Native review modal, no blocking cookie panel or forced immediate display. */
.ff126-review{border:0;border-radius:23px;width:min(535px,calc(100% - 30px));max-height:min(90dvh,780px);padding:0;color:#101d26;box-shadow:0 28px 100px #08151bc2;background:#fff;overflow:auto}
.ff126-review::backdrop,.ff126-viewer::backdrop{background:#07151bc9}
.ff126-review__content{padding:clamp(26px,5vw,46px)}
.ff126-review__eyebrow{font-size:11px;color:#006b73;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin:0 0 18px}
.ff126-review h2{font-size:clamp(27px,4vw,42px);letter-spacing:-.055em;line-height:1.04;margin:0 0 20px}
.ff126-review p:not(.ff126-review__eyebrow){font-size:16px;line-height:1.6;color:#42545e}
.ff126-review a.btn{display:inline-flex;margin:18px 0 3px;text-decoration:none}
.ff126-review__close{position:absolute;right:15px;top:14px;display:grid;place-items:center;background:#edf1f2;border:0;border-radius:50%;width:40px;height:40px;font-size:24px;cursor:pointer}
.ff126-review .ff126-review__fine{font-size:12px!important;margin-bottom:0}
.ff126-review :focus-visible,.ff126-viewer :focus-visible{outline:3px solid #ff6a2b;outline-offset:3px}
/* Project image inspection lightbox. */
.ff126-inspectable{position:relative}
.ff126-inspect{position:absolute;right:14px;bottom:14px;padding:11px 15px;border:1px solid #e6eef0;border-radius:30px;background:#101f27;color:white;box-shadow:0 5px 18px #0818204d;font-size:13px;font-weight:750;cursor:pointer;z-index:2}
.ff126-inspect:hover{background:#ff6a2b;color:#121e25}
.ff126-viewer{border:0;border-radius:18px;width:min(1160px,calc(100% - 24px));max-width:1160px;max-height:94dvh;overflow:hidden;padding:0;background:#fff;color:#11212a}
.ff126-viewer__bar{display:flex;justify-content:space-between;align-items:center;padding:9px 16px;font-size:14px;font-weight:800}
.ff126-viewer__close,.ff126-viewer__prev,.ff126-viewer__next{border:0;background:#e8eeee;border-radius:30px;cursor:pointer;padding:10px 15px;color:#10232b}
.ff126-viewer__frame{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;padding:0 12px 12px}
.ff126-viewer__frame img{width:100%;height:auto;max-height:calc(94dvh - 85px);object-fit:contain;min-width:0}
.ff126-viewer__frame button{padding:11px 0}
@media(max-width:900px){.ff9-site[class*="ff9-route-our-work-"] .page-body .f-casehead__grid{grid-template-columns:1fr}.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-meta,.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story{grid-template-columns:1fr}.ff9-site[class*="ff9-route-our-work-"] .page-body :is(.f-pagehead,.f-section,.ff-v820-section){padding-block:25px!important}.ff126-inspect{bottom:8px;right:8px;font-size:11px;padding:9px 11px}.insight-grid .ff126-cover strong{font-size:clamp(18px,5vw,22px)}.ff126-review__content{padding:32px 21px}.ff126-viewer__frame{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px}.ff126-viewer__bar{padding:9px}}
@media(prefers-reduced-motion:reduce){.ff126-inspect{transition:none!important}}

/* Dense project checklists deserve room, while supporting cards remain together. */
@media(min-width:901px){.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story:has(>article:first-child details){grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);grid-template-rows:auto auto;align-items:start}.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story:has(>article:first-child details)>article:first-child{grid-row:span 2}.ff9-site[class*="ff9-route-our-work-"] .page-body .f-case-story:has(>article:first-child details)>article:not(:first-child){align-self:start}}

/* Quiet interaction affordances. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ff9-site .insight-card>a{transition:transform .2s ease,box-shadow .2s ease}.ff9-site .insight-card>a:hover,.ff9-site .insight-card>a:focus-visible{transform:translateY(-3px);box-shadow:0 12px 30px -22px #0b1b25a8}.ff9-site .ff126-visual .ff126-cover:before{transition:transform .35s ease}.ff9-site .insight-card>a:hover .ff126-cover:before{transform:translate(-7px,-6px)}}
.ff126-scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;background:#ff6a2b;transform-origin:left center;transform:scaleX(0);z-index:9999;pointer-events:none}
