.bh-page { font-family: var(--bx-font); color: #334155; background: #F6F4EF; margin: 0; }
.bh-page *, .bh-page *::before, .bh-page *::after { box-sizing: border-box; }
.bh-page img { max-width: 100%; display: block; }
.bh-page a { color: inherit; }
.bh-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.bh-section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.bh-dark { background: var(--bx-ink); color: #cbd5e1; }
.bh-dark h2, .bh-dark h3 { color: #fff; }

.bh-eyebrow {
    display: inline-flex; align-items: center; gap: .8rem;
    font-family: var(--bx-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bx-accent);
}
.bh-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.bh-dark .bh-eyebrow { color: var(--bx-sky); }
.bh-title {
    font-family: var(--bx-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.06;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem); color: #0B1220; margin: 1rem 0 0;
}
.bh-title em { color: var(--bx-hl); padding-right: .06em; }
.bh-lead { font-size: 1.1rem; line-height: 1.8; color: #5b6778; max-width: 620px; margin: 1.2rem 0 0; }
.bh-dark .bh-lead { color: #94a3b8; }
.bh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(40px, 5vw, 64px); }
.bh-head-text { max-width: 760px; }

.bh-link {
    display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: #0B1220;
}
.bh-link::after { content: "\2192"; font-family: var(--bx-mono); color: var(--bx-accent); transition: transform .4s var(--bx-ease); }
.bh-link:hover::after { transform: translateX(6px); }
.bh-dark .bh-link, .bh-link--light { color: #fff; }

.bh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.9rem; border-radius: 999px;
    font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; letter-spacing: .01em;
    background: var(--bx-accent); background-size: 160% 160%; color: #fff !important;
    box-shadow: 0 18px 40px -18px rgba(4, 114, 187, .9);
    transition: transform .35s var(--bx-ease), box-shadow .35s var(--bx-ease), background-position .6s;
    position: relative; overflow: hidden; isolation: isolate;
}
.bh-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: none; transform: translateX(-120%); transition: transform .8s var(--bx-ease); }
.bh-btn:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 24px 50px -18px rgba(4, 114, 187, 1); }
.bh-btn:hover::after { transform: translateX(120%); }
.bh-btn--ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.3); box-shadow: none; backdrop-filter: blur(8px); }
.bh-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--bx-sky); box-shadow: none; }
.bh-btn--dark { background: #0B1220; box-shadow: 0 18px 40px -20px rgba(11,18,32,.8); }

.bh-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bx-ink); color: #e2e8f0; isolation: isolate; }
.bh-hero-media { position: absolute; inset: 0; z-index: -3; }
.bh-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s cubic-bezier(.2,.7,.2,1); }
.bh-hero-media video.is-on { opacity: 1; }
.bh-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s var(--bx-ease), transform 9s linear; }
.bh-slide.is-active { opacity: 1; transform: scale(1); }
.bh-hero-shade {
    position: absolute; inset: 0; z-index: -2;
    background: rgba(11,18,32,0.66);
}
.bh-hero-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: none;
    background-size: 90px 90px;  
}
.bh-hero-inner { position: relative; padding-top: 140px; padding-bottom: 170px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 60px; align-items: center; }
.bh-kicker {
    display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px;
    border: 1px solid rgba(56,189,248,.35); background: rgba(11,18,32,.45); backdrop-filter: blur(8px);
    font-family: var(--bx-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #bae6fd;
}
.bh-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--bx-sky); box-shadow: 0 0 0 4px rgba(56,189,248,.2); animation: bh-blink 2s infinite; margin-left: .4rem; }
@keyframes bh-blink { 50% { opacity: .3; } }
.bh-hero h1 {
    font-family: var(--bx-display); font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1;
    font-size: clamp(2.8rem, 6.6vw, 6rem); margin: 1.6rem 0 1.4rem;
}
.bh-hero h1 em { font-weight: 500; color: var(--bx-hl); }
.bh-hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.75; color: rgba(226,232,240,.85); max-width: 580px; }
.bh-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* Slide text swaps with a word rise */
.bh-slide-text { display: none; }
.bh-slide-text.is-active { display: block; }
.bh-rise > span { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.bh-rise > span > span { display: inline-block; transform: translateY(105%); animation: bh-word 1s var(--bx-ease-out) forwards; animation-delay: calc(var(--i) * 60ms + .15s); }
@keyframes bh-word { to { transform: none; } }
.bh-fade-in { opacity: 0; transform: translateY(24px); animation: bh-fade 1s var(--bx-ease-out) forwards; }
@keyframes bh-fade { to { opacity: 1; transform: none; } }

/* Glass card on the right with live stats */
.bh-glass {
    background: rgba(15,23,42,.5); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 28px;
    box-shadow: 0 60px 100px -50px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.bh-glass-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--bx-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #94a3b8; margin-bottom: 18px; }
.bh-glass-head span:last-child { display: inline-flex; align-items: center; gap: .45rem; color: #bae6fd; }
.bh-glass-head span:last-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); animation: bh-blink 1.6s infinite; }
.bh-glass-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bh-glass-stat { padding: 18px; border-radius: 4px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.bh-glass-stat strong { display: block; font-family: var(--bx-display); font-size: 2.2rem; color: #fff; line-height: 1; }
.bh-glass-stat span { display: block; margin-top: 8px; font-size: .8rem; color: #94a3b8; }
.bh-glass-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #cbd5e1; }
.bh-glass-foot img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(56,189,248,.4); }

/* Slide controls: numbered progress bars */
.bh-slide-nav { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 3; }
.bh-slide-nav .bh-wrap { display: flex; gap: 14px; align-items: flex-end; }
.bh-slide-dot { flex: 0 1 150px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: rgba(255,255,255,.55); font-family: var(--bx-mono); font-size: .7rem; letter-spacing: .12em; }
.bh-slide-dot b { display: block; height: 2px; margin-top: 10px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; border-radius: 2px; }
.bh-slide-dot b::after { content: ""; position: absolute; inset: 0; background: var(--bx-accent); transform: scaleX(0); transform-origin: left; }
.bh-slide-dot.is-active { color: #fff; }
.bh-slide-dot.is-active b::after { animation: bh-progress var(--dur, 6s) linear forwards; }
@keyframes bh-progress { to { transform: scaleX(1); } }

/* Services marquee pinned to the hero's bottom edge */
.bh-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); background: rgba(11,18,32,.6); backdrop-filter: blur(12px);   }
.bh-marquee-track { display: flex; width: max-content; animation: bh-marquee 40s linear infinite; }
.bh-marquee:hover .bh-marquee-track { animation-play-state: paused; }
.bh-marquee-item { display: inline-flex; align-items: center; gap: 1.1rem; padding: 22px 2.2rem; white-space: nowrap; font-family: var(--bx-display); font-size: 1.3rem; color: #e2e8f0; }
.bh-marquee-item::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--bx-sky); opacity: .7; }
@keyframes bh-marquee { to { transform: translateX(-50%); } }

.bh-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.bh-statement { font-family: var(--bx-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.25; color: #0B1220; letter-spacing: -.015em; margin: 1.2rem 0 0; }
.bh-statement em { color: var(--bx-accent); }
.bh-collage { position: relative; min-height: 560px; }
.bh-collage-a, .bh-collage-b { position: absolute; border-radius: 4px; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(11,18,32,.6); }
.bh-collage-a { inset: 0 18% 18% 0; }
.bh-collage-b { width: 52%; height: 50%; right: 0; bottom: 0; border: 8px solid #F6F4EF; }
.bh-collage img { width: 100%; height: 100%; object-fit: cover; }
.bh-badge {
    position: absolute; left: -20px; bottom: 60px; z-index: 3; padding: 18px 22px; border-radius: 18px;
    background: #0B1220; color: #fff; box-shadow: 0 30px 60px -30px rgba(11,18,32,.9);
}
.bh-badge strong { display: block; font-family: var(--bx-display); font-size: 2.4rem; line-height: 1; color: var(--bx-hl); }
.bh-badge span { font-size: .82rem; color: #94a3b8; }
.bh-points { margin-top: 2rem; display: grid; gap: 0; }
.bh-point { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid #E6E2DA; }
.bh-point b { font-family: var(--bx-display); font-size: 1.6rem; color: var(--bx-accent); line-height: 1; }
.bh-point h4 { margin: 0 0 .25rem; font-size: 1.02rem; color: #0B1220; }
.bh-point p { margin: 0; font-size: .92rem; color: #5b6778; }

.bh-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bh-service { position: relative; overflow: hidden; border-radius: 4px; text-decoration: none; color: #fff; isolation: isolate; grid-column: span 4; background: #1e293b; }
.bh-service:nth-child(6n+1) { grid-column: span 7; grid-row: span 2; }
.bh-service:nth-child(6n+2) { grid-column: span 5; }
.bh-service:nth-child(6n+3) { grid-column: span 5; }
.bh-service:nth-child(6n+1):last-child { grid-column: 1 / -1; grid-row: span 1; }
.bh-service:nth-child(6n+2):last-child { grid-column: span 5; }
.bh-service-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.4s var(--bx-ease-out); }
.bh-service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,18,32,.45); transition: background .6s; }
.bh-service-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.bh-service-no { position: absolute; top: 22px; left: 26px; font-family: var(--bx-mono); font-size: .72rem; letter-spacing: .15em; color: #bae6fd; }
.bh-service h3 { font-family: var(--bx-display); font-weight: 600; font-size: 1.55rem; margin: 0; color: #fff; line-height: 1.15; }
.bh-service:nth-child(6n+1) h3 { font-size: 2.3rem; }
.bh-service p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: .92rem; line-height: 1.6; color: rgba(226,232,240,.88); transition: max-height .6s var(--bx-ease), opacity .5s, margin .5s; }
.bh-service .bh-link { color: #fff; margin-top: .9rem; font-size: .85rem; }
.bh-service:hover .bh-service-bg { transform: scale(1.08); }
.bh-service:hover::before { background: rgba(11,18,32,.6); }
.bh-service:hover p { max-height: 140px; opacity: 1; margin-top: .6rem; }
@media (hover: none) { .bh-service p { max-height: none; opacity: 1; margin-top: .6rem; } }

.bh-rail-wrap { position: relative; }
.bh-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 28px 30px; scrollbar-width: none; cursor: grab; scroll-padding-left: 28px; }
.bh-rail::-webkit-scrollbar { display: none; }
.bh-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.bh-rail.is-dragging a { pointer-events: none; }
.bh-rail-spacer { flex: 0 0 max(0px, calc((100vw - 1320px) / 2)); }
.bh-design { flex: 0 0 clamp(290px, 30vw, 420px); scroll-snap-align: start; text-decoration: none; color: inherit; }
.bh-design-media { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: #dbe4ee; }
.bh-design-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--bx-ease-out); }
.bh-design:hover .bh-design-media img { transform: scale(1.07); }
.bh-design-tag { position: absolute; top: 16px; left: 16px; padding: .35rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(11,18,32,.7); color: #fff; backdrop-filter: blur(8px); }
.bh-design-facts { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.bh-design-facts span { padding: .35rem .7rem; border-radius: 4px; font-family: var(--bx-mono); font-size: .7rem; background: rgba(255,255,255,.88); color: #0B1220; backdrop-filter: blur(6px); }
.bh-design h3 { font-family: var(--bx-display); font-size: 1.45rem; font-weight: 600; color: #0B1220; margin: 18px 0 6px; }
.bh-design p { font-size: .9rem; color: #5b6778; margin: 0; }
.bh-rail-controls { display: flex; gap: 10px; }
.bh-rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #d5dbe3; background: #fff; cursor: pointer; font-family: var(--bx-mono); font-size: 1.1rem; color: #0B1220; transition: all .3s var(--bx-ease); }
.bh-rail-btn:hover { background: #0B1220; color: #fff; border-color: #0B1220; }
.bh-rail-progress { height: 2px; background: #E6E2DA; margin: 10px 28px 0; border-radius: 2px; overflow: hidden; max-width: 1264px; }
.bh-rail-progress i { display: block; height: 100%; width: 100%; background: var(--bx-accent); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s; }
@media (min-width: 1321px) { .bh-rail-progress { margin: 10px auto 0; } }


.bh-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.bh-story-visual { position: sticky; top: 110px; aspect-ratio: 4 / 4.6; border-radius: 4px; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0,0,0,.8); background: #1e293b; }
.bh-story-frame { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--bx-ease), transform 1.6s var(--bx-ease-out); }
.bh-story-frame.is-active { opacity: 1; transform: none; }
.bh-story-visual::after { content: ""; position: absolute; inset: 0; background: rgba(11,18,32,0.59); }
.bh-story-cap { position: absolute; left: 26px; bottom: 22px; z-index: 2; font-family: var(--bx-mono); font-size: .72rem; letter-spacing: .16em; color: #bae6fd; }
.bh-story-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0 20px 30px; border-left: 1px solid rgba(255,255,255,.1); position: relative; opacity: .3; transition: opacity .6s var(--bx-ease); }
.bh-story-step::before { content: ""; position: absolute; left: -1px; top: 25%; bottom: 25%; width: 2px; background: var(--bx-accent); transform: scaleY(0); transition: transform .7s var(--bx-ease); }
.bh-story-step.is-active { opacity: 1; }
.bh-story-step.is-active::before { transform: scaleY(1); }
.bh-story-step b { font-family: var(--bx-mono); font-size: .78rem; letter-spacing: .16em; color: var(--bx-sky); }
.bh-story-step h3 { font-family: var(--bx-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: .7rem 0 .8rem; }
.bh-story-step p { font-size: 1.02rem; line-height: 1.8; color: #94a3b8; margin: 0; max-width: 480px; }
.bh-story-step .bh-step-img { display: none; }

.bh-stats { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.bh-stats-bg { position: absolute; inset: -15% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.bh-stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,18,32,0.66); }
.bh-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 56px; }
.bh-stat { padding-top: 26px; border-top: 1px solid rgba(56,189,248,.4); }
.bh-stat strong { display: block; font-family: var(--bx-display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.bh-stat span { display: block; margin-top: 12px; color: #94a3b8; font-size: .95rem; }

.bh-mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bh-mvv-card { position: relative; padding: 38px 34px 34px; border-radius: 4px; background: #fff; border: 1px solid #E6E2DA; overflow: hidden; transition: transform .5s var(--bx-ease), box-shadow .5s; }
.bh-mvv-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(11,18,32,.4); }
.bh-mvv-card::before { content: attr(data-no); position: absolute; top: 18px; right: 24px; font-family: var(--bx-display); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(4,114,187,.25); }
.bh-mvv-card h3 { font-family: var(--bx-display); font-weight: 600; font-size: 1.9rem; color: #0B1220; margin: 0 0 1rem; }
.bh-mvv-card p { font-size: 1rem; line-height: 1.8; color: #5b6778; margin: 0; }
.bh-mvv-card--dark { background: var(--bx-ink); border-color: transparent; }
.bh-mvv-card--dark h3 { color: #fff; }
.bh-mvv-card--dark p { color: #94a3b8; }
.bh-values { list-style: none; padding: 0; margin: 0; }
.bh-values li { padding: .75rem 0; border-top: 1px solid #E6E2DA; font-size: .94rem; line-height: 1.6; color: #5b6778; }
.bh-values li strong { display: block; color: #0B1220; font-size: 1rem; }

.bh-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; }
.bh-contact-info { position: relative; overflow: hidden; border-radius: 4px; padding: clamp(30px, 4vw, 48px); background: var(--bx-ink); color: #cbd5e1; isolation: isolate; }
.bh-contact-info::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; z-index: -1; display: none; }
.bh-contact-info h2 { font-family: var(--bx-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.7rem); color: #fff; margin: 1rem 0 1.4rem; line-height: 1.1; }
.bh-info-row { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.bh-info-row small { display: block; font-family: var(--bx-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #64748b; margin-bottom: 4px; }
.bh-info-row div { color: #e2e8f0; font-size: .98rem; }
.bh-info-row a { color: #e2e8f0; text-decoration: none; }
.bh-info-dot { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(56,189,248,.12); color: var(--bx-sky); font-family: var(--bx-mono); font-size: .8rem; font-weight: 600; }
.bh-portfolios { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bh-portfolios a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #e2e8f0; font-size: .88rem; transition: all .3s var(--bx-ease); }
.bh-portfolios a::after { content: "\2193"; font-family: var(--bx-mono); color: var(--bx-sky); transition: transform .3s; }
.bh-portfolios a:hover { background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.4); }
.bh-portfolios a:hover::after { transform: translateY(3px); }
.bh-form { border-radius: 4px; padding: clamp(30px, 4vw, 48px); background: #fff; border: 1px solid #E6E2DA; box-shadow: 0 60px 100px -70px rgba(11,18,32,.5); }
.bh-form h3 { font-family: var(--bx-display); font-weight: 600; font-size: 2rem; color: #0B1220; margin: .8rem 0 1.6rem; }
.bh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-field { position: relative; }
.bh-field--full { grid-column: 1 / -1; }
.bh-field input, .bh-field select, .bh-field textarea {
    width: 100%; padding: 22px 16px 10px; border-radius: 4px; border: 1px solid #dbe1e8; background: #F8FAFC;
    font: inherit; font-size: .98rem; color: #0B1220; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; appearance: none;
}
.bh-field textarea { min-height: 140px; resize: vertical; }
.bh-field label { position: absolute; left: 16px; top: 17px; font-size: .95rem; color: #7b8794; pointer-events: none; transition: all .25s var(--bx-ease); }
.bh-field :is(input, textarea):focus, .bh-field select:focus { border-color: var(--bx-sky); background: #fff; box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.bh-field :is(input, textarea):focus + label, .bh-field :is(input, textarea):not(:placeholder-shown) + label, .bh-field select + label { top: 7px; font-size: .7rem; letter-spacing: .06em; color: var(--bx-accent); }
.bh-service-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-service-picks label { cursor: pointer; }
.bh-service-picks input { position: absolute; opacity: 0; pointer-events: none; }
.bh-service-picks span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1px solid #dbe1e8; font-size: .86rem; color: #475569; transition: all .25s var(--bx-ease); }
.bh-service-picks input:checked + span { background: #0B1220; color: #fff; border-color: #0B1220; }
.bh-service-picks input:focus-visible + span { box-shadow: 0 0 0 3px rgba(56,189,248,.4); }
.bh-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.bh-form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 4px; font-size: .92rem; }
.bh-form-msg.is-ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.bh-form-msg.is-err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 1100px) {
    .bh-hero-inner { grid-template-columns: 1fr; padding-bottom: 190px; }
    .bh-glass { display: none; }
    .bh-mosaic { grid-template-columns: repeat(6, 1fr); }
    .bh-service, .bh-service:nth-child(6n+2), .bh-service:nth-child(6n+3) { grid-column: span 3; }
    .bh-service:nth-child(6n+1) { grid-column: span 6; grid-row: span 1; }
}
@media (max-width: 900px) {
    .bh-intro, .bh-story, .bh-contact { grid-template-columns: 1fr; }
    .bh-collage { min-height: 420px; }
    .bh-story-visual { display: none; }
    .bh-story-step { min-height: 0; opacity: 1; padding: 0 0 36px 22px; }
    .bh-story-step::before { transform: scaleY(1); }
    .bh-story-step .bh-step-img { display: block; aspect-ratio: 16 / 10; border-radius: 4px; background-size: cover; background-position: center; margin-bottom: 18px; }
                    .bh-stats-row { grid-template-columns: 1fr 1fr; }
    .bh-mvv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bh-wrap { padding: 0 18px; }
    .bh-mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .bh-service, .bh-service:nth-child(n) { grid-column: 1 / -1; grid-row: span 1; }
    .bh-service p { max-height: none; opacity: 1; margin-top: .6rem; }
    .bh-fields, .bh-portfolios { grid-template-columns: 1fr; }
    .bh-slide-nav { bottom: 90px; }
    .bh-slide-dot { flex-basis: 70px; }
    .bh-collage-b { display: none; }
    .bh-collage-a { inset: 0; }
    .bh-badge { left: 12px; bottom: 12px; }
    .bh-rail { padding: 10px 18px 26px; scroll-padding-left: 18px; }
    .bh-rail-progress { margin: 10px 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-slide, .bh-marquee-track, .bh-rise > span > span, .bh-fade-in { animation: none !important; transition: none !important; transform: none !important; opacity: 1; }
}

.bh-type-tabs { margin: -18px 0 34px; width: fit-content; }
.bh-filter-empty { margin: 10px 28px 0; padding: 22px 24px; border-radius: 4px; border: 1px dashed #d5dbe3; color: #5b6778; text-align: center; }
.bh-filter-empty a { color: var(--bx-accent); font-weight: 600; }
.bh-filter-empty--dark { margin: 0; border-color: rgba(255,255,255,.18); color: #94a3b8; }
.bh-filter-empty--dark a { color: var(--bx-sky); }
.bh-wrap .bh-filter-empty { margin: 0; }
@media (min-width: 1321px) { .bh-rail-wrap > .bh-filter-empty { max-width: 1264px; margin: 10px auto 0; } }

.bh-story-visual { aspect-ratio: auto; height: calc(100vh - 150px); min-height: 520px; max-height: 820px; }
.bh-story-visual::after { background: rgba(11,18,32,.2); }
.bh-story-cap { bottom: auto; top: 22px; z-index: 3; padding: .35rem .7rem; border-radius: 999px; background: rgba(11,18,32,.55); backdrop-filter: blur(8px); }
.bh-story-thumbs { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.bh-story-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; background: #1e293b center / cover; opacity: .55; filter: grayscale(.4); box-shadow: 0 0 0 1px rgba(255,255,255,.15); transition: opacity .5s, filter .5s, transform .6s var(--bx-ease-out), box-shadow .4s; overflow: hidden; }
.bh-story-thumb b { position: absolute; left: 8px; bottom: 6px; font-family: var(--bx-mono); font-size: .64rem; font-weight: 500; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.bh-story-thumb.is-active { opacity: 1; filter: none; transform: translateY(-4px); box-shadow: 0 0 0 2px var(--bx-sky), 0 16px 30px -12px rgba(56,189,248,.6); }
.bh-story-step { min-height: calc((100vh - 150px) / 1.6); }
@media (max-width: 900px) { .bh-story-step { min-height: 0; } }
