/* Standard Machine — site styles */

:root {
  --ink: #111214;
  --ink-2: #1b1d21;
  --ink-3: #26292e;
  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --white: #ffffff;
  --text: #16171a;
  --text-muted: #5d6068;
  --text-inv: #f4f2ee;
  --text-inv-muted: #a3a6ad;
  --line: #d9d5cd;
  --line-inv: #34373d;
  --laser: #ff5a1f;
  --laser-deep: #d9430e;
  --laser-glow: rgba(255, 90, 31, .45);

  --font-display: "Saira Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(17, 18, 20, .06), 0 8px 24px rgba(17, 18, 20, .06);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--laser); color: var(--ink); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--laser-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--laser); }

.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-muted); max-width: 60ch; }
.dark .lead { color: var(--text-inv-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--laser); color: var(--ink); }
.btn-primary:hover { background: #ff7440; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa { background: #25d366; color: #0b2e17; }
.btn-wa:hover { background: #3be07a; }
.topbar-wa svg { color: #25d366 !important; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--ink); color: var(--text-inv-muted);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: var(--text-inv); }
.topbar a:hover { color: var(--laser); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 13px; height: 13px; color: var(--laser); }
.lang { display: flex; gap: 2px; }
.lang a, .lang span { padding: 3px 7px; border-radius: 2px; }
.lang [aria-current] { background: var(--ink-3); color: var(--text-inv); }
@media (max-width: 620px) { .topbar-hours { display: none !important; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 242, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: .01em; text-transform: uppercase; }
.brand-tag { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; margin-top: 4px; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; padding: 8px 14px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--laser); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; padding: 11px 16px; font-size: 16px; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .18s ease, transform .18s ease; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav a::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
  .brand-name { font-size: 21px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: var(--text-inv); }
.alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lead { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-inv) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-inv) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--laser); }
.hero .lead { margin-bottom: 36px; }

.cut-art { width: 100%; height: auto; display: block; overflow: visible; }
.cut-art .sheet { fill: #1f2226; stroke: #3a3e45; }
.cut-art .dim { stroke: #5a5f68; stroke-width: 1; fill: none; }
.cut-art .dim-text { fill: #8b9098; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
.cut-art .ghost { fill: none; stroke: #4a4f57; stroke-width: 1.2; stroke-dasharray: 4 5; }
.cut-art .kerf { fill: none; stroke: var(--laser); stroke-width: 2.4; stroke-linejoin: round; filter: url(#glow); }
.cut-art .head { display: none; }
.cut-art.animating .head { display: inline; }
.cut-art .spark { fill: #fff; }
.cut-art .spark-halo { fill: var(--laser); opacity: .55; animation: flicker .12s steps(2) infinite; }
@keyframes flicker { 50% { opacity: .2; } }

.stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line-inv);
}
.stat { padding: 28px 24px 32px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-inv); }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: var(--white); }
.stat span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-inv-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-inv); }
}

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: 32px; overflow: hidden;
  color: var(--white); text-decoration: none; background: var(--ink); border-radius: var(--radius);
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,20,0) 25%, rgba(17,18,20,.9) 100%); }
.cat:hover img { transform: scale(1.04); }
.cat > *:not(img) { position: relative; z-index: 1; }
.cat-count { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--laser); margin-bottom: 10px; }
.cat h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 10px; }
.cat p { color: #d3d5d9; max-width: 46ch; margin-bottom: 18px; }
.cat .arrow-link { color: var(--white); }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 360px; padding: 24px; } }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
}
.arrow-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
a:hover .arrow-link svg, .arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Machine cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid-cards, .grid-cards.three { grid-template-columns: repeat(2, 1fr); } .grid-cards.three > :nth-child(3) { display: none; } }
@media (max-width: 600px) { .grid-cards, .grid-cards.three { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 2px;
}
.badge-laser { background: var(--laser); color: var(--ink); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-brand { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.card h3 { font-size: 26px; margin-bottom: 14px; }
.card-specs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.card-specs li { font-size: 14px; color: var(--text-muted); line-height: 1.3; }
.card-specs b { display: block; color: var(--text); font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-foot small { font-size: 13.5px; color: var(--text-muted); }
.card-foot .arrow-link { font-size: 15px; color: var(--laser-deep); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--text);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip span { font-family: var(--font-mono); font-size: 12px; opacity: .6; margin-left: 4px; }

.cat-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.cat-intro article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.cat-intro h3 { margin-bottom: 10px; }
.cat-intro p { color: var(--text-muted); font-size: 16px; margin: 0; }
@media (max-width: 760px) { .cat-intro { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 16px; }
.page-head .lead { margin: 0; }

.crumbs { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; color: var(--text-inv-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--laser); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-inv); border-left: 1px solid var(--line-inv); }
.service { padding: 32px 28px 36px; border-right: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); }
.service-num { font-family: var(--font-mono); font-size: 12.5px; color: var(--laser); letter-spacing: .1em; margin-bottom: 26px; display: block; }
.service svg { width: 34px; height: 34px; color: var(--paper); margin-bottom: 20px; }
.service h3 { font-size: 24px; margin-bottom: 10px; }
.service p { color: var(--text-inv-muted); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding-top: 30px; border-top: 3px solid var(--ink); counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; top: -3px; right: 0; background: var(--laser); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 4px 8px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { color: var(--text-muted); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--laser); color: var(--ink); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(32px, 4vw, 52px); }
.cta-band p { margin: 0; font-size: 18px; max-width: 52ch; }
.cta-band .btn-primary { background: var(--ink); color: var(--paper); }
.cta-band .btn-primary:hover { background: var(--ink-3); }
.cta-band .btn-ghost:hover { background: var(--ink); color: var(--laser); border-color: var(--ink); }

/* ---------- Product page ---------- */
.product {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0 clamp(28px, 4vw, 56px); align-items: start;
  grid-template-areas: "gallery side" "prose side";
}
.product-gallery { grid-area: gallery; }
.product-side { grid-area: side; }
.product .prose { grid-area: prose; margin-top: 56px; }
.gallery-main {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: var(--ink); border-radius: var(--radius); overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 1; background: var(--paper-2); transition: border-color .15s ease, opacity .15s ease;
  opacity: .7;
}
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--laser); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-side { position: sticky; top: 96px; }
.product-side .card-brand { margin-bottom: 8px; }
.product-side h1 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 18px; }
.product-side .lead { font-size: 17px; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 15.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); width: 46%; padding-right: 12px; padding-top: 13px; }
.spec-table td { font-weight: 500; }
.enquire { background: var(--ink); color: var(--text-inv); border-radius: var(--radius); padding: 24px; }
.enquire p { margin: 0 0 16px; color: var(--text-inv-muted); font-size: 15.5px; }
.enquire strong { color: var(--text-inv); }
.enquire .btn { width: 100%; justify-content: center; }
.enquire .btn + .btn { margin-top: 10px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 0; }
.prose h3 { font-size: 24px; margin: 36px 0 12px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--laser); }
.note { border-left: 3px solid var(--laser); background: var(--white); padding: 16px 20px; margin: 28px 0 0; }

@media (max-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "prose"; }
  .product-side { position: static; margin-top: 32px; }
  .product .prose { margin-top: 48px; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(10, 10, 12, .92); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; margin: 0 auto; }
.lightbox button {
  position: fixed; top: 16px; right: 16px; background: var(--paper); color: var(--ink); border: 0; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center;
}
.lightbox button svg { width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card svg { width: 28px; height: 28px; color: var(--laser-deep); margin-bottom: 18px; }
.contact-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); margin: 0; }
.contact-card .big { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--text); text-decoration: none; margin-top: 8px; letter-spacing: .02em; }
.contact-card a.big:hover { color: var(--laser-deep); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inv-muted); padding: 72px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-inv); }
.site-footer .brand { color: var(--paper); margin-bottom: 18px; }
.site-footer .brand-tag { color: var(--text-inv-muted); }
.site-footer h4 { font-size: 16px; letter-spacing: .12em; color: var(--paper); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--laser); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 240px); line-height: .9; color: var(--laser); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
