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

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

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

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

:root {
    --bg: #0b0b0b;
    --module: #151515;
    --card: #1d1d1d;
    --red: #b5121b;
    --cta: #e21b23;
    --text: #f5f5f5;
    --muted: #a6a6a6;
    --line: rgba(255, 255, 255, 0.08);
    --header: 92px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.layui-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
}

.layui-row[class*="layui-col-space"] {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary,
.btn-buy {
    background: var(--cta);
    color: #fff;
}

.btn-primary:hover,
.btn-buy:hover {
    background: var(--red);
    color: #fff;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-buy {
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 11, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.site-header .layui-container {
    width: 100% !important;
    max-width: none !important;
}

.header-bar {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    height: var(--header);
    column-gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
    height: 100%;
    color: var(--cta);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: clamp(16px, 1.65vw, 32px);
    margin: 0;
    min-width: 0;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-self: end;
    flex: 0 0 auto;
    gap: clamp(28px, 3vw, 52px);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}

.lang-switch:hover {
    border-color: #fff;
    color: #fff;
}

.site-header .logo {
    gap: 8px;
    width: auto;
    overflow: visible;
    justify-content: flex-start;
}

.site-header .logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 46px;
    overflow: hidden;
}

.site-header .logo-mark--text {
    width: auto;
    height: auto;
    overflow: visible;
}

.site-header .logo-domain {
    color: var(--cta);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.site-header .logo img {
    display: block;
    flex: 0 0 auto;
    height: 67px;
    width: 67px;
    max-width: none;
}

.site-footer .logo:has(img) {
    width: 68px;
    height: 60px;
    justify-content: center;
    overflow: hidden;
}

.site-footer .logo img {
    display: block;
    flex: 0 0 auto;
    height: 86px;
    width: 86px;
    max-width: none;
}

.main-nav a {
    color: #d4d4d4;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    background: #fff;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 700px;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.2) 0%, rgba(11, 11, 11, 0) 22%, rgba(11, 11, 11, 0.15) 72%, #0b0b0b 100%),
        linear-gradient(90deg, rgba(11, 11, 11, 0.84) 0%, rgba(11, 11, 11, 0.62) 34%, rgba(11, 11, 11, 0.18) 68%, rgba(11, 11, 11, 0.28) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 88px 0 104px;
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: 58px;
    font-weight: 600;
}

.lead {
    max-width: 560px;
    margin: 18px 0 0;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.block,
.cta,
.site-footer {
    overflow-x: clip;
}

.block {
    padding: 92px 0 28px;
}

.block-tight {
    padding-top: 72px;
}

.block-head {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.block-head h2 {
    margin: 0;
    font-size: 42px;
}

.block-head p:last-child {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.card-row {
    display: flex;
    flex-wrap: wrap;
}

.card-row > [class*="layui-col-"] {
    display: flex;
    float: none;
}

.media-card,
.project-card,
.app-card {
    width: 100%;
}

.media-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    color: var(--text);
}

.media-card__photo,
.project-card__photo,
.cap-photo,
.app-card,
.factory-mosaic figure {
    overflow: hidden;
    background: #111;
}

.media-card__photo {
    aspect-ratio: 16 / 10;
}

.media-card__photo img,
.project-card__photo img,
.cap-photo img,
.app-card img,
.factory-mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.media-card a:hover img,
.project-card:hover img,
.app-card:hover img,
.factory-mosaic figure:hover img {
    transform: scale(1.045);
}

.media-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.media-card h3,
.project-card h3 {
    margin: 0;
    font-size: 18px;
}

.media-card__body p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.more {
    margin-top: auto;
    padding-top: 16px;
    color: var(--cta);
    font-size: 13px;
    font-weight: 600;
}

.media-card a:hover .more {
    color: #ff4b52;
}

.app-card {
    position: relative;
    min-height: 248px;
}

.app-card img,
.app-card__shade {
    position: absolute;
    inset: 0;
}

.app-card__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.78) 100%);
}

.app-card h3 {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.cap-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.cap-row > [class*="layui-col-"] {
    display: flex;
    float: none;
}

.cap-photo {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 440px;
}

.cap-photo img {
    position: absolute;
    inset: 0;
}

.cap-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 8px 8px 8px 18px;
    gap: 28px;
}

.cap-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cap-mark {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--cta);
}

.cap-mark svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cap-list h3 {
    margin: 2px 0 0;
    font-size: 18px;
}

.cap-list p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.project-card {
    background: var(--card);
}

.project-card__photo {
    aspect-ratio: 4 / 3;
}

.project-card h3 {
    padding: 14px 14px 16px;
    font-size: 16px;
}

.factory-mosaic {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 214px 214px;
    gap: 12px;
}

.factory-main {
    grid-row: 1 / span 2;
}

.factory-mosaic figure {
    margin: 0;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.step-card {
    min-height: 210px;
    padding: 22px 18px 20px;
    background: var(--module);
    border: 1px solid #242424;
}

.step-card span {
    display: block;
    color: var(--cta);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.step-card h3 {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.35;
}

.step-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.cta {
    margin-top: 88px;
    padding: 72px 0;
    background:
        radial-gradient(ellipse at 12% 50%, rgba(226, 27, 35, 0.22), transparent 46%),
        linear-gradient(180deg, #16090b 0%, #0b0b0b 100%);
    border-top: 1px solid rgba(226, 27, 35, 0.28);
    border-bottom: 1px solid rgba(226, 27, 35, 0.18);
}

.cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta h2 {
    margin: 0;
    font-size: 40px;
}

.cta-bar p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
}

.site-footer {
    padding: 28px 0 34px;
}

.footer-bar {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-bar p,
.footer-bar small {
    margin: 0;
    color: #8d8d8d;
    font-size: 13px;
}

.footer-bar small {
    margin-left: auto;
}

#services,
#steel,
#mold,
#metal,
#projects,
#about,
#quote,
#capabilities,
#process,
#applications {
    scroll-margin-top: 90px;
}

.hero-page {
    min-height: 560px;
}

.hero-page .hero-mask {
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.18) 0%, rgba(11, 11, 11, 0.05) 40%, rgba(11, 11, 11, 0.35) 78%, #0b0b0b 100%),
        linear-gradient(90deg, rgba(11, 11, 11, 0.78) 0%, rgba(11, 11, 11, 0.42) 42%, rgba(11, 11, 11, 0.12) 100%);
}

.hero-page .hero-copy {
    padding: 78px 0 90px;
}

.hero-page h1 {
    max-width: 720px;
    font-size: 54px;
}

.hero-page .lead {
    max-width: 560px;
}

.info-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--card);
}

