:root {
    --color-primary: #d99b55;
    --color-primary-invert: #0b0b0c;
    --color-primary-hover: #efb36c;
    --color-text: #f5f1eb;
    --color-text-muted: #b8b1a6;
    --color-surface: #101113;
    --color-background: #060607;
    --color-border: #2b2d30;
    --ms-copper: #d99b55;
    --ms-steel: #aeb7bd;
    --ms-graphite: #15171a;
    --ms-panel: #111214;
    --ms-line: rgba(255, 255, 255, 0.14);
    --ms-page-width: 1440px;
    --ms-page-gutter: clamp(16px, 4vw, 56px);
}

html,
body.metal-landing {
    background: var(--color-background);
    color: var(--color-text);
}

body.metal-landing {
    min-width: 320px;
}

.metal-landing *,
.metal-landing *::before,
.metal-landing *::after {
    box-sizing: border-box;
}

.metal-landing header {
    background: rgba(10, 10, 11, 0.96);
    border-bottom-color: var(--ms-line);
    color: var(--color-text);
    height: auto;
    min-height: 64px;
    padding: 10px var(--ms-page-gutter);
    width: 100%;
    flex-wrap: wrap;
    row-gap: 10px;
    z-index: 20;
}

.metal-landing header .brand {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 44px;
    text-decoration: none;
}

.metal-landing header > .menu {
    flex: 1 1 760px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    row-gap: 8px;
}

.metal-landing header nav {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    row-gap: 6px;
}

.metal-landing header address {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    row-gap: 6px;
}

.metal-landing header address a:has(span) {
    max-width: 25ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metal-landing header > .menu > button {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
}

.metal-landing header nav > nav.active {
    left: var(--ms-page-gutter);
    top: 100%;
    width: calc(100vw - (var(--ms-page-gutter) * 2));
}

.metal-landing header nav a,
.metal-landing header address > a {
    color: var(--color-text);
}

.metal-landing header > .menu > button {
    background: var(--ms-copper);
    border-color: var(--ms-copper);
}

.metal-landing header > .menu > button > span {
    color: #111;
}

.metal-landing header nav > nav.active,
.metal-landing .burger.menu.active {
    background: #111214;
    border-color: var(--ms-line);
}

.metal-landing main {
    overflow: hidden;
}

.metal-landing main > section {
    width: min(var(--ms-page-width), calc(100vw - (var(--ms-page-gutter) * 2)));
    margin: 0 auto 88px;
}

.metal-landing h1,
.metal-landing h2,
.metal-landing h3,
.metal-landing p {
    max-width: none;
    padding-left: 0;
    letter-spacing: 0;
}

.metal-landing h1 {
    font-size: clamp(42px, 6vw, 88px);
    line-height: 0.96;
    max-width: 820px;
}

.metal-landing h2 {
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1;
}

.metal-landing p,
.metal-landing li,
.metal-landing dd,
.metal-landing a,
.metal-landing input,
.metal-landing textarea,
.metal-landing button {
    font-size: 18px;
    line-height: 1.45;
}

.ms-eyebrow {
    color: var(--ms-copper);
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
}

.ms-hero {
    display: grid;
    min-height: calc(100vh - 84px);
    padding: 62px 0 46px;
    place-items: center;
    position: relative;
}

.ms-hero__media {
    border: 1px solid var(--ms-line);
    height: min(720px, calc(100vh - 150px));
    inset: 62px 0 46px auto;
    max-width: 900px;
    overflow: hidden;
    position: absolute;
    right: 0;
    width: 58%;
}

.ms-hero__media::after {
    background: linear-gradient(90deg, rgba(6, 6, 7, 0.72), rgba(6, 6, 7, 0.42));
    content: "";
    inset: 0;
    position: absolute;
}

.ms-hero__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ms-hero__content {
    justify-self: start;
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.ms-hero__content > p:not(.ms-eyebrow) {
    color: var(--color-text-muted);
    font-size: 22px;
    margin-top: 24px;
    max-width: 650px;
}

.ms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ms-button,
.ms-contact button {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-weight: 750;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    text-decoration: none;
}

.ms-button--primary,
.ms-contact button {
    background: var(--ms-copper);
    border: 1px solid var(--ms-copper);
    color: #0c0c0d;
}

.ms-button--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ms-line);
    color: var(--color-text);
}

