/* Shared service and editorial layouts. Brand colors and base type live in bd-site.css. */
.bd-site { --bd-display: var(--bd-font); }
.bd-site .bd-top { background: #fffffffa; }
.bd-site .bd-nav-entry[aria-current="page"] { color: var(--bd-blue-dark); }
.bd-site .bd-nav-links .bd-nav-email { display: none; }
.bd-footer-grid { grid-template-columns: minmax(155px,1.12fr) repeat(3,minmax(0,1fr)); }
.bd-footer-grid .bd-footer-email { color: var(--bd-blue-dark); font-weight: 700; }

.bd-launch.bd-hero { position: relative; padding: 0; text-align: left; background: #f4f8ff; }
.bd-hero-inner {
    display: grid; grid-template-columns: minmax(290px,.95fr) minmax(0,1.2fr);
    align-items: center; gap: clamp(24px,5vw,80px); width: min(1290px,calc(100% - 64px));
    margin-inline: auto; padding-block: clamp(48px,8vw,111px);
}
.bd-hero-copy { position: relative; z-index: 1; }
.bd-hero-copy h1 {
    margin: 13px 0 20px; font-size: clamp(2.7rem,5.6vw,5.35rem);
    letter-spacing: -.078em; line-height: 1.015; max-width: 16ch; overflow-wrap: break-word;
}
.bd-hero-copy h1 em { color: var(--bd-blue); font-style: normal; }
.bd-hero-copy p:not(.bd-kicker) { margin: 0; max-width: 510px; color: var(--bd-muted); font-size: clamp(1.02rem,1.7vw,1.22rem); }
.bd-hero-copy .bd-actions { justify-content: flex-start; margin-top: 25px; }
.bd-hero-copy .bd-kicker { display: inline-flex; gap: 9px; align-items: center; }
.bd-hero-copy .bd-kicker::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 2px; content: ""; background: var(--bd-yellow); transform: rotate(-10deg); }
.bd-hero-inner:has(.bd-art) { position: relative; }
.bd-hero-inner:has(.bd-art)::before {
    position: absolute; content: ""; right: 1%; top: 16%; width: 47%; height: 67%;
    transform: rotate(4deg); border: 1px solid #c5d7f5; border-radius: 35px;
}
.bd-art {
    position: relative; isolation: isolate; overflow: hidden; display: block; margin: 0;
    border-radius: clamp(15px, 2.6vw, 30px); aspect-ratio: 3 / 2; background: #dfebfa;
    box-shadow: 0 26px 65px #253d732b, 0 2px 12px #253d7316; border: 1px solid #ffffffb8;
    transform: perspective(1400px) rotateX(var(--bd-tilt-x,0deg)) rotateY(var(--bd-tilt-y,0deg));
    transition: transform 190ms ease-out;
}
.bd-art picture, .bd-art img, .bd-art video { width: 100%; height: 100%; display: block; object-fit: cover; }
.bd-art video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.bd-art[data-motion-visible] video { opacity: 1; }
.bd-art button[hidden], .bd-art video[hidden] { display: none; }
.bd-art button {
    position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; min-height: 38px;
    gap: 8px; padding: 6px 12px; font: 700 .8rem/1.2 var(--bd-font); color: #102346; background: #fffffff5;
    border: 1px solid #d8e3f3; border-radius: 40px; cursor: pointer; box-shadow: 0 3px 14px #0b26602c;
}
.bd-art button:hover { background: #fff8d7; }
.bd-motion-glyph { width: 10px; height: 10px; background: currentColor; clip-path: polygon(18% 0,94% 50%,18% 100%); }
.bd-art[data-motion-playing] .bd-motion-glyph { clip-path: polygon(0 0,32% 0,32% 100%,0 100%,0 0,68% 0,100% 0,100% 100%,68% 100%,68% 0); }
.bd-arrow { white-space: nowrap; display: inline-block; width: .65em; height: .65em; border-top: .105em solid currentColor; border-right: .105em solid currentColor; transform: rotate(45deg); }
.bd-crumbs { display: flex; flex-wrap: wrap; gap: 5px 9px; align-items: center; padding-block: 14px; color: var(--bd-muted); font-size: .83rem; }
.bd-crumbs a { color: var(--bd-blue-dark); text-underline-offset: 3px; }

.bd-offers { background: #fff; }
.bd-offers .bd-heading > p:last-child { max-width: 650px; }
.bd-offer-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.bd-offer-card {
    grid-column: span 3; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
    border: 1px solid #dbe7f6; background: #f8faff; border-radius: 20px; box-shadow: 0 8px 24px #173e930b;
}
.bd-offer-card:nth-child(-n + 2) { grid-column: span 6; }
.bd-offer-card img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; display: block; }
.bd-offer-card:nth-child(-n + 2) img { aspect-ratio: 1.86; }
.bd-offer-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(18px,3vw,28px); }
.bd-offer-card h3 { margin: 0; font-size: clamp(1.25rem,3.1vw,2rem); line-height: 1.13; font-weight: 750; letter-spacing: -.043em; }
.bd-offer-card p { margin: 10px 0 17px; color: var(--bd-muted); }
.bd-offer-card .bd-text-link { width: fit-content; margin-top: auto; }
.bd-offer-card[data-accent="sand"] { background: #fffcf3; }
.bd-offer-card[data-accent="blue"] { background: #edf4ff; }
.bd-project-link {
    margin-top: 25px; background: #f4f7ff; padding: clamp(20px,4vw,34px);
    border: 1px solid var(--bd-line); border-radius: 20px; display: grid; grid-template-columns: minmax(100px,220px) minmax(0,1fr); gap: 20px; align-items: center;
}
.bd-project-link img { display: block; width: 100%; height: auto; border-radius: 13px; aspect-ratio: 3/2; object-fit: cover; }
.bd-project-link h3 { margin: 4px 0 5px; font-size: clamp(1.35rem,3vw,2rem); letter-spacing: -.045em; line-height: 1.2; }
.bd-project-link p:not(.bd-kicker) { margin: 0 0 10px; color: var(--bd-muted); }

.bd-method { background: linear-gradient(132deg,#123990,#174fbd 75%,#2263d2); color: #fff; }
.bd-method .bd-kicker { color: #ffe187; }
.bd-method .bd-heading p:not(.bd-kicker), .bd-method .bd-pilot p { color: #eaf2ff; }
.bd-method .bd-pilot li { border-color: #bad2ff80; }
.bd-method .bd-pilot li::before { color: #ffe187; }
.bd-method .bd-pilot h3 { margin-top: 8px; }
.bd-portfolio-note { margin-top: 24px; }
.bd-service-details .bd-service-grid article h3 { margin-top: 0; }
.bd-service-details .bd-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bd-at-a-glance {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0,1fr); gap: clamp(18px,5vw,66px);
    margin-bottom: clamp(40px,6vw,70px); background: #f3f7ff; border: 1px solid #dce7f8; border-radius: 21px; padding: clamp(20px,4.5vw,42px);
}
.bd-at-a-glance h2 { margin: 0 0 10px; letter-spacing: -.035em; line-height: 1.2; font-size: clamp(1.35rem,2.5vw,1.83rem); }
.bd-at-a-glance p, .bd-at-a-glance ul { margin: 0; color: var(--bd-muted); }
.bd-at-a-glance ul { padding-inline-start: 20px; }
.bd-at-a-glance li + li { margin-top: 7px; }
.bd-service-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bd-service-links a { padding: 7px 0; }
.bd-service-links + .bd-cta-panel { margin-top: 36px; }
.bd-email-copy { color: inherit; text-underline-offset: .18em; overflow-wrap: anywhere; }
.bd-cta-panel .bd-email-copy { color: #fff; }
.bd-contact-section { padding-top: 0; }
.bd-contact-panel { margin-top: clamp(42px,7vw,80px); }
.bd-contact-panel p { max-width: 590px; }

.bd-blog-section { background: #f3f7ff; }
.bd-blog-section .bd-heading, .bd-blog-intro { margin-bottom: clamp(25px,4vw,46px); }
.bd-blog-actions { margin-top: 25px; }
.bd-blog-grid {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 17px;
}
.bd-blog-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: #fff; border: 1px solid var(--bd-line); border-radius: 17px; box-shadow: 0 9px 24px #183e8010;
}
.bd-blog-card[hidden] { display: none; }
.bd-blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.bd-blog-card-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(16px,2.6vw,24px); }
.bd-blog-card h3, .bd-blog-card h2 {
    color: var(--bd-ink); margin: 8px 0 0; font-size: clamp(1.1rem,2.25vw,1.48rem); letter-spacing: -.035em; line-height: 1.21;
}
.bd-blog-card h3 a, .bd-blog-card h2 a { color: inherit; text-decoration: none; }
.bd-blog-card h3 a:hover, .bd-blog-card h2 a:hover { color: var(--bd-blue-dark); text-decoration: underline; }
.bd-blog-card-copy p:not(.bd-kicker) { margin: 9px 0 0; color: var(--bd-muted); font-size: .94rem; }
.bd-blog-card-copy time { margin-top: auto; padding-top: 15px; color: var(--bd-muted); font-size: .8rem; }
.bd-blog-page .bd-blog-grid { padding-block: 26px 0; }
.bd-blog-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bd-blog-filter button { min-height: 39px; padding: 7px 12px; border: 1px solid #cad9ef; border-radius: 30px; color: var(--bd-blue-dark); background: #fff; font: 640 .88rem/1.1 var(--bd-font); cursor: pointer; }
.bd-blog-filter button:hover { background: #eef4ff; }
.bd-blog-filter [aria-pressed="true"] { background: var(--bd-blue); color: #fff; border-color: var(--bd-blue); }
.bd-article-hero .bd-article-preview { width: min(390px,100%); border-radius: 16px; margin-top: 23px; overflow: hidden; }
.bd-article-preview img { width: 100%; height: auto; display: block; aspect-ratio: 2.2; object-fit: cover; }
.bd-support-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.bd-utility { min-height: 45vh; }

@media (max-width: 995px) {
    .bd-hero-inner { width: calc(100% - 46px); gap: 29px; }
    .bd-offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bd-offer-card, .bd-offer-card:nth-child(-n + 2) { grid-column: auto; }
}
@media (max-width: 850px) {
    .bd-site .bd-nav-links .bd-nav-email { display: inline-block; }
    .bd-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bd-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 690px) {
    .bd-hero-inner { grid-template-columns: 1fr; width: calc(100% - 32px); gap: 26px; padding-block: 42px; }
    .bd-hero-inner:has(.bd-art)::before { top: auto; bottom: 36px; left: 8px; right: 8px; height: 31%; width: auto; }
    .bd-hero-copy h1 { max-width: 16ch; }
    .bd-hero-copy .bd-actions { margin-top: 18px; }
    .bd-article-hero .bd-article-preview { width: min(330px,100%); }
    .bd-at-a-glance { grid-template-columns: 1fr; }
}
@media (max-width: 535px) {
    .bd-offer-grid, .bd-blog-grid, .bd-service-details .bd-service-grid { grid-template-columns: 1fr; }
    .bd-project-link { grid-template-columns: 1fr; }
    .bd-project-link img { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .bd-art { transition: none; transform: none; }
}
.bd-heading h1 { margin: 9px 0 0; font-size: clamp(2.2rem, 6.2vw, 4.65rem); line-height: 1.045; letter-spacing: -.066em; }
.bd-article-hero .bd-article-masthead { max-width: 1060px; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(20px,5vw,60px); align-items: center; }
.bd-article-masthead .bd-article-preview { margin: 0; width: 100%; border: 1px solid #ffffffad; box-shadow: 0 14px 32px #1e448528; }
.bd-article-masthead .bd-article-preview img { aspect-ratio: 3/2; }
.bd-site.bd-legacy #bd-main .bd-crumbs { width: 100%; }
@media (max-width: 700px) {
    .bd-article-hero .bd-article-masthead { grid-template-columns: 1fr; }
    .bd-article-masthead .bd-article-preview { width: min(100%,370px); }
}