.info-card > a,
.project-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.info-card__photo {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.info-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.info-card:hover img {
    transform: scale(1.045);
}

.info-card__body {
    padding: 16px 16px 18px;
}

.info-card h3 {
    margin: 0;
    font-size: 17px;
}

.info-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.cap-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 12px 8px 12px 28px;
}

.cap-copy h2 {
    margin: 0;
    font-size: 40px;
}

.cap-copy .intro {
    max-width: 460px;
    margin: 14px 0 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.spec-list {
    margin: 8px 0 0;
    padding: 0;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #2c2c2c;
}

.spec-list li:last-child {
    border-bottom: 0;
}

.spec-list span {
    flex: 0 0 28px;
    color: var(--cta);
    font-size: 15px;
    font-weight: 600;
}

.spec-list p {
    margin: 0;
    color: #ececec;
    font-size: 16px;
}

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

.step-grid-4 .step-card {
    min-height: 168px;
}

.tool-gallery {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 12px;
}

.tool-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #111;
}

.tool-main {
    grid-row: 1 / span 2;
}

.tool-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.tool-gallery figure:hover img {
    transform: scale(1.045);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid #2a2a2a;
}

.faq-item {
    border-bottom: 1px solid #2a2a2a;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    border: 0;
    background: transparent;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.faq-q .mark {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.faq-q .mark::before,
.faq-q .mark::after {
    content: "";
    position: absolute;
    background: #a6a6a6;
}

.faq-q .mark::before {
    top: 7px;
    right: 0;
    left: 0;
    height: 2px;
}

.faq-q .mark::after {
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
}

.faq-item.is-open .mark::after {
    display: none;
}

.faq-a {
    display: none;
    padding: 0 36px 18px 0;
}

.faq-item.is-open .faq-a {
    display: block;
}

.faq-a p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid #3a3a3a;
    background: transparent;
    color: #e8e8e8;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.filter.is-active {
    border-color: var(--cta);
    background: var(--cta);
    color: #fff;
}

.info-card .meta {
    margin: 6px 0 0;
    color: #8d8d8d;
    font-size: 13px;
}

a.step-card {
    display: block;
    color: inherit;
}

a.step-card:hover {
    color: inherit;
    border-color: #3a3a3a;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.block-head-left {
    max-width: none;
    margin-left: 0;
    text-align: left;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 12px;
}

.about-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #111;
}