.ms-stats {
    border-top: 1px solid var(--ms-line);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 54px 0 0;
    max-width: 650px;
    padding-top: 22px;
}

.ms-stats div {
    min-width: 0;
}

.ms-stats dt {
    color: var(--color-text);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.ms-stats dd {
    color: var(--color-text-muted);
    margin: 6px 0 0;
}

.ms-intro {
    align-items: end;
    border-top: 1px solid var(--ms-line);
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.75fr);
    padding-top: 54px;
}

.ms-intro > p,
.ms-feature p,
.ms-video p,
.ms-contact p {
    color: var(--color-text-muted);
}

.ms-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ms-cards article {
    background: var(--ms-panel);
    border: 1px solid var(--ms-line);
    border-radius: 8px;
    min-height: 250px;
    padding: 26px;
}

.ms-cards img {
    background: #f2e6d6;
    border-radius: 50%;
    height: 48px;
    margin-bottom: 38px;
    padding: 10px;
    width: 48px;
}

.ms-cards h2 {
    font-size: 26px;
}

.ms-cards p {
    color: var(--color-text-muted);
}

.ms-feature {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.ms-feature figure {
    border: 1px solid var(--ms-line);
    margin: 0;
    overflow: hidden;
}

.ms-feature figure img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.ms-feature ul {
    border-top: 1px solid var(--ms-line);
    color: var(--color-text);
    display: grid;
    gap: 12px;
    list-style: none;
    margin-top: 26px;
    padding-top: 22px;
}

.ms-feature li::before {
    color: var(--ms-copper);
    content: "■";
    font-size: 11px;
    margin-right: 10px;
}

.ms-section-head {
    margin-bottom: 28px;
    max-width: 900px;
}

.ms-gallery__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ms-gallery__grid img {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--ms-line);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ms-gallery__grid img:first-child {
    aspect-ratio: 16 / 10;
    grid-column: span 2;
    grid-row: span 2;
}

.ms-gallery__grid img:nth-child(2) {
    grid-row: span 2;
}

.ms-video {
    align-items: end;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
}

.ms-video__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ms-video video {
    aspect-ratio: 9 / 16;
    background: #000;
    border: 1px solid var(--ms-line);
    height: auto;
    object-fit: cover;
    width: 100%;
}

.ms-process ol {
    border-top: 1px solid var(--ms-line);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    list-style: none;
}

.ms-process li {
    border-right: 1px solid var(--ms-line);
    min-height: 230px;
    padding: 26px 20px 20px 0;
}

.ms-process li:last-child {
    border-right: 0;
}

.ms-process span {
    color: var(--ms-copper);
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 42px;
}

.ms-process strong {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.ms-process p {
    color: var(--color-text-muted);
}

.ms-contact {
    align-items: start;
    background: var(--ms-panel);
    border: 1px solid var(--ms-line);
    border-radius: 8px;
    display: grid;
    gap: clamp(32px, 4vw, 56px);
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(28px, 4vw, 56px);
}

.metal-landing #contact.ms-contact {
    gap: clamp(32px, 4vw, 56px);
    max-width: none;
    padding: clamp(28px, 4vw, 56px);
    width: min(var(--ms-page-width), calc(100vw - (var(--ms-page-gutter) * 2)));
}

.ms-contact address {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.ms-contact address a {
    border: 1px solid var(--ms-line);
    border-radius: 6px;
    color: var(--color-text);
    padding: 10px 12px;
    text-decoration: none;
}

.ms-contact form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(min(45ch, 100%), 1fr));
    justify-self: end;
    min-width: 0;
    width: 940px;
}

.metal-landing #contact.ms-contact > form {
    max-width: 100%;
    width: 940px;
}

.ms-contact label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.ms-contact label span {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 700;
}

