.home-carousel { border: 1px solid var(--line); border-radius: .9rem; background: var(--solid); overflow: hidden; }
.home-slides, .related-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
.home-slide { flex: 0 0 100%; min-width: 0; position: relative; isolation: isolate; display: grid; align-content: end; min-height: clamp(17rem, 31vw, 23rem); scroll-snap-align: start; }
.home-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(3 14 22 / .91), rgb(3 14 22 / .72) 56%, rgb(3 14 22 / .24)); }
.home-slide-copy { width: min(100%, 46rem); color: #fff; padding: clamp(1.2rem, 4vw, 2.75rem); }
.home-slide-copy h2 { font-size: clamp(1.5rem, 3.7vw, 2.8rem); line-height: 1.08; margin: 0; text-wrap: balance; }
.home-slide-copy p { font-size: clamp(1rem, 1.55vw, 1.15rem); }
.home-slide-links, .page-actions, .home-shortcuts, .home-slide-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.home-slide-links a, .page-actions :is(a,button), .home-shortcuts a, .home-slide-controls button {
    display: inline-flex; align-items: center; min-height: 2.65rem; padding: .45rem .85rem; border: 1px solid var(--control-line);
    border-radius: .48rem; text-decoration: none; font: inherit; color: var(--text); background: var(--surface);
}
.home-slide-links a { color: #fff; background: rgb(4 20 28 / .66); border-color: rgb(255 255 255 / .6); }
.home-slide-links a:focus-visible { outline-color: #fff; }
.home-slide-links a:hover, .home-shortcuts a:hover, .page-actions a:hover { text-decoration: underline; }
.home-slide-controls { padding: .55rem .8rem; justify-content: flex-end; gap: .85rem; }
.home-slide-controls button, .page-actions button { cursor: pointer; }
.home-slide-controls button:disabled { opacity: .5; cursor: default; }
.home-slide-controls[hidden], .page-actions [hidden], .service-accordion [hidden] { display: none; }
.home-shortcuts { margin-block: 1rem 2rem; }
.technical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.technical-grid a { overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); text-decoration: none; }
.technical-grid a:hover h2 { text-decoration: underline; }
.technical-grid img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.technical-grid h2 { font-size: 1.18rem; line-height: 1.23; margin: 0; padding: .9rem 1rem; color: var(--text); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.contact-grid a { display: grid; gap: .2rem; color: var(--text); text-decoration: none; }
.contact-grid a span { font-size: .85rem; color: var(--muted); }
.contact-grid a:hover strong { text-decoration: underline; }
.contact-grid + .page-actions { margin-block: 1rem; }
.contact-grid ~ video { width: min(100%, 52rem); }
.service-accordion :is(.content-media, .service-copy) { min-width: 0; }
.service-accordion :is(.content-media img, .content-media video, .service-copy > img) { max-width: 100%; height: auto; display: block; border-radius: .48rem; }
.service-accordion .content-media img { max-height: 30rem; object-fit: contain; }
.service-accordion .page-actions { margin-block: .9rem .3rem; }
.related-rail { gap: .65rem; padding: .3rem 0 .65rem; margin-block: 1.15rem; }
.related-rail a { flex: 0 0 min(66%, 12rem); scroll-snap-align: start; text-decoration: none; font-size: .875rem; color: var(--text); }
.related-rail a:hover span { text-decoration: underline; }
.related-rail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: .45rem; margin-block-end: .35rem; }
@media (max-width: 35rem) { .home-slide::before { background: linear-gradient(0deg, rgb(3 14 22 / .95), rgb(3 14 22 / .75) 68%, rgb(3 14 22 / .46)); } }
.contact-social { margin-block: 1.2rem; display: grid; gap: .65rem; }
.contact-social .page-actions > strong { min-width: 5.5rem; }
.contact-social [role="status"] { color: var(--muted); font-size: .88rem; }
.home-shortcuts a { gap: .5rem; }
.home-shortcuts img { width: 1.8rem; height: 1.8rem; object-fit: contain; }
:root:not([data-theme="light"]) .home-shortcuts img { filter: invert(1); }
