/* Richer inner pages: tinted opening with a wave, numbered services, related entries. */
:root body.fd-rich main{overflow-x:clip}

/* Page opening: tinted band, large Latin title, wave into the white body (same rule as the home page). */
:root body.fd-rich .page-intro{position:relative;isolation:isolate;padding-block:64px 168px;margin-bottom:40px}
:root body.fd-rich .page-intro::before{content:"";position:absolute;inset:0 -100vw;z-index:-2;background:#f0f6fa}
:root body.fd-rich .page-intro::after{content:"";position:absolute;left:-100vw;right:-100vw;bottom:-1px;height:112px;z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 135C340 145 695 -36 1010 18C1180 45 1320 85 1440 68V140H0Z'/%3E%3C/svg%3E") center bottom/100vw 100% no-repeat}
:root body.fd-rich .page-intro:not(:has(.detail-title))>.eyebrow{margin-bottom:12px;font-size:clamp(54px,6.4vw,84px);font-weight:700;line-height:1.06;letter-spacing:-.045em;color:var(--ink);text-transform:lowercase}
:root body.fd-rich .page-intro:not(:has(.detail-title))>.eyebrow::first-letter{text-transform:uppercase}
:root body.fd-rich .page-intro:not(:has(.detail-title))>h1{font-size:22px;line-height:1.6}
:root body.fd-rich .fd-editorial-detail .page-intro>.eyebrow{margin-bottom:11px;font-size:14px;font-weight:500;line-height:inherit;letter-spacing:.1em;color:#506b82;text-transform:none}
:root body.fd-rich .fd-editorial-detail .page-intro>h1{font-size:clamp(26px,2.8vw,36px)}
:root body.fd-rich .breadcrumb{margin-bottom:48px}

/* Company: the in-page menu sits under the band instead of beside the title. */
:root body.fd-rich .fd-company-page .fdc-index{margin-top:0;padding-left:0;justify-content:flex-start;margin-bottom:24px}
:root body.fd-rich .fd-company-page .fdc-opening{border-top:0;padding-top:24px}

/* Company profile: the tinted block opens with a wave and runs into the photo without a white strip. */
:root body.fd-rich .fd-company-page .fdc-details{position:relative;isolation:isolate;background:#f0f6fa;padding-top:172px}
:root body.fd-rich .fd-company-page .fdc-details::before{content:"";position:absolute;top:-1px;left:0;right:0;height:104px;z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0H1440V39C1090 86 804 -19 482 19S150 76 0 44Z'/%3E%3C/svg%3E") center top/100% 100% no-repeat}
:root body.fd-rich .fdc-details+.contact .contact-wave{fill:#f0f6fa}
:root body.fd-rich .fd-company-page .fdc-message-grid{border-bottom:0}

/* Services: numbered rows, photo side alternates. */
:root body.fd-rich main>.wrap:has(>.service-detail){counter-reset:fd-service}
:root body.fd-rich .service-detail{counter-increment:fd-service;border-top:0;padding-block:64px;align-items:center}
:root body.fd-rich .service-detail>div:first-child::before{content:counter(fd-service,decimal-leading-zero);display:block;margin-bottom:20px;font:700 76px/1 var(--latin);letter-spacing:-.045em;color:#dbe7f0}
:root body.fd-rich .service-detail>div:first-child>.sample-note{display:block;width:fit-content;margin-top:20px;padding:8px 16px;border-left:3px solid var(--orange);background:#f0f6fa;color:var(--ink)}
:root body.fd-rich .service-detail :is(img,.map-visual,.web-visual,.print-visual){border-radius:10px}
@media(min-width:901px){
 :root body.fd-rich .service-detail{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
 :root body.fd-rich .service-detail:nth-of-type(even){grid-template-columns:minmax(0,6fr) minmax(0,5fr)}
 :root body.fd-rich .service-detail:nth-of-type(even)>div:first-child{order:2}
}

/* Works: clearer filter, cards as on the home page, wider opening photo on a case study. */
:root body.fd-rich .filter-bar a{padding:9px 22px;border:1px solid var(--line);border-radius:40px;display:inline-flex;align-items:center}
:root body.fd-rich .filter-bar a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:#fff}
:root body.fd-rich :is(.inner-works-grid,.fd-related) .work-card{background:#fff;border:1px solid #dce7ef;border-radius:4px;overflow:hidden;padding-bottom:21px;transition:transform .3s,box-shadow .3s}
:root body.fd-rich :is(.inner-works-grid,.fd-related) .work-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #13294b0c}
:root body.fd-rich :is(.inner-works-grid,.fd-related) .work-image{border-radius:0}
:root body.fd-rich :is(.inner-works-grid,.fd-related) :is(.work-meta,.work-card h3){margin-inline:20px}
:root body.fd-rich :is(.inner-works-grid,.fd-related) .work-meta{margin-top:17px}
:root body.fd-rich .page-intro:has(.detail-title){padding-bottom:236px;margin-bottom:0}
:root body.fd-rich .detail-hero{margin-top:-150px;border-radius:10px;box-shadow:0 24px 60px #13294b14}

/* Related entries under a case study or an article. */
:root body.fd-rich .fd-related{margin:72px 0 56px;padding-top:56px;border-top:1px solid var(--line)}
:root body.fd-rich .fd-related .section-head{margin-bottom:28px}
:root body.fd-rich .fd-related .section-head h2{font-size:24px;line-height:1.6;font-weight:700}
:root body.fd-rich .fd-related .fd-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:600px){
 :root body.fd-rich .page-intro{padding-block:36px 104px;margin-bottom:24px}
 :root body.fd-rich .page-intro::after{height:64px}
 :root body.fd-rich .page-intro:not(:has(.detail-title))>.eyebrow{font-size:48px}
 :root body.fd-rich .page-intro:not(:has(.detail-title))>h1{font-size:19px}
 :root body.fd-rich .breadcrumb{margin-bottom:32px}
 :root body.fd-rich .fd-company-page .fdc-details{padding-top:104px}
 :root body.fd-rich .fd-company-page .fdc-details::before{height:62px}
 :root body.fd-rich .fd-editorial-detail .page-intro>.eyebrow{font-size:14px}
 :root body.fd-rich .fd-editorial-detail .page-intro>h1{font-size:26px}
 :root body.fd-rich .service-detail{padding-block:44px}
 :root body.fd-rich .service-detail>div:first-child::before{font-size:56px;margin-bottom:14px}
 :root body.fd-rich .page-intro:has(.detail-title){padding-bottom:150px}
 :root body.fd-rich .detail-hero{margin-top:-96px}
 :root body.fd-rich .fd-related{margin:48px 0 40px;padding-top:40px}
 :root body.fd-rich .fd-related .fd-blog-grid{grid-template-columns:1fr}
}