.about-main {
    grid-row: 1 / span 2;
}

.about-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.faq-aside h2 {
    margin: 0;
    font-size: 32px;
}

.faq-aside p:last-of-type {
    margin: 14px 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-cat {
    margin: 18px 0 0;
    color: var(--cta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.faq-groups .faq-item:first-child {
    border-top: 1px solid #2a2a2a;
}

.faq-groups .faq-item.is-open .mark::after {
    display: block;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-layout h2 {
    margin: 0;
    font-size: 36px;
}

.contact-layout .intro {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-facts {
    margin: 28px 0 0;
}

.contact-facts div {
    padding: 16px 0;
    border-top: 1px solid #2a2a2a;
}

.contact-facts dt {
    color: #fff;
    font-weight: 600;
}

.contact-facts dd {
    margin: 6px 0 0;
    color: var(--muted);
}

.quote-form {
    padding: 28px 28px 24px;
    background: #141414;
    border: 1px solid #2a2a2a;
}

.quote-form h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

.form-status {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: rgba(46, 125, 50, 0.18);
    color: #d7f5d8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field span {
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #333;
    background: #101010;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 14px;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field small {
    color: #ff8a8a;
    font-size: 12px;
}

.file-drop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    border: 1px dashed #444;
    background: #101010;
    cursor: pointer;
}

.file-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-drop em {
    color: #8d8d8d;
    font-size: 13px;
    font-style: normal;
}

.submit {
    width: 100%;
    margin-top: 18px;
}

.form-note {
    max-width: 980px;
    margin: 28px 0 0;
    color: #8d8d8d;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 8px;
    }

    .hero h1,
    .block-head h2,
    .cta h2 {
        font-size: 40px;
    }

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

@media (max-width: 1240px) {
    .header-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 10px;
    }

    .main-nav,
    .logo {
        margin: 0;
    }

    .nav-toggle {
        display: flex !important;
        position: fixed;
        top: calc((var(--header) - 40px) / 2);
        right: 14px;
        z-index: 130;
        width: 40px;
        background: #0b0b0b;
    }

    .header-tools {
        justify-self: end;
        margin-right: 46px;
        gap: 12px;
    }

    .lang-switch {
        min-width: 36px;
        min-height: 32px;
        padding: 0 8px;
    }

    .header-bar .btn-buy {
        margin: 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header);
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 8px 0 14px;
        background: #111;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 22px;
    }
}

@media (max-width: 992px) {
    .cap-list {
        padding: 24px 0 0;
    }

    .factory-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 180px 180px;
    }

    .factory-main {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 700px) {
    .site-header .logo {
        gap: 8px;
        min-width: 0;
    }

    .site-header .logo-mark {
        width: 44px;
        height: 40px;
    }

    .site-header .logo img {
        height: 58px;
        width: 58px;
    }

    .site-header .logo-domain {
        font-size: 11px;
        letter-spacing: 0;
    }

    .header-bar .btn-buy {
        padding: 0 8px;
        font-size: 12px;
    }

    .header-tools {
        gap: 8px;
        margin-right: 40px;
    }

    .lang-switch {
        min-width: 0;
        min-height: 30px;
        padding: 0 6px;
        font-size: 12px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h1 br {
        display: none;
    }

    .block-head h2,
    .cta h2 {
        font-size: 32px;
    }

    .block,
    .block-tight {
        padding-top: 64px;
    }

    .step-grid,
    .step-grid-4,
    .factory-mosaic,
    .tool-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .tool-main,
    .tool-gallery figure,
    .about-gallery figure {
        min-height: 220px;
    }

    .about-gallery,
    .cap-grid,
    .faq-layout,
    .contact-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        grid-row: auto;
    }

    .quote-form {
        padding: 20px 16px;
    }

    .cap-copy {
        padding: 28px 0 0;
    }

    .hero-page {
        min-height: 480px;
    }

    .hero-page h1,
    .cap-copy h2 {
        font-size: 34px;
    }

    .hero-page h1 br {
        display: none;
    }

    .factory-mosaic figure,
    .app-card {
        min-height: 220px;
    }

    .factory-main {
        min-height: 260px;
    }

    .cta {
        margin-top: 64px;
    }

    .cta-bar,
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bar small {
        margin-left: 0;
    }

    .cap-photo {
        min-height: 280px;
    }
}

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

    .media-card__photo img,
    .project-card__photo img,
    .app-card img,
    .factory-mosaic img,
    .btn {
        transition: none;
    }
}

.news-feature {
    margin-bottom: 28px;
    background: var(--card);
}

.news-feature a {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    min-height: 360px;
    color: var(--text);
}

.news-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feature div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 40px;
}

