:root {
    --bg: #1e2428;
    --bg2: #2c3338;
    --card: #363d43;
    --text: #eef0f1;
    --muted: #9aa3a9;
    --oxide: #b24135;
    --steel: #4f5f69;
    --warm: #c2c6c9;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #101416;
    color: var(--text);
    font-family: 'Raleway', sans-serif;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    display: flex;
    align-items: center;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    pointer-events: none;
}

.brand-logo {
    width: 240px;
    max-width: 54vw;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #161b1e;
}

.hero-video,
.hero-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
}

.hero-scrim {
    background:
        linear-gradient(90deg,
            rgba(7, 9, 10, 0.93) 0%,
            rgba(7, 9, 10, 0.72) 43%,
            rgba(7, 9, 10, 0.28) 77%,
            rgba(7, 9, 10, 0.18) 100%),
        linear-gradient(0deg, #101416 0%, rgba(16, 20, 22, 0.86) 12%, rgba(16, 20, 22, 0) 46%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 155px 0 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--max);
}

.hero-copy-block {
    max-width: 770px;
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    text-transform: uppercase;
    color: var(--warm);
    margin: 0 0 14px;
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

h1 {
    font-size: clamp(4.4rem, 8vw, 7.5rem);
    line-height: 0.86;
    max-width: 920px;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

h1 span {
    color: var(--oxide);
}

.hero-copy {
    font-size: clamp(1.5rem, 1.5vw, 1.85rem);
    line-height: 1.6;
    color: var(--warm);
    margin: 24px 0 0;
}

.notify-form {
    width: min(760px, 100%);
    margin-top: 30px;
}

.field-stack {
    display: grid;
    gap: 9px;
}

.field-stack label,
.size-picker legend {
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    color: var(--warm);
}

.field-stack input {
    width: 100%;
    min-height: 58px;
    background: rgba(19, 24, 27, 0.88);
    border: 1px solid rgba(194, 198, 201, 0.34);
    color: var(--text);
    padding: 0 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
}

.field-stack input::placeholder {
    color: #879097;
}

.field-stack input:focus,
.notify-button:focus,
.youtube-link:focus,
.brand-cta:focus,
.size-options input:focus+span,
.footer-actions a:focus {
    outline: 3px solid rgba(194, 198, 201, 0.72);
    outline-offset: 3px;
}

.size-picker {
    border: 0;
    padding: 0;
    margin: 18px 0 14px;
}

.size-picker legend {
    padding: 0;
    margin-bottom: 10px;
}

.size-picker legend span {
    color: var(--muted);
    font-size: 0.68rem;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(52px, 1fr));
    gap: 8px;
    max-width: 620px;
}

.size-options label {
    position: relative;
}

.size-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-options span {
    display: grid;
    place-items: center;
    height: 44px;
    border: 1px solid rgba(194, 198, 201, 0.34);
    background: rgba(45, 52, 57, 0.72);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--warm);
    cursor: pointer;
    transition: 0.18s ease;
}

.size-options input:checked+span {
    border-color: var(--oxide);
    background: rgba(178, 65, 53, 0.25);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(178, 65, 53, 0.18);
}

.size-options label.is-disabled span {
    opacity: 0.36;
    cursor: not-allowed;
}

.notify-button {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--oxide);
    background: linear-gradient(180deg, #bd473a, #a6382d);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.privacy {
    max-width: 760px;
    margin: 18px 0 0;
    color: #c6cbce;
    font-size: 0.79rem;
    line-height: 1.65;
}

.privacy a {
    color: var(--warm);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy a:hover,
.privacy a:focus-visible {
    color: var(--text);
}

.micro-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: italic;
}

.form-message {
    margin-top: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.83rem;
}

.form-message.success {
    color: var(--warm);
}

.form-message.error {
    color: #ff9f95;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
}

.coming {
    padding: 42px max(24px, calc((100vw - var(--max)) / 2)) 26px;
    background:
        linear-gradient(rgba(26, 31, 34, 0.76), rgba(14, 18, 20, 0.94)),
        url('/assets/whats-coming-bg.jpg') center/cover fixed;
    border-top: 1px solid rgba(194, 198, 201, 0.18);
}

.section-title-row {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
}

.section-title-row h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.9;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-title-row .slash {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--oxide);
    font-size: 3rem;
    line-height: 0.8;
    flex-shrink: 0;
}

.section-title-row .eyebrow {
    margin-bottom: 5px;
    color: var(--warm);
    min-width: 0;
    max-width: 82ch;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-card {
    overflow: hidden;
    background: rgba(19, 24, 27, 0.88);
    border: 1px solid rgba(194, 198, 201, 0.34);
    border-radius: 6px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.product-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #252c31;
}

.product-media:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 13, 15, 0.32), transparent 52%);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.78) brightness(0.7);
    transform: scale(1.02);
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.product-card:hover img {
    transform: scale(1.06);
    filter: saturate(0.92) brightness(0.99);
}

.product-copy {
    padding: 16px 16px 17px;
}

.product-copy h3 {
    font-size: 2rem;
    line-height: 1;
}

.product-copy p {
    margin: 5px 0 0;
    color: var(--warm);
    font-size: 0.82rem;
    line-height: 1.4;
}

.dxf-card .product-media {
    background: #111518;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dxf-card .product-media img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    object-position: center;
}

.cad-lines {
    background-image:
        linear-gradient(rgba(79, 95, 105, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 95, 105, 0.18) 1px, transparent 1px);
    background-size: 24px 24px;
    display: grid;
    place-items: center;
}

