@font-face {
    font-family: "Metropolis";
    src: url("/static/fonts/Metropolis-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("/static/fonts/Metropolis-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("/static/fonts/Metropolis-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --palus-red: #de3726;
    --palus-black: #1a1a1a;
    --palus-gold: #a9996e;
    --palus-light-gray: #ededed;
    --palus-mid-gray: #a3a3a3;
    --palus-dark-gray: #5e5e5e;
    --surface: #ffffff;
}

* {
    box-sizing: border-box;
    border-radius: 0;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--palus-black);
    background:
        linear-gradient(165deg, rgba(169, 153, 110, 0.08) 0%, rgba(255, 255, 255, 1) 45%, rgba(237, 237, 237, 1) 100%);
}

.fold {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.fold-a {
    top: 0;
    left: 0;
    width: 34vw;
    height: 28vh;
    background: linear-gradient(135deg, rgba(222, 55, 38, 0.2), rgba(222, 55, 38, 0.05));
    clip-path: polygon(0 0, 100% 0, 68% 100%, 0 72%);
}

.fold-b {
    right: 0;
    bottom: 0;
    width: 42vw;
    height: 34vh;
    background: linear-gradient(320deg, rgba(26, 26, 26, 0.16), rgba(26, 26, 26, 0.03));
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
}

.shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: clamp(0.85rem, 1.8vw, 1.8rem);
}

.hero-band {
    position: relative;
    z-index: 1;
    width: 100%;
    background:
        linear-gradient(120deg, rgba(10, 10, 10, 0.86) 0%, rgba(26, 26, 26, 0.82) 55%, rgba(36, 20, 18, 0.82) 100%),
        url("/resources/background.png") center center / cover no-repeat;
    border-top: 2px solid var(--palus-black);
    border-bottom: 2px solid var(--palus-black);
}

.hero-inner {
    width: min(100%, 1360px);
    margin: 0 auto;
    min-height: clamp(31rem, 88vh, 66rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.2rem, 6vw, 5.4rem) clamp(0.85rem, 1.8vw, 1.8rem);
}

.hero-band h1 {
    margin: 0;
    max-width: 16ch;
    color: #fff;
    font-family: "Metropolis", sans-serif;
    font-size: clamp(2rem, 5vw, 4.4rem);
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: clamp(1rem, 2.5vw, 1.7rem);
}

.hero-btn {
    display: inline-block;
    border: 2px solid #fff;
    padding: 0.7rem 1rem;
    text-decoration: none;
    font-family: "Metropolis", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: #fff;
    background: transparent;
}

.hero-btn:hover,
.hero-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.hero-btn-primary {
    background: var(--palus-red);
    border-color: var(--palus-red);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
    background: #bc2619;
    border-color: #bc2619;
}

.site-header {
    width: 100%;
    max-width: 100%;
    border: 0;
    background: transparent;
    padding: 0.4rem 0;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-row > * {
    min-width: 0;
}

.logo {
    display: block;
    width: clamp(210px, 31vw, 330px);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-left: auto;
    max-width: 100%;
}

.top-nav a {
    display: inline-block;
    border: 2px solid var(--palus-black);
    padding: 0.55rem 0.8rem;
    text-decoration: none;
    color: var(--palus-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "Metropolis", sans-serif;
    font-size: 0.75rem;
    background: #fff;
    white-space: normal;
}

.top-nav a.active,
.top-nav a:hover,
.top-nav a:focus-visible {
    background: var(--palus-red);
    color: #fff;
}

main {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.2rem;
    min-width: 0;
}

.panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: var(--surface);
    border: 2px solid var(--palus-black);
    border-left-width: 6px;
    padding: 1.35rem 1.4rem;
}

h1,
h2 {
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    font-family: "Metropolis", sans-serif;
    overflow-wrap: anywhere;
}

h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 2vw + 1rem, 2.55rem);
}

h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.2rem, 1vw + 1rem, 1.65rem);
}

p {
    margin: 0 0 0.85rem;
    line-height: 1.58;
    overflow-wrap: anywhere;
}

