/* =========================================================
   4M³ 3D Prints — shared stylesheet  ·  v2 "Slicer Workspace"
   Light engineering UI (like slicer software chrome) with
   dark "viewport" plates. Accents come from toolpath colors:
   extrusion orange + travel green.
   Type: Archivo (expanded for display) + IBM Plex Mono.
   All colors live here in :root — change once, updates site-wide.
   ========================================================= */

:root {
  /* workspace (light) */
  --bg:          #F2F3EF;
  --bg-soft:     #EBEDE7;
  --panel:       #FFFFFF;
  --line:        #E1E4DC;
  --line-strong: #C9CDC2;

  /* ink */
  --text:  #171B20;
  --muted: #59626C;
  --dim:   #8B929B;

  /* toolpath accents */
  --orange:      #FF4D0D;   /* extrusion — primary action */
  --orange-deep: #D93C02;
  --green:       #00A651;   /* travel — success / easy */
  --glow:        rgba(255, 77, 13, 0.45);

  /* dark viewport plates */
  --plate:       #14181D;
  --plate-2:     #1D232B;
  --plate-line:  rgba(237, 241, 244, 0.12);
  --plate-text:  #EDF1F4;
  --plate-muted: #8B95A1;

  /* type */
  --display: "Archivo", system-ui, sans-serif;
  --body:    "Archivo", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Space Mono", monospace;

  /* metrics */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 12px;
  --radius-sm: 7px;
}

/* legacy aliases (old inline styles / README references keep working) */
:root { --cyan: var(--orange); --cyan-deep: var(--orange-deep); --teal: var(--green); --line-soft: var(--line); --panel-2: var(--bg-soft); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint build-plate grid on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 40%, rgba(0,0,0,.55));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 40%, rgba(0,0,0,.55));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
}
h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.accent { color: var(--orange); }
.link-accent { color: var(--orange); border-bottom: 1px solid rgba(255,77,13,.35); }
.link-accent:hover { border-bottom-color: var(--orange); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
  position: relative;
  z-index: 1;
}

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

/* ---------- eyebrow: G-code comment style  ";  LABEL" ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.eyebrow::before {
  content: ";";
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 11.5px; }

.btn-primary {
  background: var(--orange);
  color: #16191d;
  border-color: var(--orange);
  box-shadow: 0 1px 0 rgba(0,0,0,.15), 0 8px 22px -10px var(--glow);
}
.btn-primary:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px var(--glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); background: var(--panel); }

/* buttons sitting on dark plates */
.on-plate .btn-ghost, .cta-band .btn-ghost, .footer .btn-ghost {
  color: var(--plate-text);
  border-color: var(--plate-line);
}
.on-plate .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: var(--plate-text); background: rgba(255,255,255,.05); }

/* ---------- toolpath scroll-progress bar ---------- */
.toolpath-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.toolpath-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(242, 243, 239, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 25px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}
.logo sup { font-size: 0.55em; color: var(--orange); transform: translateY(-2px); }
.logo .sub {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 10px;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(23,27,32,.05); }
.nav-links a { position: relative; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  background: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 7px; width: 42px; height: 40px; cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vh, 104px) 0 clamp(40px, 6vh, 72px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); margin: 18px 0 20px; }
.hero h1 .hl { display: block; }
.hero-lead { color: var(--muted); font-size: 17.5px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta {
  display: flex; flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); display: flex; flex-direction: column; gap: 2px; }
.hero-meta b { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 24px; letter-spacing: 0; color: var(--text); }

/* ---------- SIGNATURE: layer-preview viewport (printing Texas) ---------- */
.viewport {
  background: var(--plate);
  border: 1px solid var(--plate-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20, 24, 29, 0.55);
  color: var(--plate-text);
}
.viewport-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--plate-line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plate-muted);
}
.viewport-bar .live { display: inline-flex; align-items: center; gap: 7px; }
.viewport-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.viewport-stage {
  position: relative;
  padding: 8px 10px 0;
  background:
    linear-gradient(var(--plate-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--plate-line) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
}
.viewport-stage svg { width: 100%; height: auto; display: block; }
.viewport-ctrl {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--plate-line);
}
.viewport-readout {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--plate-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.viewport-readout b { color: var(--orange); font-weight: 600; }
.viewport-readout .done { color: var(--green); }

/* layer slider — styled like a slicer's layer scrubber */
.layer-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
.layer-slider::-webkit-slider-runnable-track { height: 3px; background: var(--plate-line); border-radius: 2px; }
.layer-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 20px; margin-top: -8.5px; border-radius: 3px; background: var(--orange); border: 1px solid #ffb499; box-shadow: 0 0 10px var(--glow); }
.layer-slider::-moz-range-track { height: 3px; background: var(--plate-line); border-radius: 2px; }
.layer-slider::-moz-range-thumb { width: 14px; height: 20px; border-radius: 3px; background: var(--orange); border: 1px solid #ffb499; box-shadow: 0 0 10px var(--glow); }

/* ---------- marquee trust strip ---------- */
.trust { background: var(--plate); color: var(--plate-text); border-block: 1px solid var(--plate); overflow: hidden; }
.trust-inner { display: flex; width: max-content; gap: 0; animation: trust-slide 30s linear infinite; }
.trust:hover .trust-inner { animation-play-state: paused; }
.trust-inner span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plate-muted);
  padding: 13px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.trust-inner span::after { content: "▪"; color: var(--orange); margin: 0 26px; font-size: 9px; }
@keyframes trust-slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; position: relative; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); margin: 14px 0 14px; }
.section-head p { color: var(--muted); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 36px -22px rgba(23,27,32,.35); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-body h3 { font-size: 19.5px; }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }

.tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 8px;
  background: var(--bg);
}

/* photo placeholder — styled as an empty build plate.
   Replace the whole <div class="ph">…</div> with an <img> (see README). */
.ph {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-soft);
  background-size: 22px 22px, 22px 22px, auto;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ph::before, .ph::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--line-strong);
}
.ph::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ph::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.ph.wide { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); }
.ph.tall { aspect-ratio: 3 / 4;  border: 1px solid var(--line); border-radius: var(--radius); }
.card > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }

/* ---------- X/Y/Z steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: attr(data-axis);
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
}
.step .axis {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 120%;
  font-size: 30px;
  color: var(--orange);
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- split & feature list ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .mk {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--orange);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 6px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
}
.feature-list b { display: block; font-family: var(--display); font-weight: 700; font-stretch: 106%; font-size: 15.5px; }
.feature-list span:last-child { color: var(--muted); font-size: 14.5px; }

/* ---------- stats ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex; flex-direction: column;
}
.stat b { font-family: var(--display); font-weight: 800; font-stretch: 114%; font-size: 26px; }
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); }

/* ---------- pricing tiers (spec-sheet cards) ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.tier {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(23,27,32,.3); }
.tier .name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tier .price { font-family: var(--display); font-weight: 800; font-stretch: 116%; font-size: 42px; line-height: 1; }
.tier .price small { font-size: 0.45em; color: var(--orange); font-weight: 700; }
.tier > p { color: var(--muted); font-size: 14px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; }
.tier li { font-size: 13.5px; color: var(--muted); padding-left: 18px; position: relative; }
.tier li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-family: var(--mono); font-weight: 600; }
.tier .btn { margin-top: auto; }
.tier.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 20px 40px -24px var(--glow); }
.tier-pop {
  position: absolute; top: -12px; left: 20px;
  background: var(--orange); color: #16191d;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 5px;
}

/* ---------- materials ---------- */
.callout {
  background: var(--plate);
  color: var(--plate-text);
  border: 1px solid var(--plate-line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.callout p { color: var(--plate-muted); }
.callout b { color: var(--plate-text); }
.callout .eyebrow { color: var(--plate-muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--plate-line); border-radius: 5px; padding: 6px 10px; color: var(--plate-muted);
}
.chip.on { color: var(--plate-text); border-color: rgba(0,166,81,.5); }
.chip.on::before { content: "✓ "; color: var(--green); }

.matname { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lvl { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; border: 1px solid transparent; }
.lvl.easy, .lvl.eco { color: var(--green); border-color: rgba(0,166,81,.4); background: rgba(0,166,81,.08); }
.lvl.enclosed { color: var(--orange-deep); border-color: rgba(255,77,13,.4); background: rgba(255,77,13,.08); }
.lvl.advanced { color: var(--text); border-color: var(--line-strong); background: var(--bg-soft); }

.specs { border-top: 1px solid var(--line); margin-top: 6px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.spec-row span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding-top: 2px; }
.spec-row b { font-weight: 600; text-align: right; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(52px, 8vw, 88px) 0 clamp(34px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 6vw, 72px); margin: 16px 0 16px; }
.page-head p { color: var(--muted); max-width: 62ch; font-size: 16.5px; }

/* ---------- story / long text ---------- */
.story p { margin-bottom: 16px; color: var(--muted); }
.story strong { color: var(--text); }

/* ---------- forms ---------- */
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 24px 48px -32px rgba(23,27,32,.3);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--panel);
  box-shadow: 0 0 0 3px rgba(255,77,13,.14);
}
.form-status { font-family: var(--mono); font-size: 12.5px; margin-top: 12px; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--orange-deep); }
.form-note { font-size: 12.5px; color: var(--dim); margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--plate);
  color: var(--plate-text);
  border-radius: var(--radius);
  padding: clamp(34px, 6vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--plate-line);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(237,241,244,.03) 7px 8px);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 42px); position: relative; }
.cta-band p { color: var(--plate-muted); margin: 12px auto 0; max-width: 54ch; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; position: relative; }

/* ---------- footer ---------- */
.footer { background: var(--plate); color: var(--plate-text); padding: clamp(48px, 7vw, 72px) 0 30px; position: relative; overflow: hidden; margin-top: 0; }
.footer::after {
  content: "4M³";
  position: absolute;
  right: -0.05em; bottom: -0.28em;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 122%;
  font-size: clamp(160px, 24vw, 320px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237,241,244,.09);
  pointer-events: none;
  user-select: none;
}
.footer .logo { color: var(--plate-text); }
.footer .logo .sub { color: var(--plate-muted); border-color: var(--plate-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; position: relative; z-index: 1; }
.footer-brand p { color: var(--plate-muted); font-size: 14px; margin-top: 14px; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--plate-muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { color: var(--plate-text); font-size: 14px; opacity: .85; transition: opacity .15s ease, color .15s ease; }
.footer ul a:hover { opacity: 1; color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid var(--plate-line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--plate-muted);
  position: relative; z-index: 1;
}

/* ---------- reveal (enhanced by Motion; visible without JS) ---------- */
html.motion .reveal { opacity: 0; transform: translateY(18px); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 18px; gap: 2px; box-shadow: 0 24px 40px -28px rgba(23,27,32,.4); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 13px; }
  .burger { display: flex; }
  .btn-quote { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .viewport { max-width: 620px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 12px 22px; }
  .viewport-ctrl { grid-template-columns: 1fr; gap: 8px; }
  .viewport-readout { text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .trust-inner { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .trust-inner span[aria-hidden] { display: none; }
  html.motion .reveal { opacity: 1; transform: none; }
}