.news-feature time,
.media-card time,
.article time {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.news-feature h2 {
    margin: 12px 0 0;
    font-size: 36px;
    line-height: 1.25;
}

.news-feature p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.article {
    padding: 72px 0 96px;
}

.article-wrap {
    max-width: 820px;
}

.article h1 {
    margin: 12px 0 16px;
    font-size: 48px;
    line-height: 1.2;
}

.article .meta {
    margin: 0 0 8px;
    color: var(--cta);
}

.article-photo {
    display: block;
    width: 100%;
    max-height: 460px;
    margin: 28px 0;
    object-fit: cover;
}

.article-body p {
    margin: 0 0 18px;
    color: #d7d7d7;
    font-size: 17px;
    line-height: 1.85;
}

.article-body b,
.article-body strong { font-weight: 700; }

.article-body h1,
.article-body h2,
.article-body h3 {
    margin: 28px 0 12px;
    color: var(--text);
    line-height: 1.3;
}

.article-body h1 { font-size: 32px; }
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 22px; }

.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 1.3em;
    color: #d7d7d7;
    font-size: 17px;
    line-height: 1.85;
}

.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li { margin: 6px 0; }

.article-body blockquote {
    margin: 0 0 18px;
    padding: 4px 0 4px 16px;
    border-left: 3px solid #444;
    color: var(--muted);
}

.article-body a { color: #fff; text-decoration: underline; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 12px 0; }

.article .eyebrow a {
    color: var(--muted);
}

.job-list {
    display: grid;
    gap: 16px;
}

.job-card {
    padding: 28px;
    background: var(--card);
}

.job-card h2 {
    margin: 0;
    font-size: 28px;
}

.job-card .meta {
    margin: 8px 0 0;
    color: var(--cta);
}

.job-card > p {
    margin: 16px 0 0;
    color: #d7d7d7;
    line-height: 1.7;
}

.job-body {
    color: var(--muted) !important;
}

.job-card .btn {
    margin-top: 20px;
}

.catalog-more {
    margin: 32px 0 0;
    text-align: center;
}

.catalog-empty {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.site-pager {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 36px 0 8px;
}

.site-pager .page-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #2a2a2a;
    background: var(--card);
    color: var(--text);
    text-decoration: none;
}

.site-pager .page-box.is-current {
    background: var(--cta);
    border-color: var(--cta);
    color: #fff;
}

.site-pager .page-box.is-disabled {
    color: #666;
}

@media (max-width: 768px) {
    .news-feature a {
        grid-template-columns: 1fr;
    }

    .news-feature img {
        height: 220px;
    }

    .news-feature h2,
    .article h1 {
        font-size: 32px;
    }
}