main > .panel,
main > .contact-page {
    width: 100%;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.expertise {
    border: 0;
    background: transparent;
    padding: 0;
}

.expertise h2,
.qualifications h2,
.contact-page h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.2rem, 1vw + 1rem, 1.65rem);
}

.expertise-rule {
    width: 100%;
    height: 2px;
    background: rgba(26, 26, 26, 0.18);
    margin: 0 0 1.25rem;
}

.expertise-item {
    border: 0;
    background: transparent;
    padding: 0.35rem 0;
}

.expertise-item h3 {
    margin: 0 0 0.55rem;
    padding-bottom: 0.32rem;
    border-bottom: 2px solid var(--palus-red);
    font-family: "Metropolis", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.expertise-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.qualifications {
    border: 0;
    background: transparent;
    padding: 0;
}

.industries {
    border: 0;
    background: transparent;
    padding: 0;
}

.industries h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.2rem, 1vw + 1rem, 1.65rem);
}

.industries-list {
    margin: 0;
    padding-left: 1.2rem;
    columns: 2;
    column-gap: 2rem;
}

.industries-list li {
    break-inside: avoid;
    margin: 0 0 0.5rem;
    line-height: 1.55;
}

.qualifications-list {
    margin: 0;
    padding-left: 1.2rem;
}

.qualifications-list li {
    margin: 0 0 0.5rem;
    line-height: 1.55;
}

@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.marquee {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-band {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border: 0;
    background: transparent;
    padding: clamp(1.2rem, 3vw, 2.6rem) 0;
}

.marquee-band .marquee {
    width: 100%;
}

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

.logo-card {
    margin: 0;
    width: clamp(120px, 15vw, 170px);
    min-height: 86px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 0.9rem 0.45rem;
    text-align: center;
}

.logo-card img {
    max-height: 48px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}

.marquee.is-dragging {
    cursor: grabbing;
}

.status {
    margin: 0.5rem 0 1rem;
    border: 2px solid var(--palus-black);
    padding: 0.7rem 0.8rem;
    font-weight: 500;
}

.status.success {
    border-color: #2e6f45;
    background: #e7f3ea;
}

.status.error {
    border-color: var(--palus-red);
    background: #fbe8e6;
}

form {
    display: grid;
    gap: 0.72rem;
    min-width: 0;
}

.contact-page {
    border: 0;
    background: transparent;
    padding: 0.3rem 0;
}

.contact-form-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.contact-subhead {
    margin: 0 0 0.75rem;
    font-family: "Metropolis", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

label {
    font-family: "Metropolis", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

input,
textarea,
button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font: inherit;
}

input,
textarea {
    border: 2px solid var(--palus-dark-gray);
    padding: 0.68rem 0.72rem;
    background: #fff;
    color: var(--palus-black);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--palus-red);
    box-shadow: -4px 4px 0 0 rgba(222, 55, 38, 0.26);
}

button {
    margin-top: 0.15rem;
    border: 2px solid var(--palus-black);
    background: var(--palus-red);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: "Metropolis", sans-serif;
    font-weight: 500;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

button:hover,
button:focus-visible {
    background: #bc2619;
}

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

.small-note {
    margin: 0.55rem 0 0;
    color: #515151;
    font-size: 0.78rem;
}

footer {
    width: 100%;
    max-width: 100%;
    margin-top: 1.1rem;
    border-top: 2px solid var(--palus-black);
    padding-top: 0.85rem;
    font-size: 0.86rem;
    color: #434343;
}

@media (max-width: 760px) {
    .shell {
        padding: 0.7rem;
    }

    .hero-inner {
        min-height: 72vh;
        padding: 1.8rem 0.7rem 1.9rem;
    }

    .site-header {
        padding: 0.2rem 0;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-btn {
        flex: 1;
        text-align: center;
        min-width: 130px;
    }

    .panel {
        padding: 0.9rem;
    }

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

    .industries-list {
        columns: 1;
    }

    .logo-card {
        width: clamp(110px, 32vw, 145px);
    }

    .fold-a {
        width: 45vw;
    }

    .fold-b {
        width: 56vw;
    }
}