.ms-contact input,
.ms-contact textarea {
    background: #08090a;
    border: 1px solid var(--ms-line);
    border-radius: 6px;
    color: var(--color-text);
    max-width: none;
    min-width: min(45ch, 100%);
    min-height: 52px;
    padding: 0 14px;
    text-indent: 0;
    width: 100%;
}

.ms-contact textarea {
    min-height: 132px;
    padding-top: 14px;
}

.ms-form-row {
    display: contents;
}

.ms-contact form > label:first-of-type,
.ms-contact form > label:has(textarea),
.ms-checkbox {
    grid-column: 1 / -1;
}

.ms-contact form > label:has(textarea) textarea {
    min-width: min(90ch, 100%);
}

.ms-checkbox {
    align-items: start;
    display: flex !important;
    gap: 10px !important;
    max-width: 72ch;
}

.ms-checkbox input {
    appearance: auto;
    accent-color: var(--ms-copper);
    flex: 0 0 18px;
    height: 18px;
    min-height: 18px;
    min-width: 18px;
    padding: 0;
    width: 18px;
}

.ms-checkbox span {
    line-height: 1.35;
}

.ms-checkbox a {
    color: var(--ms-copper);
}

.ms-honeypot {
    left: -10000px;
    position: absolute;
}

.ms-footer {
    background: #030303;
    border-top: 1px solid var(--ms-line);
    color: var(--color-text-muted);
    margin-top: 0;
    padding: 22px max(var(--ms-page-gutter), calc((100vw - var(--ms-page-width)) / 2));
}

.ms-footer p {
    margin: 0;
}

@media screen and (max-width: 900px) {
    .metal-landing main > section {
        margin-bottom: 72px;
        width: min(100% - 24px, 760px);
    }

    .ms-hero {
        min-height: auto;
        padding-top: 92px;
    }

    .ms-hero__media {
        height: 420px;
        inset: auto;
        margin-bottom: 26px;
        max-width: none;
        position: relative;
        right: auto;
        width: 100%;
    }

    .ms-hero__content {
        justify-self: stretch;
    }

    .ms-intro,
    .ms-feature,
    .ms-video,
    .ms-contact {
        grid-template-columns: 1fr;
    }

    .ms-contact form {
        grid-template-columns: 1fr;
        justify-self: stretch;
        width: 100%;
    }

    .metal-landing #contact.ms-contact > form {
        width: 100%;
    }

    .ms-contact input,
    .ms-contact textarea,
    .ms-contact form > label:has(textarea) textarea {
        min-width: 0;
    }

    .ms-cards,
    .ms-process ol {
        grid-template-columns: 1fr 1fr;
    }

    .ms-gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1100px) {
    .ms-contact form {
        grid-template-columns: 1fr;
        justify-self: stretch;
        width: 100%;
    }

    .metal-landing #contact.ms-contact > form {
        width: 100%;
    }
}

@media screen and (max-width: 1280px) and (min-width: 901px) {
    .metal-landing #contact.ms-contact {
        grid-template-columns: 1fr;
    }

    .ms-contact article {
        max-width: 760px;
    }
}

@media screen and (max-width: 620px) {
    .metal-landing h1 {
        font-size: 42px;
    }

    .metal-landing h2 {
        font-size: 31px;
    }

    .metal-landing p,
    .metal-landing li,
    .metal-landing dd,
    .metal-landing a,
    .metal-landing input,
    .metal-landing textarea,
    .metal-landing button {
        font-size: 16px;
    }

    .ms-stats,
    .ms-cards,
    .ms-video__grid,
    .ms-process ol,
    .ms-form-row {
        grid-template-columns: 1fr;
    }

    .ms-gallery__grid {
        grid-template-columns: 1fr;
    }

    .ms-gallery__grid img:first-child,
    .ms-gallery__grid img:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
    }

    .ms-contact {
        padding: 22px;
    }
}

@media screen and (min-width: 651px) and (max-width: 1180px) {
    .metal-landing header {
        align-items: flex-start;
    }

    .metal-landing header > .menu {
        justify-content: flex-start;
    }

    .metal-landing header nav,
    .metal-landing header address {
        justify-content: flex-start;
    }
}
