:root {
    --primary: #000;
    --secondary: #1e1e1e;
    --highlight: #ff2bd6;
    --muted: #a8a8a8;
    --normal: #fff;
    --page-gutter: clamp(16px, 3vw, 32px);
    --section-gap: clamp(88px, 10vw, 144px);
    --content-gap: clamp(32px, 5vw, 72px);
    --radius-large: clamp(24px, 3vw, 40px);
    --body-size: clamp(1rem, 1.2vw, 1.125rem);
}

@font-face {
    font-family: "Roboto VF";
    src: url("./fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    background: var(--primary);
    color: var(--normal);
    font-family: "Roboto VF", system-ui, -apple-system, sans-serif;
    font-size: var(--body-size);
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

picture {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--highlight);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--normal);
    color: var(--primary);
    font-weight: 750;
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgb(0 0 0 / 94%);
}

.header-inner {
    display: flex;
    width: min(100%, 1440px);
    min-height: 88px;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    margin-inline: auto;
    padding: 8px var(--page-gutter);
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: 58px;
}

.header-actions {
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 2vw, 32px);
    margin-left: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a,
.footer-inner a,
.text-link {
    color: var(--normal);
    text-decoration: none;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 650;
}

.main-navigation a:hover,
.footer-inner a:hover,
.text-link:hover {
    color: var(--highlight);
}

.main-navigation a[aria-current="page"],
.language-switcher a[aria-current="page"] {
    color: var(--highlight);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 780;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button {
    padding: 12px 20px;
}

.button-primary {
    background: var(--highlight);
    color: var(--primary);
}

.button-secondary {
    border: 1px solid var(--normal);
    color: var(--normal);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary:hover {
    background: var(--normal);
}

.button-secondary:hover {
    border-color: var(--highlight);
    color: var(--highlight);
}

.menu-toggle {
    display: none;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.language-switcher a {
    color: inherit;
    text-decoration: none;
}

.hero,
.page-section {
    width: min(100%, 1440px);
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.hero {
    padding-bottom: var(--section-gap);
}

.hero-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.hero-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 88%) 10%, rgb(0 0 0 / 38%) 34%, transparent 62%);
    pointer-events: none;
}

.hero-image picture,
.hero-image img {
    width: 100%;
    height: 100%;
}

.hero-image img {
    object-fit: cover;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
    gap: var(--content-gap);
    align-items: end;
}

.hero-copy h1 {
    max-width: 900px;
    margin: 0;
    padding: 18px 0 22px;
    border-bottom: 1px solid var(--secondary);
    font-size: clamp(2.6rem, 5.5vw, 5.5rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-copy h1 span {
    color: var(--highlight);
}

.hero-copy p {
    max-width: 60ch;
    margin: 22px 0 0;
    color: var(--muted);
}

.hero-actions {
    display: grid;
    align-self: center;
    gap: 12px;
}

.page-section {
    margin-bottom: var(--section-gap);
}

.page-section > h2 {
    margin: 0 0 var(--content-gap);
    color: var(--highlight);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1;
    text-transform: uppercase;
}

.projects > h2,
.contact > h2 {
    text-align: center;
}

.service-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 460px;
}

.service-card picture,
.service-card picture img {
    width: 100%;
    height: 100%;
}

.service-card picture img {
    min-height: 460px;
    object-fit: cover;
}

.service-card.events picture {
    overflow: hidden;
    border-radius: 48px 48px 0 48px;
}

.service-card.systems picture {
    overflow: hidden;
    border-radius: 48px 0 48px 48px;
}

.service-card.spaces picture {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    border-radius: 0 48px 48px 0;
}

.service-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--content-gap);
}

.service-card.spaces .service-copy {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-end;
    text-align: right;
}

.service-copy h3,
.product-copy h3,
.product-card h3 {
    margin: 0 0 22px;
    color: var(--highlight);
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 850;
    line-height: 1.05;
    text-transform: uppercase;
}