.cad-lines:before {
    content: '';
    position: absolute;
    width: 62%;
    aspect-ratio: 1.65;
    border: 1px solid rgba(194, 198, 201, 0.35);
    box-shadow: 0 0 0 1px rgba(79, 95, 105, 0.12);
}

.cad-lines span {
    position: relative;
    z-index: 2;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    line-height: 0.78;
    letter-spacing: 0.04em;
    color: rgba(238, 240, 241, 0.62);
    text-align: center;
}

.youtube-panel {
    width: min(var(--max), calc(100% - 48px));
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    overflow: hidden;
    border: 1px solid rgba(194, 198, 201, 0.34);
    border-radius: 6px;
    background: linear-gradient(145deg, #20272b, #121719);
}

.youtube-photo {
    min-height: 300px;
    background: linear-gradient(rgba(10, 12, 14, 0.28), rgba(10, 12, 14, 0.52)), #1a2024;
}

.youtube-copy {
    padding: 38px 42px;
    align-self: center;
}

.youtube-copy h2 {
    font-size: clamp(3rem, 5vw, 4.7rem);
    line-height: 0.9;
}

.youtube-channel {
    color: var(--oxide) !important;
    font-size: 1.1rem !important;
    margin: 10px 0 12px !important;
}

.youtube-copy>p:not(.eyebrow) {
    color: var(--warm);
    line-height: 1.55;
    max-width: 580px;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin-top: 8px;
    padding: 0 18px;
    background-color: #b24135;
    color: var(--text);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    font-size: 0.77rem;
    letter-spacing: 0.04em;
}

.youtube-icon {
    display: grid;
    place-items: center;
    width: 25px;
    height: 20px;
    border-radius: 5px;
    background: #FFFFFF;
    color: #d92c23;
    font-size: 0.75rem;
}

.brand-statement {
    width: min(var(--max), calc(100% - 48px));
    margin: 18px auto 0;
    padding: 38px 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    background:
        linear-gradient(rgba(40, 47, 51, 0.68), rgba(25, 30, 33, 0.68)),
        url('/assets/component_bg_steelholes.jpg') center/cover;
    border: 1px solid rgba(194, 198, 201, 0.35);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.28);
}

.brand-statement h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    line-height: 0.9;
    color: var(--warm);
}

.brand-cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 26px;
    border: 1px solid var(--oxide);
    background: linear-gradient(180deg, #bd473a, #a6382d);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.18s ease;
}

.brand-cta:hover,
.brand-cta:focus-visible {
    filter: brightness(1.1);
}

.brand-cta:disabled,
.brand-cta.is-subscribed {
    opacity: 0.5;
    cursor: default;
    filter: none;
}

.brand-statement h2 em {
    font-style: normal;
    color: var(--oxide);
}

.site-footer {
    margin-top: 18px;
    position: relative;
    background: #0d1113 url('/assets/footer-background.png') center/cover no-repeat;
}

.site-footer:before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1e2428;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
    min-height: 118px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
}

.footer-logo {
    width: 240px;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-actions a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--warm);
}

.footer-actions svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-legal-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.72rem;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--warm);
}

.footer-legal span {
    color: var(--steel);
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    text-align: right;
}

.notify-form.is-success .field-stack,
.notify-form.is-success .size-picker,
.notify-form.is-success .notify-button,
.notify-form.is-success .privacy,
.notify-form.is-success .micro-note {
    display: none;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .youtube-panel {
        grid-template-columns: 1fr;
    }

    .youtube-photo {
        min-height: 270px;
    }

    .size-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        height: 76px;
        padding: 0 16px;
    }

    .brand-logo {
        width: 190px;
    }

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

    .hero-inner {
        width: calc(100% - 32px);
        padding: 92px 0 42px;
    }

    h1 {
        font-size: clamp(3.5rem, 16vw, 5.6rem);
    }

    .notify-form {
        margin-top: 24px;
    }

    .size-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .coming {
        padding: 36px 16px 18px;
        background-attachment: scroll;
    }

    .section-title-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .youtube-panel,
    .brand-statement,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .youtube-copy {
        padding: 30px 24px;
    }

    .brand-statement {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 24px;
    }

    .brand-cta {
        justify-self: stretch;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 28px 0;
        gap: 16px;
    }

    .footer-inner p {
        text-align: center;
    }

    .footer-logo {
        width: 126px;
    }

    .footer-legal-col {
        align-items: center;
    }

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

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .hero-video {
        display: none;
    }

    .hero {
        background: #151a1d;
    }
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 15, 0.78);
}

.legal-modal-panel {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(78vh, 720px);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid rgba(194, 198, 201, 0.34);
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    padding: 32px 28px 28px;
}

.legal-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(194, 198, 201, 0.34);
    border-radius: 50%;
    color: var(--warm);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.legal-modal-close:hover,
.legal-modal-close:focus-visible {
    color: var(--text);
    border-color: var(--warm);
}

.legal-modal-panel h2 {
    font-size: 1.7rem;
    margin: 0 0 4px;
    padding-right: 32px;
}

.legal-modal-updated {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.78rem;
}

.legal-modal-body h3 {
    font-size: 1rem;
    margin: 20px 0 6px;
    color: var(--warm);
}

.legal-modal-body p,
.legal-modal-body li {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.legal-modal-body ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.legal-modal-body a {
    color: var(--warm);
}

body.modal-open {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}