:root {
    --ink: #03131b;
    --ink-2: #08232e;
    --ink-3: #102d3a;
    --orange: #e84a0c;
    --orange-dark: #b83308;
    --paper: #d8d5ce;
    --paper-light: #e5e1d9;
    --text: #dedbd4;
    --muted: #aeb9bb;
    --line: #36515b;
    --shell: 1180px;
    color: var(--text);
    background: #020b10;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-synthesis: none;
    scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    background:
        linear-gradient(#071a22aa, #071a22aa),
        repeating-linear-gradient(0deg, transparent 0 31px, #16343d55 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, #16343d55 32px),
        #020b10;
}
body, button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.eyebrow { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.dark { color: #52666d; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: #020e14f2; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 82px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: #fff; text-decoration: none; }
.brand > b { padding-right: 7px; color: #fff; font-size: 28px; font-style: italic; letter-spacing: -5px; text-decoration: underline 3px var(--orange); }
.brand > span { display: flex; flex-direction: column; letter-spacing: .2em; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 3px; color: var(--muted); font: 9px/1 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; gap: 26px; }
.main-nav a, .top-cta { color: #eee; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.main-nav a { position: relative; padding-block: 31px; font-size: 14px; }
.main-nav a::after { position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.top-cta { padding: 13px 20px; background: var(--orange); font-size: 14px; }
.top-cta:hover, .solid:hover { background: #ff5a18; }
.nav-toggle { display: none; width: 42px; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero { overflow: hidden; background: radial-gradient(circle at 75% 30%, #173844, #061923 45%, #020c12 75%); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 49% 51%; }
.hero-copy { padding: 80px 36px 70px 70px; border-left: 1px solid var(--line); }
.hero h1, .panel h2, .catalog-heading h2, .section-title h2, .contact h2, .page-heading h1 {
    margin: 18px 0;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .92;
    text-transform: uppercase;
}
.hero-copy > i { display: block; width: 58px; height: 5px; margin: 27px 0; background: var(--orange); }
.hero-copy > p:last-of-type { max-width: 470px; color: #c7cecf; font: 17px/1.65 Arial, sans-serif; }
.actions { display: flex; gap: 18px; margin-top: 55px; }
.btn { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: 0 34px; border: 1px solid var(--orange); font-size: 19px; font-weight: 700; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
.solid { color: #fff; background: linear-gradient(90deg, var(--orange-dark), var(--orange)); }
.outline { color: var(--orange); }
.outline:hover { color: #fff; background: var(--orange); }
.hero-art { position: relative; display: flex; overflow: hidden; flex-direction: column; justify-content: flex-end; margin: 28px 0; padding: 46px; border-left: 1px solid var(--line); background: linear-gradient(145deg, #173640, #06141a 65%); }
.hero-art::before { position: absolute; width: 510px; height: 510px; border: 1px solid #47707c; border-radius: 50%; content: ""; inset: -180px -130px auto auto; }
.hero-art::after { position: absolute; width: 280px; height: 280px; border: 60px solid #0d2b36; border-radius: 50%; content: ""; inset: 130px auto auto 90px; }
.machine-mark { position: absolute; z-index: 2; top: 54px; left: 46px; display: flex; align-items: flex-start; gap: 12px; }
.machine-mark span { color: var(--orange); font-size: 17px; }
.machine-mark strong { color: #dce2e2; font-size: clamp(90px, 12vw, 170px); letter-spacing: -.08em; line-height: .75; opacity: .08; }
.hero-art > p { z-index: 2; margin: 0 0 18px; color: var(--orange); letter-spacing: .25em; }
.hero-lines { z-index: 2; display: grid; gap: 9px; margin-bottom: 38px; }
.hero-lines i { display: block; height: 1px; background: #355763; }
.hero-lines i:nth-child(2) { width: 78%; }
.hero-lines i:nth-child(3) { width: 57%; }
.hero-stat { z-index: 2; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-stat b { color: #fff; font-size: 58px; line-height: 1; }
.hero-stat span { color: var(--muted); font: 13px/1.35 Arial, sans-serif; text-transform: uppercase; }

.paper { padding: 38px 0 0; background: #061923; }
.panel, .paper-panel { color: #102630; background: linear-gradient(100deg, var(--paper-light), #c9c6bf); }
.panel { padding: 48px; }
.section-head { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.section-head h2 { font-size: clamp(44px, 5vw, 68px); }
.section-head > p { margin-bottom: 21px; font: 16px/1.7 Arial, sans-serif; }
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid #69777b; }
.direction-grid article { min-height: 210px; padding: 24px 22px; border-right: 1px solid #8b9495; }
.direction-grid article:last-child { border-right: 0; }
.direction-grid b, .steps b { color: var(--orange); font-size: 34px; }
.direction-grid h3 { min-height: 54px; font-size: 22px; text-transform: uppercase; }
.direction-grid p { color: #3f5359; font: 14px/1.6 Arial, sans-serif; }

.catalog-section { padding: 78px 0 84px; background: #061923; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
.catalog-heading h2, .section-title h2 { margin-bottom: 0; font-size: clamp(44px, 5vw, 65px); }
.catalog-search { position: relative; display: block; width: min(380px, 100%); }
.catalog-search input { width: 100%; height: 52px; padding: 0 48px 0 17px; border: 1px solid var(--line); border-radius: 0; outline: 0; color: #fff; background: #081d27; font-family: Arial, sans-serif; }
.catalog-search input:focus { border-color: var(--orange); }
.catalog-search b { position: absolute; top: 8px; right: 14px; color: var(--orange); font-size: 28px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card { min-width: 0; border: 1px solid var(--line); background: #081d27; transition: transform .2s ease, border-color .2s ease; }
.catalog-card:hover { border-color: #64808a; transform: translateY(-3px); }
.catalog-card[hidden] { display: none; }
.catalog-card__media { position: relative; display: flex; overflow: hidden; height: 230px; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #173640, #06141a); text-decoration: none; }
.catalog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-card:hover img { transform: scale(1.025); }
.catalog-card__media > span { color: #2a4954; font-size: 52px; font-weight: 800; letter-spacing: .1em; }
.catalog-card__media > b { position: absolute; top: 12px; right: 12px; padding: 6px 8px; color: #fff; background: var(--orange); font-size: 13px; }
.catalog-card__media.is-missing::after { color: #2a4954; font-size: 45px; font-weight: 800; content: "MAZKL"; }
.catalog-card__body { padding: 24px; }
.catalog-card__body > p, .news-grid article > p { margin: 0 0 12px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.catalog-card h3, .news-grid h3 { margin: 0 0 16px; font-size: 25px; line-height: 1.05; text-transform: uppercase; }
.catalog-card h3 a, .news-grid h3 a { text-decoration: none; }
.catalog-card__body > div, .news-grid article > div { min-height: 67px; color: var(--muted); font: 14px/1.55 Arial, sans-serif; }
.card-link { display: inline-flex; gap: 18px; margin-top: 22px; color: #fff; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.card-link span { color: var(--orange); }
.catalog-empty, .catalog-placeholder { padding: 36px; border: 1px solid var(--line); color: var(--muted); background: #081d27; text-align: center; }
.catalog-placeholder b { color: #fff; font-size: 25px; text-transform: uppercase; }
.catalog-placeholder code { color: var(--orange); }

.process { padding: 76px 0 84px; background: var(--ink-3); }
.section-title { margin-bottom: 35px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps article { min-height: 250px; padding: 24px; border-right: 1px solid var(--line); }
.steps article:last-child { border-right: 0; }
.steps h3 { margin: 25px 0 14px; font-size: 24px; text-transform: uppercase; }
.steps p { color: var(--muted); font: 14px/1.65 Arial, sans-serif; }

.news-section { padding: 78px 0; background: #061923; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-grid article { padding: 30px; border: 1px solid var(--line); background: #081d27; }
.news-grid h3 { font-size: 23px; }

.contact { padding: 80px 0; background: #0d2530; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.contact h2 { font-size: clamp(44px, 5vw, 66px); }
.contact .split > div:last-child p { margin: 0 0 30px; color: var(--muted); font: 16px/1.7 Arial, sans-serif; }

.site-footer { border-top: 1px solid var(--line); background: #020b10; }
.footer-inner { min-height: 160px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; color: #aab5b7; font: 13px/1.5 Arial, sans-serif; }
.footer-brand strong { color: #fff; font: 24px "Arial Narrow", Arial, sans-serif; letter-spacing: .12em; }
.footer-brand p { margin: 7px 0 0; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--orange); }
.footer-meta { text-align: right; }
.footer-meta span { color: #65777c; }

.content-page { min-height: 72vh; padding: 54px 0 80px; }
.breadcrumbs { display: flex; overflow: hidden; gap: 8px; margin-bottom: 18px; color: var(--muted); font: 13px Arial, sans-serif; white-space: nowrap; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.paper-panel { padding: 52px; }
.page-heading { max-width: 900px; padding-bottom: 34px; border-bottom: 1px solid #8b9495; }
.page-heading h1 { color: #102630; font-size: clamp(42px, 5vw, 68px); overflow-wrap: anywhere; }
.page-heading > p:last-child:not(.eyebrow) { max-width: 760px; color: #4a5d63; font: 17px/1.65 Arial, sans-serif; }
.page-body { padding-top: 35px; color: #1d333b; font: 16px/1.75 Arial, sans-serif; overflow-wrap: anywhere; }
.page-body > :first-child { margin-top: 0; }
.page-body h2, .page-body h3 { margin-top: 1.7em; font-family: "Arial Narrow", Arial, sans-serif; line-height: 1.1; text-transform: uppercase; }
.page-body a { color: #b83308; }
.page-body img { width: auto; max-width: 100%; height: auto; margin: 22px auto; }
.page-body .legacy-image img { width: 100%; max-height: 680px; object-fit: contain; background: #b9b7b2; }
.page-body table { width: 100%; border-collapse: collapse; }
.page-body th, .page-body td { padding: 10px; border: 1px solid #949d9e; text-align: left; }
.page-body iframe { max-width: 100%; }
.listing-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding: 28px; color: #fff; background: var(--ink-2); }
.listing-cta h2 { margin: 8px 0 0; font-size: 30px; text-transform: uppercase; }

.cookie { position: fixed; z-index: 50; right: 16px; bottom: 16px; left: 16px; display: flex; width: min(900px, calc(100% - 32px)); align-items: center; justify-content: space-between; gap: 22px; margin: auto; padding: 16px 18px; border: 1px solid #607780; color: #102630; background: var(--paper); box-shadow: 0 12px 38px #0008; font: 13px/1.4 Arial, sans-serif; }
.cookie[hidden] { display: none; }
.cookie > div:first-child { display: flex; flex-direction: column; }
.cookie button { padding: 9px 14px; border: 1px solid #17343e; color: #102630; background: transparent; cursor: pointer; }
.cookie button[data-cookie-choice="accept"] { border-color: var(--orange); color: #fff; background: var(--orange); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 82px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); background: #020e14; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 0; }
    .main-nav a::after { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 360px; margin-top: 0; }
    .section-head, .split { grid-template-columns: 1fr; gap: 20px; }
    .direction-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .direction-grid article:nth-child(2), .steps article:nth-child(2) { border-right: 0; }
    .catalog-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .shell { width: calc(100% - 28px); }
    .header-inner { height: 72px; gap: 10px; }
    .main-nav { top: 72px; }
    .top-cta { display: none; }
    .hero-copy { padding: 55px 24px; border-left: 0; }
    .hero h1 { font-size: 47px; }
    .actions { flex-direction: column; margin-top: 38px; }
    .hero-art { min-height: 300px; margin-bottom: 0; padding: 28px; }
    .machine-mark { top: 45px; left: 28px; }
    .paper { padding-top: 0; }
    .panel, .paper-panel { width: 100%; padding: 30px 22px; }
    .direction-grid, .steps, .catalog-grid, .news-grid { grid-template-columns: 1fr; }
    .direction-grid article, .steps article { min-height: 0; border-right: 0; border-bottom: 1px solid #8b9495; }
    .steps article { border-color: var(--line); }
    .catalog-heading { align-items: stretch; flex-direction: column; }
    .catalog-search { width: 100%; }
    .catalog-card__media { height: 215px; }
    .contact { padding: 58px 0; }
    .footer-inner { display: flex; min-height: 0; align-items: flex-start; flex-direction: column; padding: 34px 0; }
    .footer-inner nav { flex-wrap: wrap; }
    .footer-meta { text-align: left; }
    .breadcrumbs { white-space: normal; flex-wrap: wrap; }
    .page-heading h1 { font-size: 42px; }
    .page-body { font-size: 15px; }
    .listing-cta { align-items: stretch; flex-direction: column; }
    .cookie { align-items: stretch; flex-direction: column; }
    .cookie > div:last-child { display: flex; gap: 8px; }
    .cookie button { flex: 1; }
}