.service-copy p,
.product-copy p,
.product-card p {
    max-width: 60ch;
    margin: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-card.spaces .tags {
    justify-content: flex-end;
}

.tags li {
    max-width: 100%;
    padding: 4px 10px;
    overflow-wrap: anywhere;
    border: 1px solid #777;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.2;
}

.projects {
    overflow: hidden;
    padding-inline: 0;
}

.projects > h2 {
    margin-inline: var(--page-gutter);
}

.projects-carousel {
    --project-gap: 24px;
    --project-slide-width: calc((min(100vw, 1440px) - var(--project-gap)) / 2);
    overflow: hidden;
}

.projects-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.projects-track.is-animated {
    animation: projects-scroll var(--carousel-duration) linear infinite;
}

.projects-group {
    display: flex;
    gap: var(--project-gap);
    padding-right: var(--project-gap);
}

.project-slide {
    position: relative;
    width: var(--project-slide-width);
    flex: 0 0 var(--project-slide-width);
    aspect-ratio: 7 / 5;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-large);
    background: var(--secondary);
}

.project-slide::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    content: "";
    background: linear-gradient(transparent, rgb(0 0 0 / 88%));
    pointer-events: none;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-slide picture {
    height: 100%;
}

.project-slide-caption {
    position: absolute;
    z-index: 1;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 26px);
    left: clamp(16px, 2vw, 28px);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 700;
}

.project-slide {
    color: var(--normal);
    text-decoration: none;
}

@keyframes projects-scroll {
    to {
        transform: translate3d(var(--carousel-end), 0, 0);
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 40px;
}

.featured-products,
.venuehub {
    grid-column: 1 / -1;
}

.featured-products {
    display: grid;
    gap: 12px;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.feature-product,
.venuehub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 420px;
}

.feature-product picture,
.feature-product picture img,
.venuehub picture,
.venuehub picture img {
    width: 100%;
    height: 100%;
}

.feature-product picture img,
.venuehub picture img {
    min-height: 420px;
    object-fit: cover;
}

.product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--content-gap);
    background: var(--secondary);
}

.product-card {
    min-width: 0;
}

.product-card picture {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 32px;
}

.product-card picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    margin: 20px 0 12px;
}

.venuehub {
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.venuehub picture img {
    min-height: 460px;
}

.text-link {
    align-self: flex-start;
    margin-top: 26px;
    color: var(--highlight);
    font-weight: 750;
}

.contact-intro {
    max-width: 60ch;
    margin: calc(var(--content-gap) * -0.55) auto var(--content-gap);
    color: var(--muted);
    text-align: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
}

.location-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maps {
    width: 100%;
    min-height: 340px;
    flex: 1 1 auto;
    border: 0;
    border-radius: 20px;
    filter: grayscale(1) invert(0.88) contrast(0.9);
}

.locations {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: 20px;
    background: var(--secondary);
    font-style: normal;
}

.locations h3,
.contact-form > h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.2;
}

.locations a {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--normal);
    font-size: 0.95rem;
    line-height: 1.3;
    text-decoration: none;
}

.locations a:hover {
    color: var(--highlight);
}

.location-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(5022%) hue-rotate(294deg) brightness(111%) contrast(108%);
}

.contact-form {
    padding: clamp(24px, 3vw, 40px);
    border-radius: 24px;
    background: var(--secondary);
}

.contact-form > h3 {
    margin-bottom: 32px;
    font-size: 1.45rem;
}

.contact-form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.form-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.form-field label span {
    color: var(--highlight);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--primary);
    color: var(--normal);
    color-scheme: dark;
}

.form-field input,
.form-field select {
    height: 52px;
    padding: 0 16px;
}

.form-field textarea {
    min-height: 170px;
    padding: 16px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8d8d8d;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--highlight);
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

.contact-form button {
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: var(--highlight);
    color: var(--primary);
    font-weight: 850;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--normal);
}

.form-consent,
.form-status {
    margin: 0;
    padding-top: 20px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.form-consent a {
    color: var(--normal);
}

.form-status:empty {
    display: none;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.errorlist,
.form-errors {
    margin: 4px 0 0;
    padding: 0;
    color: #ff9bdc;
    font-size: 0.84rem;
    list-style: none;
}

.form-errors {
    margin-bottom: 18px;
}

footer {
    background: var(--secondary);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 1440px);
    min-height: 96px;
    margin-inline: auto;
    padding: 16px var(--page-gutter);
}

.footer-legal,
.footer-socials,
.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-legal,
.footer-contact {
    flex-direction: column;
    gap: 8px;
}

.footer-socials {
    gap: 28px;
}

.footer-inner a {
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-socials a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--normal);
}

