/* Henschel Robotics - company site (static, no cookies) */
:root {
  --ink: #0e1410;
  --ink-soft: #2a332c;
  --muted: #5c675f;
  --line: #d5dbd6;
  --paper: #f7f8f6;
  --white: #ffffff;
  --brand: #006e0f;
  --brand-dark: #004a0a;
  --brand-soft: #e8f3ea;
  --steel: #1a2420;
  --hero-overlay: linear-gradient(105deg, rgba(14, 20, 16, 0.92) 0%, rgba(14, 20, 16, 0.55) 55%, rgba(14, 20, 16, 0.25) 100%);
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Avenir Next Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(14, 20, 16, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-weight: 400;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
  aspect-ratio: 149 / 44;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.nav .btn {
  margin-left: 0.25rem;
}

.nav a.btn-primary {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.nav a.btn-primary:hover,
.nav a.btn-primary:focus-visible {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.15rem 0.3rem;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  color: var(--brand);
}

.lang-switch a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: var(--white);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-small {
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--steel);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("../assets/images/Nema17_Nema23.jpg") center 40% / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
}

.hero-logo {
  display: block;
  margin: 0 0 1.35rem;
  opacity: 0;
  animation: rise 700ms ease forwards 80ms;
}

.hero-logo img {
  display: block;
  height: clamp(72px, 12vw, 110px);
  width: auto;
  max-width: min(92vw, 520px);
  aspect-ratio: 149 / 44;
  object-fit: contain;
  object-position: left center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.85rem;
  max-width: 36ch;
  opacity: 0;
  animation: rise 700ms ease forwards 180ms;
}

.hero p {
  margin: 0 0 1.6rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  opacity: 0;
  animation: rise 700ms ease forwards 280ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 700ms ease forwards 380ms;
}

.swiss-made {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 700ms ease forwards 120ms;
}

.swiss-made::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background: #d52b1e;
  border-radius: 1px;
  box-shadow: inset 0 0 0 2px #d52b1e;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size: 54% 18%, 18% 54%;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer .swiss-made-inline {
  display: inline-block;
  margin-top: 0.45rem;
  color: #8fd69a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--paper);
}

.band-dark {
  background: var(--steel);
  color: var(--white);
}

.band-dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.band-dark a {
  color: #8fd69a;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.product:hover {
  border-color: #b7c4ba;
  box-shadow: var(--shadow);
}

.product-visual {
  background: linear-gradient(160deg, #eef2ef, #f8faf8);
  margin: -1.25rem -1.25rem 1.1rem;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.product-visual img {
  max-height: 180px;
  width: auto;
}

.product .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.product h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product p {
  margin: 0 0 1rem;
  color: var(--muted);
  flex: 1;
}

.specs {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.specs span:first-child {
  color: var(--muted);
}

.specs span:last-child {
  font-weight: 600;
  text-align: right;
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.compare th,
table.compare td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.compare th {
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.compare tr:last-child td {
  border-bottom: none;
}

table.compare td:first-child {
  color: var(--muted);
  width: 12rem;
}

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.band-dark .feature p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.band-dark .feature-num {
  color: #8fd69a;
}

/* Support downloads */
.download-groups {
  display: grid;
  gap: 1.5rem;
}

.download-group {
  border: 1px solid var(--line);
  background: var(--white);
}

.download-group > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.download-group > header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.download-group > header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.download-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.download-list li:last-child {
  border-bottom: none;
}

.download-meta strong {
  display: block;
  margin-bottom: 0.15rem;
}

.download-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.file-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  vertical-align: middle;
}

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.visit-stats {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.visit-stats:empty {
  display: none;
}

/* Firmware release notes */
.release-notes {
  display: grid;
  gap: 1.5rem;
}

.release-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.release-toc a {
  font-weight: 600;
}

.release-body {
  padding: 0.5rem 1.25rem 1.25rem;
}

.release {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.release:last-of-type {
  border-bottom: none;
}

.release h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.release ul {
  margin: 0;
  padding-left: 1.15rem;
}

.release li {
  margin: 0.35rem 0;
  color: var(--ink-soft);
}

.release .file-badge {
  margin-left: 0;
  margin-right: 0.25rem;
}

.download-group > header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

/* About / contact */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-box h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
}

.contact-box p {
  margin: 0 0 0.55rem;
  color: var(--ink-soft);
}

.contact-box a {
  font-weight: 600;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(180deg, #eef3ef 0%, #f7f8f6 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.page-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
}

.company-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.company-subnav a {
  color: var(--muted);
  text-decoration: none;
}

.company-subnav a:hover {
  color: var(--brand);
}

.company-subnav a[aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0;
  font-size: 0.92rem;
}

.site-footer .bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: #8fd69a;
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
}

/* Product detail blocks */
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.product-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-detail .visual {
  background: linear-gradient(160deg, #eef2ef, #f8faf8);
  border: 1px solid var(--line);
  padding: 2rem;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.product-detail .visual img {
  max-height: 260px;
}

.kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

/* Example interface chooser */
.example-chooser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.example-choice {
  text-align: left;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.example-choice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.example-choice span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.example-choice:hover {
  border-color: #b7c4ba;
}

.example-choice.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.example-panel[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .example-chooser {
    grid-template-columns: 1fr;
  }
}

/* Code / examples */
pre.code {
  margin: 0;
  padding: 1rem 1.15rem;
  background: #121816;
  color: #e7efe9;
  overflow-x: auto;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  border-radius: var(--radius);
}

.example-grid {
  display: grid;
  gap: 1.25rem;
}

.example-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.example-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.example-card header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.example-card header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Torque / mechanical figures */
.curve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.curve-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1rem 1.15rem 1.15rem;
}

.curve-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.curve-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.curve-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 0.85rem;
}

@media (max-width: 900px) {
  .curve-grid {
    grid-template-columns: 1fr;
  }
}

/* History page imagery */
.history-figure {
  margin: 1.75rem 0;
}

.history-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  background: var(--paper);
}

.history-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.history-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.history-pair .history-figure {
  margin: 0;
}

.legacy-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  align-items: center;
}

.legacy-logos figure {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 110px;
  display: grid;
  place-items: center;
}

.legacy-logos img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .history-pair,
  .legacy-logos {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.timeline time {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.timeline h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.prose h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.7rem;
  margin: 2.25rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.market-grid article {
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  background: var(--white);
}

.market-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.market-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid,
  .feature-row,
  .split,
  .product-detail,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 40px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: calc(100% + 0px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a,
  .nav .btn {
    padding: 0.75rem 0;
    margin: 0;
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 0.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  /* Darker bottom wash so white hero copy stays readable on the product photo */
  .hero-media {
    background:
      linear-gradient(
        180deg,
        rgba(14, 20, 16, 0.5) 0%,
        rgba(14, 20, 16, 0.78) 42%,
        rgba(14, 20, 16, 0.94) 100%
      ),
      url("../assets/images/Nema17_Nema23.jpg") center 32% / cover no-repeat;
  }

  .hero h1,
  .hero p,
  .swiss-made {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  }

  .download-list li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  /* rise animations start at opacity:0 — keep content visible without motion */
  .hero-logo,
  .hero h1,
  .hero p,
  .hero-actions,
  .swiss-made {
    opacity: 1;
    transform: none;
  }

  .hero-media {
    transform: none;
  }
}