.social-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    filter: brightness(0) saturate(100%) invert(68%);
}

.legal-page {
    width: min(100%, 900px);
    min-height: calc(100vh - 184px);
    margin-inline: auto;
    padding: clamp(64px, 8vw, 112px) var(--page-gutter);
}

.legal-page h1,
.legal-section-title {
    margin: 0 0 48px;
    color: var(--highlight);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
}

.legal-page h2:not(.legal-section-title),
.legal-page h3 {
    margin: 36px 0 12px;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.legal-section {
    margin-top: var(--section-gap);
    padding-top: var(--section-gap);
    border-top: 1px solid var(--secondary);
}

.legal-page p {
    max-width: 70ch;
    margin: 0;
    color: #d0d0d0;
}

.legal-page a {
    color: var(--normal);
}

.legal-page a:hover {
    color: var(--highlight);
}

.legal-footer {
    display: flex;
    justify-content: center;
}

.portfolio-page,
.project-page {
    width: min(100%, 1440px);
    margin-inline: auto;
    padding: clamp(64px, 8vw, 112px) var(--page-gutter) var(--section-gap);
}

.portfolio-hero,
.project-heading {
    max-width: 920px;
    margin-bottom: var(--content-gap);
}

.project-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.project-back-link {
    color: var(--normal);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.project-back-link:hover {
    color: var(--highlight);
}

.preview-label,
.preview-banner {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid var(--highlight);
    border-radius: 999px;
    color: var(--highlight);
    font-size: 0.76rem;
    font-weight: 780;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.preview-label {
    margin-bottom: 18px;
}

.preview-banner {
    margin-bottom: var(--content-gap);
}

.portfolio-hero h1,
.project-heading h1 {
    margin: 0;
    color: var(--highlight);
    font-size: clamp(2.6rem, 5.5vw, 5.5rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-transform: uppercase;
}

.portfolio-hero p,
.project-heading p {
    max-width: 60ch;
    margin: 24px 0 0;
    color: var(--muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

.portfolio-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-large);
    background: var(--secondary);
    color: var(--normal);
    text-decoration: none;
    transition: transform 180ms ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
}

.portfolio-card picture {
    aspect-ratio: 7 / 5;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.portfolio-card:hover img {
    transform: scale(1.025);
}

.portfolio-card-copy {
    padding: clamp(22px, 3vw, 36px);
}

.portfolio-card-copy span,
.project-kicker {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-card h2 {
    margin: 10px 0 12px;
    color: var(--highlight);
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.portfolio-card p {
    margin: 0;
    color: #d0d0d0;
}

.project-heading h1 {
    margin-top: 14px;
}

.project-hero {
    overflow: hidden;
    border-radius: var(--radius-large);
}

.project-hero picture {
    aspect-ratio: 16 / 9;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: var(--content-gap);
    margin-top: var(--content-gap);
}

.project-summary h2,
.project-scope h2 {
    margin: 0 0 18px;
    color: var(--highlight);
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.project-summary p {
    max-width: 60ch;
    margin: 0;
}

.project-scope {
    padding: clamp(22px, 3vw, 32px);
    border-radius: 24px;
    background: var(--secondary);
}

.project-scope ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #d0d0d0;
}

.project-gallery {
    margin-top: var(--section-gap);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    grid-auto-flow: dense;
    gap: clamp(16px, 2vw, 28px);
}

.gallery-image-button {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: clamp(18px, 2vw, 28px);
    background: var(--secondary);
    color: inherit;
    cursor: zoom-in;
}

.gallery-image-button:focus-visible {
    outline-offset: 5px;
}

.gallery-image-button,
.gallery-image-button picture {
    display: block;
    width: 100%;
}

.gallery-image-button picture {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.gallery-image-button:hover img {
    transform: scale(1.025);
}

.image-viewer {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: clamp(16px, 3vw, 40px);
    border: 0;
    background: rgb(0 0 0 / 94%);
    color: var(--normal);
}

.image-viewer[open] {
    display: grid;
    place-items: center;
}

.image-viewer::backdrop {
    background: rgb(0 0 0 / 88%);
}

.image-viewer-inner {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}

.image-viewer-stage {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    place-items: center;
}

.image-viewer-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - clamp(32px, 6vw, 80px));
    object-fit: contain;
}

.image-viewer-close,
.image-viewer-previous,
.image-viewer-next {
    display: inline-grid;
    width: clamp(44px, 5vw, 58px);
    height: clamp(44px, 5vw, 58px);
    padding: 0;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 999px;
    background: rgb(0 0 0 / 55%);
    color: var(--normal);
    cursor: pointer;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1;
    place-items: center;
}

.image-viewer-close:hover,
.image-viewer-previous:hover,
.image-viewer-next:hover {
    border-color: var(--highlight);
    color: var(--highlight);
}

.image-viewer-close {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: var(--section-gap);
}

.project-navigation a {
    color: var(--normal);
    font-weight: 750;
    text-decoration: none;
}

.project-navigation a:hover {
    color: var(--highlight);
}

@media (max-width: 960px) {
    .hero-content,
    .service-card,
    .feature-product,
    .venuehub,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 28px;
    }

    .hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        min-height: 0;
        margin-bottom: 28px;
    }

    .service-card picture,
    .service-card.spaces picture {
        grid-column: 1;
        grid-row: 1;
        border-radius: 24px 24px 0 0;
    }

    .service-card picture img {
        min-height: 320px;
        height: 42vw;
        max-height: 440px;
    }

    .service-card .service-copy,
    .service-card.spaces .service-copy {
        grid-column: 1;
        grid-row: 2;
        align-items: flex-start;
        padding: 28px 20px;
        text-align: left;
    }

    .service-card.spaces .tags {
        justify-content: flex-start;
    }

    .feature-product,
    .venuehub {
        min-height: 0;
    }

    .feature-product picture img,
    .venuehub picture img {
        min-height: 300px;
        height: 48vw;
        max-height: 440px;
    }

    .product-copy {
        padding: 32px 24px;
    }

    .contact-layout {
        gap: 28px;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 76px;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .brand img {
        height: 42px;
    }

    .header-actions {
        align-items: center;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        border: 1px solid #555;
        border-radius: 8px;
        background: transparent;
        color: var(--normal);
        cursor: pointer;
        font-size: 0.84rem;
    }

    .menu-toggle-icon,
    .menu-toggle-icon::before,
    .menu-toggle-icon::after {
        display: block;
        width: 17px;
        height: 2px;
        background: currentColor;
        content: "";
    }

    .menu-toggle-icon {
        position: relative;
    }

    .menu-toggle-icon::before {
        position: absolute;
        top: -5px;
    }

    .menu-toggle-icon::after {
        position: absolute;
        top: 5px;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: var(--page-gutter);
        left: var(--page-gutter);
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid #333;
        border-radius: 12px;
        background: var(--secondary);
        box-shadow: 0 18px 40px rgb(0 0 0 / 45%);
    }

    .main-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .main-navigation a {
        display: block;
        padding: 12px;
    }

    .language-switcher {
        gap: 5px;
        font-size: 0.74rem;
    }

    .hero-image {
        height: clamp(420px, 65vw, 600px);
        min-height: 0;
        border-radius: 16px 16px 0 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .projects-carousel {
        --project-gap: 14px;
        --project-slide-width: 84vw;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .product-card picture {
        border-radius: 24px;
    }

    .tags li {
        font-size: 0.78rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 36px;
    }

    .project-navigation {
        flex-direction: column;
    }

    .image-viewer {
        padding: 12px;
    }

    .image-viewer-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .image-viewer-stage {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .image-viewer-image {
        max-height: calc(100dvh - 92px);
    }

    .image-viewer-previous,
    .image-viewer-next {
        grid-row: 2;
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .service-card picture img,
    .feature-product picture img,
    .venuehub picture img {
        min-height: 260px;
        height: 62vw;
    }

    .projects > h2 {
        padding-inline: 8px;
    }

    .contact-form form {
        grid-template-columns: 1fr;
    }

    .maps {
        min-height: 300px;
    }

    .locations {
        padding: 20px 16px;
    }

    .locations a {
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .projects-track {
        animation: none;
    }
}
