.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 2.2rem;
}

/* Skrytý redakční náhled bazarových strojů. */
.catalog-hero--preview {
  background: var(--ink);
  color: var(--cream);
}

.catalog-preview .catalog-result-head > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card--preview {
  border-top-color: var(--accent);
}

.machine-preview-notice {
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding: 1rem 1.25rem;
}

.machine-preview-notice a {
  color: var(--accent);
  font-weight: 700;
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.machine-back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  text-decoration: none;
  font: 700 12px Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.2s ease;
}

.machine-back-link:hover {
  color: var(--red);
  text-decoration: none;
}

@media (max-width: 700px) {
  .machine-preview-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .machine-preview-notice a {
    margin-left: 0;
  }
}

/* Rental */
.page-hero--rental {
  background: var(--ink);
}

.rental-intro {
  padding: clamp(56px, 7vw, 112px) 0;
}

.rental-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: center;
}

.rental-intro__media,
.rental-intro__media .hd-picture,
.rental-intro__media img {
  display: block;
  width: 100%;
}

.rental-intro__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rental-intro__copy h2,
.rental-equipment__heading h2 {
  font-size: clamp(56px, 5vw, 88px);
  line-height: 0.94;
  margin: 18px 0 28px;
  max-width: 12ch;
}

.rental-intro__copy > p:last-child {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.65;
}

.rental-equipment {
  background: var(--red);
  color: #fff;
  padding: clamp(64px, 8vw, 128px) 0;
}

.rental-equipment__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 140px);
}

.rental-equipment__heading .eyebrow,
.rental-equipment__heading h2 {
  color: #fff;
}

.rental-equipment__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.rental-equipment__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.rental-equipment__list span {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.rental-equipment__list strong {
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.35;
}

.rental-request__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rental-request__facts p {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin: 0;
  padding: 26px 24px;
}

.rental-request__facts p + p {
  border-left: 1px solid var(--line);
}

.rental-request__facts b {
  color: var(--red);
}

.rental-request__facts span {
  font-weight: 700;
}

@media (max-width: 1050px) {
  .rental-intro__layout,
  .rental-equipment__layout {
    grid-template-columns: 1fr;
  }

  .rental-intro__copy,
  .rental-equipment__heading {
    max-width: 680px;
  }

  .rental-intro__copy h2,
  .rental-equipment__heading h2 {
    font-size: clamp(52px, 8vw, 76px);
    max-width: 13ch;
  }
}

@media (max-width: 700px) {
  .rental-intro {
    padding-top: 0;
  }

  .rental-intro__layout {
    width: 100%;
    gap: 42px;
  }

  .rental-intro__copy {
    padding: 0 20px;
  }

  .rental-intro__copy h2,
  .rental-equipment__heading h2 {
    font-size: clamp(46px, 14vw, 62px);
    line-height: 1;
    margin-bottom: 24px;
  }

  .rental-intro__copy > p:last-child {
    font-size: 17px;
    line-height: 1.65;
  }

  .rental-intro__media img {
    aspect-ratio: 4 / 3;
    object-position: 48% center;
  }

  .rental-equipment__list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .rental-equipment__list strong {
    font-size: 19px;
    line-height: 1.4;
  }

  .rental-request__facts {
    grid-template-columns: 1fr;
  }

  .rental-request__facts p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

.brand--client-logo {
  display: inline-flex;
  width: 220px;
  height: 54px;
  align-items: center;
}

.brand--client-logo .brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}
.site-header .brand--client-logo .brand-logo {
  filter: brightness(0) saturate(100%);
}

.footer-brand.brand--client-logo {
  width: 200px;
  height: 50px;
}

/* The supplied logo is transparent; the footer uses a clean monochrome variant on ink. */
.footer-identity .footer-brand {
  padding: 0;
  background: transparent;
}
.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search {
  position: relative;
}

.header-search summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  transition:
    background-color 0.2s ease,
    transform 0.22s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.header-search summary::-webkit-details-marker {
  display: none;
}

.header-search summary span {
  width: 16px;
  height: 16px;
  position: relative;
  border: 1.8px solid var(--ink);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.header-search summary span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: var(--ink);
  transform: rotate(45deg);
  transition: background-color 0.2s ease;
}

.header-search summary:hover span,
.header-search summary:focus-visible span {
  border-color: var(--red);
}
.header-search summary:hover span::after,
.header-search summary:focus-visible span::after {
  background: var(--red);
}
.header-search summary:hover,
.header-search summary:focus-visible {
  transform: translateY(-2px);
}

.header-cta {
  transition:
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--red);
  transform: translateY(-2px);
}
.nav-toggle {
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.nav-toggle span:not(.sr-only) {
  transition: background-color 0.2s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-2px);
}
.nav-toggle:hover span:not(.sr-only),
.nav-toggle:focus-visible span:not(.sr-only) {
  background: var(--red);
}

.header-search[open] summary {
  background: transparent;
}
.header-search[open] summary span {
  border-color: var(--red);
}
.header-search[open] summary span::after {
  background: var(--red);
}

.header-search form {
  position: absolute;
  z-index: 20;
  top: 61px;
  right: 0;
  width: min(440px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 14px;
  background: var(--ink);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.header-search input,
.mobile-nav-search input,
.catalog-filter-panel input,
.catalog-filter-panel select,
.search-page-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font:
    500 14px Inter,
    sans-serif;
}
.header-search input:focus,
.header-search input:focus-visible {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(230, 59, 36, 0.22);
}
input:not([type="checkbox"]):not([type="radio"]):focus,
input:not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(230, 59, 36, 0.22);
}

.header-search button,
.mobile-nav-search button,
.catalog-filter-panel > button[type="submit"],
.search-page-form button {
  min-height: 48px;
  border: 0;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  font:
    700 13px Inter,
    sans-serif;
  cursor: pointer;
}

.mobile-nav-search {
  display: none;
}

.catalog-hero {
  max-width: var(--max);
  margin: auto;
  padding: 95px 28px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(50px, 9vw, 150px);
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  font-size: clamp(72px, 8vw, 132px);
  line-height: 0.78;
}
.catalog-hero h1 em {
  color: var(--red);
  font-style: normal;
}
.catalog-hero.search-hero h1 {
  line-height: 1;
}

.catalog-hero > p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.catalog-section {
  max-width: var(--max);
  margin: auto;
  padding: 42px 28px 125px;
}

.catalog-filter-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) auto;
  align-items: end;
  gap: 10px;
  padding: 22px;
  background: var(--ink);
  color: #fff;
}

.catalog-filter-panel--preview {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.catalog-filter-panel--preview > :nth-child(1) {
  grid-column: 1 / 6;
  grid-row: 1;
}
.catalog-filter-panel--preview > :nth-child(2) {
  grid-column: 1 / 3;
  grid-row: 2;
}
.catalog-filter-panel--preview > :nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2;
}
.catalog-filter-panel--preview > :nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3;
}
.catalog-filter-panel--preview > :nth-child(5) {
  grid-column: 5 / 7;
  grid-row: 2;
}
.catalog-filter-panel--preview > :nth-child(6) {
  grid-column: 3 / 6;
  grid-row: 3;
}
.catalog-filter-panel--preview > :nth-child(7) {
  grid-column: 6 / 9;
  grid-row: 3;
}
.catalog-filter-panel--preview > .catalog-photo-filter {
  grid-column: 7 / 9;
  grid-row: 2;
}
.catalog-filter-panel--preview > button[type="submit"] {
  grid-column: 6 / 9;
  grid-row: 1;
}
.catalog-filter-panel--used {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.catalog-filter-panel--used > :nth-child(1) {
  grid-column: 1 / 9;
  grid-row: 1;
}
.catalog-filter-panel--used > :nth-child(2) {
  grid-column: 1 / 4;
  grid-row: 2;
}
.catalog-filter-panel--used > :nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 2;
}
.catalog-filter-panel--used > :nth-child(4) {
  grid-column: 7 / 10;
  grid-row: 2;
}
.catalog-filter-panel--used > :nth-child(5) {
  grid-column: 10 / 13;
  grid-row: 2;
}
.catalog-filter-panel--used > :nth-child(6) {
  grid-column: 1 / 4;
  grid-row: 3;
}
.catalog-filter-panel--used > :nth-child(7) {
  grid-column: 4 / 8;
  grid-row: 3;
}
.catalog-filter-panel--used > :nth-child(8) {
  grid-column: 8 / 10;
  grid-row: 3;
}
.catalog-filter-panel--used > .catalog-photo-filter {
  grid-column: 10 / 13;
  grid-row: 3;
}
.catalog-filter-panel--used > button[type="submit"] {
  grid-column: 9 / 13;
  grid-row: 1;
}

.catalog-filter-panel label,
.search-page-form label {
  display: block;
  margin-bottom: 8px;
  font:
    600 10px Inter,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-filter-panel select {
  appearance: none;
  background-image:
    linear-gradient(var(--line), var(--line)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23131514' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position:
    calc(100% - 48px) 0,
    calc(100% - 17px) 50%;
  background-size:
    1px 100%,
    14px 8px;
  background-repeat: no-repeat;
  padding-right: 58px;
}

.catalog-filter-panel > button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.catalog-result-head {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-result-head strong {
  color: var(--red);
  font: 700 24px "Barlow Condensed";
}

.catalog-result-head a {
  border-bottom: 1px solid currentColor;
}
.catalog-results-region {
  position: relative;
  scroll-margin-top: 16px;
  outline: 0;
  transition: opacity 0.2s ease;
}
.catalog-results-region.is-loading {
  min-height: 220px;
  opacity: 0.42;
  pointer-events: none;
}
.catalog-results-region.is-loading::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 32%;
  height: 3px;
  background: var(--red);
  animation: catalog-loading 1s ease-in-out infinite alternate;
}
.catalog-filter-panel.is-loading > button[type="submit"] {
  cursor: wait;
  opacity: 0.7;
}
@keyframes catalog-loading {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(212%);
  }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.catalog-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.catalog-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.catalog-card__image {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: #d9d6cd;
}

.catalog-card__image img {
  transition: transform 0.55s;
}
.catalog-card:hover .catalog-card__image img {
  transform: scale(1.025);
}

.machine-photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 54%),
    #dedbd2;
  color: #686a65;
}

.machine-photo-placeholder::before,
.machine-photo-placeholder::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 1px;
  background: rgba(19, 21, 20, 0.12);
  transform: rotate(-28deg);
}

.machine-photo-placeholder::before {
  top: 20%;
  left: -12%;
}

.machine-photo-placeholder::after {
  right: -12%;
  bottom: 20%;
}

.machine-photo-placeholder img {
  width: min(68%, 360px);
  height: auto;
  object-fit: contain;
  opacity: 0.14;
  filter: grayscale(1);
  transform: none !important;
}

.machine-photo-placeholder p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.catalog-card__image > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.catalog-card__brand {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-card h2 {
  font-size: clamp(31px, 3vw, 45px);
  line-height: 0.95;
}
.catalog-card h2 a {
  display: block;
}
.catalog-card h2 a::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
}
.catalog-card:has(h2 a:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.catalog-card dl {
  margin: 25px 0 20px;
  border-top: 1px solid var(--line);
}
.catalog-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.catalog-card dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.catalog-card__note {
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.catalog-card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.catalog-card__foot > span {
  color: #24724c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-card__foot a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.catalog-pagination {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}
.catalog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.catalog-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.catalog-pagination a.page-numbers:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: #fff;
}
.catalog-pagination .page-numbers.current {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.catalog-pagination .prev,
.catalog-pagination .next {
  padding-inline: 20px;
}
.catalog-help {
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.catalog-help .text-link {
  flex: 0 0 auto;
  color: var(--ink);
}

.catalog-empty {
  max-width: 780px;
  padding: 95px 0;
}
.catalog-empty h2 {
  font-size: clamp(45px, 6vw, 82px);
  line-height: 0.9;
}
.catalog-empty > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
  margin: 25px 0;
}

.terrain-decider {
  padding: 115px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 150px);
  background: var(--ink);
  color: #fff;
}

.terrain-decider h2 {
  font-size: clamp(55px, 6vw, 92px);
  line-height: 0.92;
}
.terrain-decider ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #444844;
}
.terrain-decider li {
  display: grid;
  grid-template-columns: 38px 1fr 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 21px 0;
  border-bottom: 1px solid #444844;
}
.terrain-decider li > span {
  color: var(--red);
  font: 600 12px "Barlow Condensed";
}
.terrain-decider li b {
  font: 600 23px "Barlow Condensed";
  text-transform: uppercase;
}
.terrain-decider li small {
  color: #9fa39e;
  line-height: 1.5;
}

.application-matrix {
  max-width: var(--max);
  margin: auto;
  padding: 0 28px 140px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 8vw, 130px);
}

.application-matrix__intro h2 {
  font-size: clamp(58px, 6vw, 100px);
  line-height: 0.92;
}
.application-matrix__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0;
  color: var(--muted);
  line-height: 1.75;
}
.application-matrix__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.application-matrix article {
  min-height: 360px;
  display: grid;
  grid-template-rows: 170px 1fr;
  padding: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.application-matrix article > div {
  position: relative;
  padding: 25px 28px 27px;
  color: #fff;
}
.application-matrix article span {
  color: #ff8c78;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.application-matrix article h3 {
  margin: 24px 34px 10px 0;
  font-size: 31px;
}
.application-matrix article p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.application-matrix article > div p {
  margin: 0;
  color: #b9bdb7;
}

.service-workshop {
  padding: clamp(76px, 8vw, 124px) 0;
  background: var(--paper);
}
.service-workshop__layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}
.service-workshop__copy {
  position: relative;
  z-index: 2;
}
.service-workshop__copy h2 {
  max-width: 560px;
  margin: 20px 0 28px;
  font-size: clamp(50px, 5.1vw, 82px);
  line-height: 0.94;
}
.service-workshop__copy > p:last-child {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}
.service-workshop__media {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(210px, 0.85fr);
  min-height: clamp(430px, 37vw, 600px);
  background: var(--ink);
}
.service-workshop__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #1c1f1d;
}
.service-workshop__photo + .service-workshop__photo {
  border-left: 8px solid var(--paper);
}
.service-workshop__photo .hd-picture,
.service-workshop__photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.service-workshop__photo img {
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.service-workshop__photo--primary img {
  object-position: 48% center;
}
.service-workshop__photo--secondary img {
  object-position: 42% center;
}
.service-workshop__photo:hover img {
  transform: scale(1.025);
}
.service-workshop__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px 24px 19px;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 17, 16, 0.88));
  font: 600 13px/1.2 "Barlow Condensed";
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (max-width: 1050px) {
  .service-workshop__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-workshop__copy {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    column-gap: 46px;
    align-items: end;
  }
  .service-workshop__copy .eyebrow {
    grid-column: 1 / -1;
  }
  .service-workshop__copy h2 {
    margin-bottom: 0;
  }
  .service-workshop__media {
    min-height: 510px;
  }
}

@media (max-width: 700px) {
  .service-workshop {
    padding: 72px 0 84px;
  }
  .service-workshop__layout {
    gap: 38px;
  }
  .service-workshop__copy {
    display: block;
  }
  .service-workshop__copy h2 {
    margin: 17px 0 22px;
    font-size: clamp(46px, 15vw, 62px);
    line-height: 0.98;
  }
  .service-workshop__media {
    display: block;
    min-height: 0;
    background: transparent;
  }
  .service-workshop__photo--primary {
    aspect-ratio: 16 / 11;
  }
  .service-workshop__photo--secondary {
    width: 64%;
    aspect-ratio: 4 / 3;
    margin: -30px 14px 0 auto;
    border: 8px solid var(--paper);
  }
  .service-workshop__photo figcaption {
    padding: 34px 14px 13px;
    font-size: 10px;
  }
}

.service-references {
  background: #e9e6dc;
}

.service-references__head {
  margin-bottom: clamp(42px, 6vw, 78px);
}

.service-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(19, 22, 20, 0.18);
  border: 1px solid rgba(19, 22, 20, 0.18);
}

.service-reference-card {
  min-width: 0;
  background: var(--paper);
}

.service-reference-card__image {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.service-reference-card__image picture,
.service-reference-card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-reference-card__image img {
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-reference-card__image--portrait img {
  object-position: center 52%;
}

.service-reference-card:hover .service-reference-card__image img {
  transform: scale(1.025);
}

.service-reference-card__body {
  padding: clamp(24px, 3vw, 40px);
}

.service-reference-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font: 600 11px "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-reference-card h3 {
  margin: 26px 0 14px;
  font-size: clamp(29px, 2.5vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.service-reference-card__body > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .service-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .service-reference-grid {
    grid-template-columns: 1fr;
  }

  .service-reference-card__image {
    aspect-ratio: 16 / 11;
  }

  .service-reference-card__image--portrait {
    aspect-ratio: 4 / 5;
  }
}
.service-path li {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-path li > span {
  color: var(--red);
  font: 600 15px "Barlow Condensed";
}
.service-path h3 {
  font-size: 32px;
}
.service-path li p {
  color: var(--muted);
  line-height: 1.6;
}

.service-triage {
  padding: 110px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  background: var(--ink);
  color: #fff;
}
.service-triage h2 {
  font-size: clamp(54px, 6vw, 90px);
  line-height: 0.86;
}
.service-triage__data {
  border-top: 1px solid #444844;
}
.service-triage__data p {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 21px 0;
  margin: 0;
  border-bottom: 1px solid #444844;
}
.service-triage__data b {
  color: var(--red);
  font: 600 13px "Barlow Condensed";
}

.contact-direct > a {
  font: 600 clamp(23px, 3vw, 37px) "Barlow Condensed";
}
.contact-brief {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-brief h2 {
  font-size: 38px;
}
.contact-brief ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-page {
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  background: transparent;
}
.contact-page > div {
  padding: 0;
}
.contact-direct {
  position: sticky;
  top: 28px;
  padding: clamp(30px, 4vw, 56px) !important;
  background: #fff !important;
  border-top: 5px solid var(--red);
}
.contact-direct > a {
  line-height: 1.08;
}
.contact-form-wrap {
  min-width: 0;
}

.euromach-focus {
  max-width: var(--max);
  margin: auto;
  padding: 120px 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.euromach-focus__visual {
  height: 650px;
}
.euromach-focus h2,
.brand-roles h2,
.decision-code h2,
.about-promise h2,
.machine-fit h2 {
  font-size: clamp(55px, 6vw, 94px);
  line-height: 0.86;
}
.euromach-focus p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  margin: 30px 0;
}

.brand-roles {
  padding: 110px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 8vw, 130px);
  background: var(--ink);
  color: #fff;
}

.brand-roles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #444844;
  border-left: 1px solid #444844;
}
.brand-roles article {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-right: 1px solid #444844;
  border-bottom: 1px solid #444844;
}
.brand-roles article > span {
  color: var(--red);
  font: 600 12px "Barlow Condensed";
}
.brand-roles h3 {
  margin: 35px 0 10px;
  font-size: 31px;
}
.brand-roles article p {
  color: #aeb2ac;
  font-size: 13px;
  line-height: 1.6;
}
.brand-roles article b {
  margin-top: auto;
  color: #fff;
  font: 600 14px/1.5 "Barlow Condensed";
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-opening h2 {
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.9;
}
.about-opening p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.decision-code {
  padding: 110px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 8vw, 130px);
  background: var(--ink);
  color: #fff;
}

.decision-code ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #444844;
}
.decision-code li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid #444844;
}
.decision-code li > span {
  color: var(--red);
  font: 600 13px "Barlow Condensed";
}
.decision-code li b {
  display: block;
  font: 600 24px "Barlow Condensed";
  text-transform: uppercase;
}
.decision-code li small {
  display: block;
  max-width: 550px;
  margin-top: 5px;
  color: #aeb2ac;
  line-height: 1.55;
}

.about-promise {
  max-width: var(--max);
  margin: auto;
  padding: 125px 28px;
}

.about-promise > p:not(.eyebrow) {
  max-width: 730px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.machine-fit {
  margin-top: 75px;
  padding: 75px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  background: var(--ink);
  color: #fff;
}

.machine-fit__questions {
  border-top: 1px solid #444844;
}
.machine-fit__questions p {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid #444844;
  line-height: 1.5;
}
.machine-fit__questions span {
  color: var(--red);
  font: 600 12px "Barlow Condensed";
}

.search-page-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
}
.search-result-list {
  border-top: 1px solid var(--line);
}
.search-result-list article {
  display: grid;
  grid-template-columns: 0.35fr 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.search-result-list article .eyebrow {
  margin: 0;
}
.search-result-list h2 {
  font-size: clamp(30px, 3vw, 50px);
}
.search-result-list article > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}
.search-count {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.search-hero h1 {
  overflow-wrap: anywhere;
}
.search-results .catalog-grid {
  margin-top: 34px;
}
.search-results .catalog-result-head a {
  font-weight: 700;
  color: var(--ink);
}

.machine-enquiry {
  max-width: 900px;
  margin: 5rem auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: #fff;
}

.machine-enquiry h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hd-enquiry-form {
  display: grid;
  gap: 1.15rem;
}

.hd-enquiry-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hd-enquiry-form input,
.hd-enquiry-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.05rem;
  border: 1px solid #92948e;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.hd-enquiry-form textarea {
  resize: vertical;
}

.hd-file-upload {
  gap: 0.65rem !important;
  padding: 0;
  border: 0;
  background: transparent;
}
.hd-file-upload__label {
  color: var(--ink);
}
.contact-form-wrap .hd-file-upload__label {
  color: #fff;
}
.hd-file-upload__box {
  display: grid;
  gap: 0.65rem;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f7f5ef;
}
.machine-enquiry .hd-file-upload__box {
  background: #fff;
}
.hd-file-upload input[type="file"] {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.hd-file-upload input[type="file"]::file-selector-button {
  min-height: 42px;
  margin-right: 14px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font:
    600 12px Inter,
    sans-serif;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.hd-file-upload input[type="file"]::file-selector-button:hover,
.hd-file-upload input[type="file"]:focus-visible::file-selector-button {
  background: var(--red);
  border-color: var(--red);
}
.hd-file-upload small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}
.hd-file-upload.is-error .hd-file-upload__box {
  border-color: var(--red);
}
.hd-file-upload.is-error small {
  color: var(--red);
  font-weight: 700;
}

.hd-enquiry-form input:focus,
.hd-enquiry-form textarea:focus {
  outline: 3px solid rgba(230, 59, 36, 0.22);
  border-color: var(--red);
}

.hd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hd-consent {
  display: flex !important;
  align-items: center;
  gap: 0.7rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hd-consent input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  margin: 0;
}
.hd-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hd-button {
  justify-self: start;
  min-width: 230px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font:
    700 13px Inter,
    sans-serif;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hd-button--accent {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.hd-button:hover {
  transform: translateY(-2px);
}
.hd-button--accent:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.hd-button:focus-visible {
  outline: 3px solid rgba(230, 59, 36, 0.3);
  outline-offset: 3px;
}

.hd-form-success {
  margin: 1.25rem 0 1.75rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: #fff;
  color: var(--ink);
}

.hd-form-success strong {
  color: var(--red);
}

.hd-form-error {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--red);
  background: #fff0ed;
  color: var(--ink);
}

.hd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-wrap h2 {
  margin-top: 0;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}

.contact-form-wrap {
  padding: clamp(28px, 4vw, 58px) !important;
  background: var(--ink) !important;
  color: #fff;
}

.contact-form-wrap .eyebrow {
  color: var(--red);
}
.contact-form-wrap .hd-enquiry-form input,
.contact-form-wrap .hd-enquiry-form textarea {
  border-color: #5d615c;
  background: #f8f6ef;
}

.contact-form-wrap .hd-consent {
  color: #c8cbc6;
}
.contact-form-wrap .hd-button--accent:hover {
  background: transparent;
  border-color: #fff;
}

.contact-form-wrap a {
  font-size: inherit;
  letter-spacing: normal;
}

.contact-page > div:first-child {
  align-self: start;
}

.contact-page > div:first-child a {
  display: block;
  margin: 0 0 2.2rem;
}

/* Balanced headlines: very tight leading remains exclusive to the two-colour hero. */
.section-head h2,
.service h2,
.brands h2,
.contact h2,
.page-hero h1 {
  line-height: 0.92;
}
.service-triage h2,
.euromach-focus h2,
.brand-roles h2,
.decision-code h2,
.about-promise h2,
.machine-fit h2 {
  line-height: 0.92;
}
.use-claim span {
  display: block;
}
.use-claim--sentence {
  display: block !important;
  width: 100%;
  font-size: clamp(42px, 4.35vw, 76px) !important;
  line-height: 0.94 !important;
}
@media (min-width: 1100px) {
  .use-claim {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.06em clamp(18px, 2vw, 34px);
    font-size: clamp(52px, 5vw, 88px) !important;
  }
  .use-claim span {
    white-space: nowrap;
  }
  .use-claim--sentence {
    display: block;
    white-space: nowrap;
  }
}

/* Private client statistics dashboard. */
.statistics-page {
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: clamp(80px, 9vw, 140px);
}
.statistics-page__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: 55px;
}
.statistics-page__header h1 {
  max-width: 900px;
  margin: 14px 0 0;
  font-size: clamp(58px, 7vw, 116px);
  line-height: 0.86;
}
.statistics-page__header > p:last-child,
.statistics-page__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.statistics-page__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.statistics-logout {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.statistics-period {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) minmax(160px, 0.6fr) auto minmax(210px, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.statistics-period > div label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.statistics-period input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  outline: 0;
}
.statistics-period input:focus {
  border-color: var(--red);
}
.statistics-period .button {
  min-height: 52px;
}
.statistics-period__quick {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  min-height: 52px;
}
.statistics-period__quick a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.statistics-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 5px solid var(--red);
  border-left: 1px solid var(--line);
  background: #fff;
}
.statistics-metric {
  min-width: 0;
  padding: clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statistics-metric > span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.statistics-metric .burst-statistics-number {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(54px, 5vw, 86px) / 0.9 "Barlow Condensed", sans-serif;
}
.statistics-chart {
  margin-top: 22px;
  padding: clamp(24px, 2.8vw, 42px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: #fff;
}
.statistics-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}
.statistics-chart__header h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 0.95;
}
.statistics-chart__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.statistics-chart__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.statistics-chart__key {
  display: inline-block;
  width: 22px;
  height: 4px;
}
.statistics-chart__key--views {
  height: 10px;
  background: var(--red);
}
.statistics-chart__key--visitors {
  background: var(--ink);
}
.statistics-chart__viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.statistics-chart__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.statistics-chart__grid {
  stroke: #dedbd3;
  stroke-width: 1;
}
.statistics-chart__axis {
  fill: #77766f;
  font-family: "Barlow", sans-serif;
  font-size: 11px;
}
.statistics-chart__bar {
  fill: var(--red);
  opacity: 0.78;
  cursor: help;
}
.statistics-chart__line {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}
.statistics-chart__point {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 2;
  pointer-events: none;
}
.statistics-chart__hit {
  fill: transparent;
  cursor: help;
}
.statistics-details {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.statistics-details__side {
  display: grid;
  gap: 22px;
}
.statistics-panel {
  min-width: 0;
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: #fff;
  color: var(--ink);
}
.statistics-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(31px, 2.4vw, 44px);
  line-height: 1;
}
.statistics-panel .burst-statistics-list {
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  list-style: none;
}
.statistics-panel .burst-statistics-item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 52px;
  padding: 14px 12px;
  overflow: hidden;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  background: transparent !important;
}
.statistics-panel .burst-statistics-item:first-child {
  border-top: 0 !important;
}
.statistics-panel .burst-statistics-item::before {
  position: absolute;
  z-index: -1;
  inset: 7px auto 7px 0;
  width: var(--stat-share, 0%);
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(239, 61, 40, 0.16), rgba(239, 61, 40, 0.045));
  content: "";
  transition: width 0.45s ease;
}
.statistics-panel .burst-statistics-label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
}
.statistics-panel .burst-statistics-value {
  color: var(--ink);
  font-weight: 700;
}
.statistics-panel--devices .burst-statistics-item {
  min-height: 48px;
}
.statistics-page__footer-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.statistics-login {
  max-width: 760px;
  margin: clamp(70px, 8vw, 130px) auto;
  padding: clamp(32px, 5vw, 70px);
  border-top: 5px solid var(--red);
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 20, 19, 0.1);
}
.statistics-login h1 {
  margin: 12px 0 18px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.88;
}
.statistics-login > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.statistics-login__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 34px;
}
.statistics-login__form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.statistics-login__form input {
  min-width: 0;
  height: 62px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  outline: 0;
}
.statistics-login__form input:focus {
  border-color: var(--red);
}
.statistics-login__form button {
  min-height: 62px;
}
@media (max-width: 760px) {
  .use-claim--sentence {
    font-size: clamp(36px, 12vw, 56px) !important;
  }
  .statistics-page__header,
  .statistics-details {
    grid-template-columns: 1fr;
  }
  .statistics-page__meta {
    align-items: flex-start;
  }
  .statistics-period {
    grid-template-columns: 1fr 1fr;
  }
  .statistics-period .button,
  .statistics-period__quick {
    grid-column: 1 / -1;
  }
  .statistics-period__quick {
    justify-content: flex-start;
  }
  .statistics-chart__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .statistics-chart__legend {
    justify-content: flex-start;
  }
  .statistics-chart__svg {
    width: auto;
    height: 280px;
  }
  .statistics-metrics {
    grid-template-columns: 1fr;
  }
  .statistics-login__form {
    grid-template-columns: 1fr;
  }
}

.section-cta {
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.section-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.button-light {
  border: 1px solid #fff;
  background: #fff;
  color: var(--ink);
}
.button-light:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.service-cta {
  margin-top: 32px;
}

.machine-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.6fr);
  gap: 18px;
  align-items: stretch;
}
.machine-showcase .gallery {
  min-width: 0;
}
.gallery--single {
  display: block;
}
.gallery--single .gallery__item--main {
  width: 100%;
  height: clamp(560px, 54vw, 760px);
  min-height: 0;
}
.gallery--placeholder {
  min-height: clamp(560px, 54vw, 760px);
}
.gallery--placeholder .machine-photo-placeholder {
  min-height: clamp(560px, 54vw, 760px);
}
.machine-quick {
  min-width: 0;
  padding: clamp(30px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink);
  color: #fff;
}
.machine-quick h2 {
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.94;
}
.machine-quick dl {
  width: 100%;
  margin: 42px 0 34px;
  border-top: 1px solid #444844;
}
.machine-quick dl div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #444844;
}
.machine-quick dt {
  color: #969b94;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.machine-quick dd {
  margin: 0;
  text-align: right;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.button-accent {
  margin-top: auto;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
}
.button-accent:hover {
  border-color: #fff;
  background: transparent;
}

@media (max-width: 700px) {
  .contact-page,
  .machine-showcase {
    grid-template-columns: 1fr;
  }
  .contact-direct {
    position: static;
  }
  .gallery--single .gallery__item--main {
    height: 330px;
    min-height: 0;
  }
  .machine-quick {
    min-height: 470px;
  }
  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-cta .button {
    width: 100%;
    justify-content: space-between;
  }
  .catalog-pagination .prev,
  .catalog-pagination .next {
    width: 100%;
  }

  .hd-form-row {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-filters .button {
    width: 100%;
  }
}

@media (max-width: 1050px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    display: flex;
    align-items: center;
  }

  .header-cta {
    margin-left: 0;
  }

  .nav-toggle {
    flex: 0 0 auto;
    margin: 0 0 0 18px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }
  .catalog-filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filter-panel--preview {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filter-panel--used {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filter-panel.catalog-filter-panel--preview > *,
  .catalog-filter-panel.catalog-filter-panel--used > * {
    grid-column: auto;
    grid-row: auto;
  }
  .catalog-search {
    grid-column: 1 / -1;
  }
  .catalog-filter-panel > button[type="submit"] {
    justify-content: center;
  }
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .application-matrix {
    grid-template-columns: 1fr;
  }
  .service-path ol {
    grid-template-columns: 1fr 1fr;
  }
  .euromach-focus {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .euromach-focus__visual {
    height: 540px;
  }
  .brand-roles,
  .decision-code {
    grid-template-columns: 1fr;
  }
  .machine-fit {
    padding: 55px;
    gap: 45px;
  }
}

@media (max-width: 420px) {
  .brand--client-logo {
    width: 132px;
    height: 38px;
  }

  .header-cta {
    font-size: 13px;
  }

  .nav-toggle {
    margin-left: 10px;
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding: 72px 0;
  }
  .page-hero .shell {
    padding-inline: 20px;
  }
  .header-tools {
    gap: 0;
  }
  .header-search {
    display: none;
  }
  .mobile-nav-search {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 18px 0 4px;
  }
  .catalog-hero {
    padding: 65px 20px 55px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .catalog-hero h1 {
    font-size: clamp(67px, 21vw, 88px);
  }
  .catalog-hero > p {
    font-size: 15px;
  }
  .catalog-section {
    padding: 25px 20px 85px;
  }
  .catalog-filter-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
  .catalog-filter-panel--preview {
    grid-template-columns: 1fr;
  }
  .catalog-filter-panel--used {
    grid-template-columns: 1fr;
  }
  .catalog-filter-panel.catalog-filter-panel--preview > *,
  .catalog-filter-panel.catalog-filter-panel--used > * {
    grid-column: auto;
    grid-row: auto;
  }
  .catalog-search {
    grid-column: auto;
  }
  .catalog-filter-panel > div,
  .catalog-filter-panel .custom-select,
  .catalog-filter-panel > button[type="submit"] {
    width: 100%;
    min-width: 0;
  }
  .catalog-filter-panel input,
  .catalog-filter-panel select,
  .catalog-filter-panel .custom-select__trigger,
  .catalog-filter-panel > button[type="submit"] {
    min-height: 58px;
  }
  .catalog-filter-panel label {
    margin-bottom: 9px;
    font-size: 11px;
  }
  .catalog-filter-panel .custom-select__value,
  .catalog-filter-panel input {
    font-size: 16px;
  }
  .catalog-filter-panel .custom-select__list {
    max-height: min(58vh, 430px);
  }
  .catalog-filter-panel .custom-select__option {
    min-height: 50px;
    padding-block: 13px;
  }
  .catalog-result-head {
    min-height: 68px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 24px;
  }
  .catalog-card__image {
    height: 245px;
  }
  .terrain-decider {
    padding: 80px 20px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .terrain-decider li {
    grid-template-columns: 35px 1fr;
  }
  .terrain-decider li small {
    grid-column: 2;
  }
  .application-matrix {
    padding: 0 20px 85px;
    gap: 45px;
  }
  .application-matrix__grid {
    grid-template-columns: 1fr;
  }
  .application-matrix article {
    min-height: 360px;
  }
  .application-matrix article {
    grid-template-rows: 185px 1fr;
  }
  .service-path ol {
    grid-template-columns: 1fr;
  }
  .service-path li {
    min-height: 235px;
  }
  .service-triage {
    padding: 80px 20px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .search-page-form > div {
    grid-template-columns: 1fr;
  }
  .search-result-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .euromach-focus {
    padding: 80px 20px;
    grid-template-columns: 1fr;
  }
  .euromach-focus__visual {
    height: 410px;
  }
  .brand-roles,
  .decision-code {
    padding: 80px 20px;
    gap: 45px;
  }
  .brand-roles__grid {
    grid-template-columns: 1fr;
  }
  .brand-roles article {
    min-height: 245px;
  }
  .about-promise {
    padding: 85px 20px;
  }
  .machine-fit {
    margin-top: 50px;
    padding: 45px 24px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (min-width: 421px) and (max-width: 700px) {
  .brand--client-logo {
    width: 155px;
    height: 42px;
  }
}

/* Modern interaction and composition layer. */
.header-search form {
  transform-origin: top right;
}
.header-search[open] form {
  animation: search-pop 0.22s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
@keyframes search-pop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.primary-nav a {
  position: relative;
  border-bottom: 0 !important;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hero {
  grid-template-columns: minmax(430px, 0.82fr) minmax(620px, 1.18fr) !important;
  gap: clamp(38px, 5vw, 86px) !important;
}
.hero-visual {
  height: 650px;
  overflow: visible;
  isolation: isolate;
}
.hero-visual::after {
  z-index: 0;
}
.hero-stat {
  position: absolute;
  z-index: 3;
  top: -24px;
  right: -20px;
  width: 170px;
  min-height: 156px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 45px rgba(84, 23, 13, 0.18);
}
.hero-stat strong {
  font: 700 72px/0.8 "Barlow Condensed";
  letter-spacing: -0.06em;
}
.hero-stat {
  justify-content: flex-start;
  gap: 14px;
}
.hero-stat span {
  margin-top: 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.range-console {
  max-width: var(--max);
  margin: 0 auto 140px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  background: var(--red);
  color: #fff;
}
.range-console__head {
  padding: clamp(45px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.range-console__head .eyebrow {
  color: #5b160c;
}
.range-console__head h2 {
  font-size: clamp(56px, 6vw, 94px);
  line-height: 0.9;
}
.range-console__visual {
  width: 100%;
  height: clamp(170px, 18vw, 245px);
  margin: 42px 0 0;
  overflow: hidden;
  background: #b62d1c;
}
.range-console__visual img {
  transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.range-console__visual:hover img {
  transform: scale(1.025);
}
.range-console__head .button {
  margin-top: auto;
}
.range-console__list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr)) auto;
  background: var(--ink);
}
.range-console__list > a {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px 1fr 1fr 22px;
  align-items: center;
  gap: 24px;
  padding: 24px 34px;
  border-bottom: 1px solid #444844;
  transition:
    background-color 0.28s ease,
    padding-left 0.28s ease;
}
.range-console__list > a:hover {
  padding-left: 42px;
  background: #1f2220;
}
.range-console__list > a > span {
  color: var(--red);
  font: 600 13px "Barlow Condensed";
}
.range-console__list h3 {
  font-size: clamp(30px, 3vw, 47px);
}
.range-console__list dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 0;
}
.range-console__list dl div {
  min-width: 0;
}
.range-console__list dt {
  margin-bottom: 5px;
  color: #8f948d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.range-console__list dd {
  margin: 0;
  font-size: 12px;
}
.range-console__list-cta {
  padding: 22px 34px;
  border-top: 1px solid #444844;
}
.range-console__list-cta .text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  border-color: #777d76;
}
.range-console__list-cta .text-link:hover {
  color: var(--red);
  border-color: var(--red);
}
.button {
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.button:hover {
  transform: translateY(-2px);
}
.text-link {
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}
.gallery__item img,
.euromach-focus__visual img,
.service-image img {
  transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.gallery__item:hover img,
.euromach-focus__visual:hover img,
.service-image:hover img {
  transform: scale(1.025);
}
.reveal {
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0ms);
}

/* Shared micro-interactions for cards and data rows across inner pages. */
.application-matrix article img {
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.application-matrix article:hover img {
  transform: scale(1.025);
}
.service-path li,
.brand-roles article {
  transition:
    background-color 0.28s ease,
    transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.service-path li:hover {
  background: #fff;
  transform: translateY(-3px);
}
.brand-roles article:hover {
  background: #1b1e1c;
  transform: translateY(-3px);
}
.terrain-decider li,
.service-triage__data p,
.decision-code li,
.machine-fit__questions p {
  transition:
    padding-left 0.25s cubic-bezier(0.2, 0.75, 0.25, 1),
    background-color 0.25s ease;
}
.terrain-decider li:hover,
.service-triage__data p:hover,
.decision-code li:hover,
.machine-fit__questions p:hover {
  padding-left: 9px;
  background: rgba(255, 255, 255, 0.025);
}
.contact-direct > a {
  transition:
    color 0.22s ease,
    transform 0.22s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.contact-direct > a:hover {
  color: var(--red);
  transform: translateX(4px);
}
.technical-drawings figure {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 0.22s ease;
}
.technical-drawings figure:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr !important;
  }
  .hero-stat {
    right: -8px;
    width: 145px;
    min-height: 135px;
  }
  .range-console {
    grid-template-columns: 1fr;
    margin-inline: 28px;
  }
  .range-console__head {
    min-height: 470px;
  }
}
@media (max-width: 700px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
    display: grid;
    align-content: center;
  }
  .nav-toggle span:not(.sr-only) {
    margin: 3px auto;
  }
  .header-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero {
    grid-template-columns: 1fr !important;
    gap: 55px !important;
  }
  .hero-visual {
    height: 460px;
    margin-right: 12px;
  }
  .hero-stat {
    top: -18px;
    right: -8px;
    width: 126px;
    min-height: 132px;
    padding: 16px;
  }
  .hero-stat strong {
    font-size: 55px;
    line-height: 0.9;
  }
  .range-console {
    margin: 32px 20px 85px;
  }
  .range-console__head {
    min-height: 430px;
    padding: 36px 25px;
  }
  .range-console__visual {
    height: 210px;
    margin: 30px 0 0;
  }
  .range-console__list > a {
    grid-template-columns: 32px 1fr 18px;
    min-height: 118px;
    gap: 12px;
    padding: 20px;
  }
  .range-console__list > a:hover {
    padding-left: 24px;
  }
  .range-console__list dl {
    display: none;
  }
  .primary-nav.is-open {
    animation: mobile-menu-in 0.25s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
}
@media (max-width: 360px) {
  .site-header {
    padding-inline: 15px;
  }
  .brand--client-logo {
    width: 115px;
  }
  .header-cta {
    font-size: 12px;
  }
  .nav-toggle {
    margin-left: 5px;
    margin-right: 4px;
  }
  .hero h1 {
    font-size: clamp(58px, 19vw, 62px);
  }
  .page-hero h1 {
    font-size: clamp(46px, 15.5vw, 50px);
  }
  .hd-button {
    width: 100%;
    min-width: 0;
  }
  .contact-direct,
  .contact-form-wrap {
    min-width: 0;
  }
  .contact-direct > a {
    overflow-wrap: anywhere;
  }
  .contact-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-band__inner .button {
    align-self: flex-start;
  }
}
@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header-search[open] form,
  .primary-nav.is-open {
    animation: none;
  }
  .button,
  .catalog-card,
  .range-console__list > a,
  .gallery__item img,
  .euromach-focus__visual img,
  .service-image img,
  .application-matrix article img,
  .service-path li,
  .brand-roles article,
  .terrain-decider li,
  .service-triage__data p,
  .decision-code li,
  .machine-fit__questions p,
  .contact-direct > a,
  .technical-drawings figure {
    transition: none;
  }
  .application-matrix article:hover img,
  .service-path li:hover,
  .brand-roles article:hover,
  .terrain-decider li:hover,
  .service-triage__data p:hover,
  .decision-code li:hover,
  .machine-fit__questions p:hover,
  .contact-direct > a:hover,
  .technical-drawings figure:hover {
    transform: none;
  }
}

.legal-page {
  max-width: var(--max);
  margin: auto;
  padding: 110px 28px 130px;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(60px, 9vw, 150px);
}
.legal-page aside {
  align-self: start;
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 30px;
  background: #fff;
  border-top: 4px solid var(--red);
}
.legal-page aside strong {
  font: 700 27px "Barlow Condensed";
  text-transform: uppercase;
}
.legal-page aside span,
.legal-page aside a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.legal-content {
  border-top: 1px solid var(--line);
}
.legal-content section {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 25px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.legal-content section > span {
  color: var(--red);
  font: 600 13px "Barlow Condensed";
}
.legal-content h2 {
  font-size: clamp(34px, 4vw, 55px);
  line-height: 0.95;
}
.legal-content p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}
.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-updated {
  margin-top: 35px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 700px) {
  .legal-page {
    padding: 80px 20px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .legal-page aside {
    position: static;
  }
  .legal-content section {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }
}

/* 1.6 — clearer controls, compact mobile gallery and stronger guidance. */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.contact .eyebrow,
.range-console__head .eyebrow {
  width: max-content;
  margin-bottom: 34px;
  padding: 8px 11px;
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.12em;
}

.machine-card::after {
  pointer-events: none;
}
.home-machines .machine-card > a {
  position: relative;
  z-index: auto;
  cursor: pointer;
}
.home-machines .machine-card a > div > span {
  display: inline-flex;
  width: max-content;
  padding: 7px 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.home-machines .machine-card > a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}
.home-machines .machine-card p {
  display: none;
}
.catalog-card__foot {
  justify-content: flex-end;
  padding-top: 0;
  border-top: 0;
}
.catalog-card__foot > span {
  display: none;
}

.range-console__head h2 {
  line-height: 1;
}
.range-console__head .button {
  margin-top: clamp(48px, 5vw, 76px);
  border: 2px solid var(--ink);
}
.range-console__head .button:hover {
  border-color: #fff;
  background: var(--red);
  color: #fff;
}

.catalog-filter-panel {
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(19, 21, 20, 0.07);
}
.catalog-filter-panel > div {
  min-width: 0;
}
.catalog-filter-panel label {
  margin: 0 0 10px 2px;
  color: #50544e;
  font-size: 10px;
  font-weight: 700;
}
.catalog-filter-panel input,
.catalog-filter-panel select {
  min-height: 54px;
  border: 1px solid #d4d1c8;
  border-radius: 0;
  background-color: #f7f5ef;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.catalog-filter-panel select {
  background-image:
    linear-gradient(var(--line), var(--line)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23131514' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position:
    calc(100% - 48px) 0,
    calc(100% - 17px) 50%;
  background-size:
    1px 100%,
    14px 8px;
}
.catalog-filter-panel input:hover,
.catalog-filter-panel select:hover {
  background-color: #fff;
  border-color: #aaa9a2;
}
.catalog-filter-panel input:focus,
.catalog-filter-panel select:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 59, 36, 0.14);
  background: #fff;
}
.catalog-filter-panel > button[type="submit"] {
  min-height: 54px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
}
.catalog-filter-panel > button[type="submit"]:hover {
  background: var(--red);
  border-color: var(--red);
}

.catalog-filter-panel .catalog-photo-filter {
  align-self: end;
}
.catalog-filter-panel .catalog-photo-filter > label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d4d1c8;
  background: #f7f5ef;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.catalog-filter-panel .catalog-photo-filter > label:hover {
  border-color: #aaa9a2;
  background: #fff;
}
.catalog-filter-panel .catalog-photo-filter input[type="checkbox"] {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}
.catalog-filter-panel .catalog-photo-filter input[type="checkbox"]:checked {
  border-color: var(--red);
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5 5 9.5 13 1' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.catalog-filter-panel .catalog-photo-filter input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(230, 59, 36, 0.2);
}

.custom-select {
  position: relative;
  min-width: 0;
}
.custom-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.custom-select__trigger {
  width: 100%;
  min-height: 54px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid #d4d1c8 !important;
  background: #f7f5ef !important;
  color: var(--ink) !important;
  font:
    500 14px Inter,
    sans-serif !important;
  text-align: left;
  cursor: pointer;
}
.custom-select__value {
  min-width: 0;
  padding: 0 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.custom-select__chevron {
  width: 48px;
  height: 100%;
  position: relative;
  border-left: 1px solid var(--line);
}
.custom-select__chevron::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.custom-select.is-open .custom-select__chevron::before {
  transform: translateY(-25%) rotate(225deg);
}
.custom-select__trigger:hover {
  border-color: #aaa9a2 !important;
  background: #fff !important;
}
.custom-select__trigger:focus-visible,
.custom-select.is-open .custom-select__trigger {
  outline: 0;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(230, 59, 36, 0.14);
  background: #fff !important;
}
.custom-select__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 0 16px 36px rgba(19, 21, 20, 0.18);
}
.custom-select__search {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 100%;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
.custom-select__list[hidden] {
  display: none;
}
.custom-select__option {
  width: 100%;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  font:
    500 14px Inter,
    sans-serif !important;
  text-align: left;
  cursor: pointer;
}
.custom-select__option:last-child {
  border-bottom: 0 !important;
}
.custom-select__option[hidden] {
  display: none !important;
}
.custom-select__option::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: transparent;
}
.custom-select__option:hover,
.custom-select__option:focus-visible {
  outline: 0;
  background: #f1eee6 !important;
}
.custom-select__option[aria-selected="true"] {
  font-weight: 700 !important;
}
.custom-select__option[aria-selected="true"]::before {
  background: var(--red);
}

.gallery__item {
  position: relative;
  display: block;
}
.gallery__item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.gallery__open,
.gallery__more {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery__more {
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(19, 21, 20, 0.06) 30%, rgba(19, 21, 20, 0.7));
  letter-spacing: 0;
  text-transform: none;
}
.gallery__more strong {
  font:
    700 27px/0.9 "Barlow Condensed",
    sans-serif;
}
.gallery__more small {
  padding-bottom: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.entry-content__cta {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.entry-content__cta p {
  margin: 0 0 16px;
  color: var(--muted);
}
.pswp {
  --pswp-bg: #0b0d0c;
}
.pswp__button {
  width: 48px;
  height: 48px;
}
.pswp__counter {
  top: 16px;
  left: 18px;
  height: auto;
  color: #fff;
  font:
    700 12px Inter,
    sans-serif;
  letter-spacing: 0.08em;
}
.pswp__hd-caption {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 18px;
  max-width: calc(100vw - 40px);
  transform: translateX(-50%);
  padding: 10px 14px;
  background: rgba(19, 21, 20, 0.78);
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.technical-drawings {
  margin-top: clamp(70px, 8vw, 120px);
  padding: clamp(45px, 6vw, 85px);
  background: #fff;
}
.technical-drawings__head {
  display: grid;
  grid-template-columns: 0.55fr 1.15fr 0.8fr;
  align-items: end;
  gap: clamp(30px, 5vw, 80px);
  margin-bottom: 48px;
}
.technical-drawings__head .eyebrow {
  align-self: start;
}
.technical-drawings__head h2 {
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.98;
}
.technical-drawings__head > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.technical-drawings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.technical-drawings figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: #f7f5ef;
}
.technical-drawings figure > a {
  position: relative;
  display: block;
  height: clamp(240px, 23vw, 390px);
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.technical-drawings figure img {
  object-fit: contain;
  padding: 18px;
  transition: transform 0.45s ease;
}
.technical-drawings figure > a:hover img {
  transform: scale(1.025);
}
.technical-drawings figure > a > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.technical-drawings figcaption {
  min-height: 64px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.machine-enquiry h2 {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.contact-form-wrap h2 + .hd-enquiry-form {
  margin-top: clamp(34px, 4vw, 52px);
}
.hd-enquiry-form label {
  gap: 0.7rem;
}

@media (max-width: 1050px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
  }
  .brand--client-logo {
    grid-column: 1;
    grid-row: 1;
  }
  .header-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
  }
  .primary-nav {
    display: block;
    position: absolute;
    z-index: 49;
    left: 0;
    right: 0;
    top: 86px;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 18px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.24s cubic-bezier(0.2, 0.75, 0.25, 1),
      visibility 0s linear 0.24s;
  }
  .primary-nav.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .primary-nav a::after {
    display: none;
  }
  .primary-nav.is-open .menu a {
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      padding-left 0.2s ease;
  }
  .primary-nav.is-open .menu a:hover,
  .primary-nav.is-open .menu a:focus-visible {
    padding-left: 8px;
    background: rgba(19, 21, 20, 0.045);
    color: var(--ink);
  }
}

@media (max-width: 700px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 8px;
  }
  .header-tools {
    grid-column: 2;
    justify-self: center;
  }
  .nav-toggle {
    grid-column: 3;
    margin: 0;
  }
  .primary-nav,
  .primary-nav.is-open {
    top: 71px;
    max-height: calc(100vh - 71px);
    padding: 18px 20px;
  }
  .range-console__head {
    min-height: 0;
  }
  .range-console__head .button {
    width: 100%;
    justify-content: space-between;
    margin-top: 42px;
  }
  .range-console__list > a {
    grid-template-columns: 28px 1fr 18px;
    min-height: 154px;
    align-content: center;
  }
  .range-console__list h3 {
    grid-column: 2;
  }
  .range-console__list dl {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
  }
  .range-console__list > a > i {
    grid-column: 3;
    grid-row: 1/3;
  }
  .range-console__list dt {
    color: #aeb2ac;
  }
  .range-console__list dd {
    line-height: 1.35;
  }
  .gallery > a:nth-child(n + 4) {
    display: none;
  }
  .gallery__open {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
  .machine-quick {
    min-height: 0;
  }
  .catalog-filter-panel {
    padding: 16px;
    border-radius: 0;
  }
  .catalog-help {
    margin-top: 28px;
    flex-direction: column;
    gap: 8px;
  }
  .technical-drawings {
    margin-inline: -20px;
    padding: 55px 20px;
  }
  .technical-drawings__head {
    display: block;
    margin-bottom: 32px;
  }
  .technical-drawings__head h2 {
    margin-bottom: 22px;
  }
  .technical-drawings__grid {
    grid-template-columns: 1fr;
  }
  .technical-drawings figure > a {
    height: 300px;
  }
  .contact-band {
    padding: 58px 20px;
  }
  .contact-band__inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-inline: 0;
  }
  .contact-band__inner h2 {
    width: 100%;
  }
  .contact-band__inner .button {
    width: 100%;
    justify-content: center;
    align-self: stretch;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 5px;
  }
  .nav-toggle {
    margin: 0;
  }
}

.site-footer {
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: block;
  background: var(--ink);
  color: #fff;
}
.footer-main {
  min-height: 340px;
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 0.65fr 1fr;
  gap: clamp(35px, 5vw, 80px);
  padding: 70px 0;
  border-bottom: 1px solid #3d413d;
}
.footer-identity .footer-brand {
  padding: 0;
  background: transparent;
}
.footer-identity > p {
  max-width: 330px;
  margin: 32px 0 0;
  color: #9fa39e;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b504a;
  color: #fff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.social-link svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}
.social-link:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.social-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.footer-main nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-main b {
  margin-bottom: 10px;
  color: var(--red);
  font:
    600 11px Inter,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-main nav a,
.footer-contact > a {
  position: relative;
  font: 600 18px "Barlow Condensed";
  text-transform: uppercase;
}
.footer-main .social-links {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.footer-main .social-links .social-link {
  font: inherit;
  text-transform: none;
  border-color: transparent;
}
.footer-main .social-links .social-link::after {
  display: none;
}
.footer-main nav a::after,
.footer-contact > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.footer-main nav a:hover::after,
.footer-contact > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.footer-contact small {
  margin-top: auto;
  color: #777d76;
  font-size: 12px;
  line-height: 1.6;
}
.footer-bottom {
  min-height: 75px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  color: #878c86;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.footer-bottom > a:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-identity,
  .footer-contact {
    min-height: 190px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding-inline: 20px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
    padding: 60px 0;
  }
  .footer-identity,
  .footer-contact {
    grid-column: 1/-1;
    min-height: 0;
  }
  .footer-identity > p {
    margin-top: 24px;
  }
  .footer-contact small {
    margin-top: 22px;
  }
  .footer-bottom {
    min-height: 110px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .footer-bottom > a:last-child {
    grid-column: 2;
    grid-row: 1/3;
  }
}

.brands__head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 80px;
}
.brands__summary {
  max-width: 520px;
  justify-self: end;
}
.brands__summary p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
}
.brand-marquee {
  width: 100%;
  margin-top: 68px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.brand-track {
  width: max-content;
  display: flex;
  animation: brand-scroll 42s linear infinite;
}
.brand-track:hover {
  animation-play-state: paused;
}
.brand-logo-card {
  width: 230px;
  height: 120px;
  padding: 30px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.brand-logo-card img,
.brand-grid--logos .brand-tile img {
  width: 100%;
  height: auto;
  max-width: 190px;
  max-height: 70px;
  object-fit: contain;
  filter: saturate(0.92);
}

/* ENGCON is an opaque white-background raster: multiply lets the paper stage show through. */
.brand-logo-card--engcon img {
  mix-blend-mode: multiply;
}
.brand-logo-card--engcon img,
.brand-logo-card--kinshofer-nox img,
.brand-logo-card--steelwrist img {
  max-width: 215px;
}
.brand-logo-card--ramec img {
  max-width: 210px;
  max-height: 64px;
}
.brand-logo-card--seppi img {
  max-width: 210px;
  max-height: 64px;
}
@keyframes brand-scroll {
  to {
    transform: translateX(-50%);
  }
}
.brand-grid--logos .brand-tile {
  min-height: 145px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.brand-grid--logos .brand-tile:hover {
  background: #fff;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .brands__head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .brands__summary {
    justify-self: start;
  }
  .brand-marquee {
    margin-top: 42px;
    margin-inline: -20px;
    width: calc(100% + 40px);
    mask-image: none;
  }
  .brand-marquee {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    cursor: grab;
  }
  .brand-marquee::-webkit-scrollbar {
    display: none;
  }
  .brand-marquee.is-dragging {
    cursor: grabbing;
  }
  .brand-track {
    animation: none;
    transform: none;
  }
  .brand-logo-card {
    width: 170px;
    height: 95px;
    padding: 23px;
  }
  .brand-logo-card[aria-hidden="true"] {
    display: none;
  }
  .brand-grid--logos .brand-tile {
    min-height: 110px;
    padding: 22px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
    transform: none;
  }
  .brand-marquee {
    overflow-x: auto;
  }
}

/* 1.11 — navigation, vector identity and image-led content refinements. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: rgba(241, 238, 230, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: none;
}
.site-header .header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 28px;
}
html {
  scroll-padding-top: 105px;
}
.primary-nav .menu > li {
  position: relative;
}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--red);
  border-color: var(--red);
}
.primary-nav .sub-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  left: -20px;
  min-width: 190px;
  display: block;
  margin: 0;
  padding: 10px 20px;
  list-style: none;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 36px rgba(19, 21, 20, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.18s ease,
    transform 0.22s cubic-bezier(0.2, 0.75, 0.25, 1),
    visibility 0s linear 0.22s;
}
.primary-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.primary-nav .sub-menu a {
  padding: 11px 0;
  border: 0;
  white-space: nowrap;
}
.primary-nav .sub-menu a:hover {
  color: var(--red);
  border: 0;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.custom-select__list:not([hidden]) {
  transform-origin: top center;
  animation: hd-dropdown-in 0.2s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
@keyframes hd-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.brand-track {
  animation: none;
  transform: none;
}
.section-head h2,
.service h2,
.brands h2,
.contact h2,
.page-hero h1,
.service-triage h2,
.euromach-focus h2,
.brand-roles h2,
.decision-code h2,
.about-promise h2,
.machine-fit h2 {
  line-height: 1.02;
}
.application-matrix__grid {
  gap: 0;
  border: 0;
}
.application-matrix article {
  border: 0;
}
.range-console__visual {
  display: none;
  grid-column: 1/-1;
  width: 100%;
  height: clamp(320px, 30vw, 500px);
  margin: 0;
}
.service-image__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  background: var(--paper);
  color: var(--ink);
}
.service-image__label span {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  font:
    700 11px Inter,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand-roles__grid {
  gap: 0;
  border: 0;
}
.brand-roles article {
  min-height: 430px;
  display: grid;
  grid-template-rows: 165px 1fr;
  padding: 0;
  overflow: hidden;
  border-right: 1px solid #343834;
  border-bottom: 1px solid #343834;
  background: #181b19;
}
.brand-roles article > img {
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.brand-roles article:hover > img {
  transform: scale(1.03);
}
.brand-roles article > div {
  display: flex;
  flex-direction: column;
  padding: 24px 25px 26px;
}
.brand-roles article span {
  color: var(--red);
  font: 600 12px "Barlow Condensed";
}
.brand-roles article h3 {
  margin: 22px 0 10px;
}
.brand-roles article > div > b {
  margin-top: auto;
}
.contact-band--flush {
  margin-bottom: 0;
}
.contact-band {
  width: 100%;
  max-width: none;
  margin: 0;
}
.contact-band__inner .button {
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  white-space: nowrap;
}
.contact-band__inner .button:hover {
  border-color: #fff;
  background: var(--red);
  color: #fff;
}
.home .contact {
  margin-bottom: 0;
}
.contact-direct > a[href^="mailto:"] {
  max-width: 100%;
  font-size: clamp(18px, 2.05vw, 29px);
  overflow-wrap: anywhere;
}
.hd-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 2px solid #696d67;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease;
}
.hd-consent input[type="checkbox"]:checked {
  border-color: var(--red);
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.5 13 4.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}
.hd-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(230, 59, 36, 0.3);
  outline-offset: 3px;
}
.brand-grid--logos .brand-tile,
.brand-grid--logos .brand-tile:hover {
  transform: none;
  background: #fff;
  transition: none;
}
.gallery__more {
  display: none;
}
.footer-bottom {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 28px;
}
.footer-bottom > a:last-child {
  margin-left: auto;
}

@media (max-width: 1050px) {
  .primary-nav .sub-menu {
    position: static;
    min-width: 0;
    display: grid;
    gap: 0;
    margin: 2px 0 14px;
    padding: 3px 0;
    background: transparent;
    color: var(--muted);
    box-shadow: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .primary-nav .sub-menu::before {
    display: none;
  }
  .primary-nav.is-open .sub-menu li {
    border-bottom: 0;
  }
  .primary-nav .sub-menu a {
    padding: 9px 24px;
    font-size: 11px;
  }
  .primary-nav.is-open .sub-menu a:hover,
  .primary-nav.is-open .sub-menu a:focus-visible {
    padding-left: 24px;
    background: transparent;
    color: var(--red);
  }
}
@media (max-width: 700px) {
  .site-header .header-inner {
    padding-inline: 20px;
  }
  .catalog-hero:not(.search-hero) h1 {
    line-height: 0.92;
  }
  .hero-visual {
    height: auto;
    aspect-ratio: 4/3;
    margin-right: 0;
  }
  .hero-visual img {
    object-position: center;
  }
  .application-matrix {
    max-width: none;
    margin: 0;
    padding: 72px 20px 85px;
    background: var(--ink);
    color: #fff;
  }
  .application-matrix__intro > p:not(.eyebrow) {
    color: #b9bdb7;
  }
  .application-matrix__intro .text-link {
    color: #fff;
    border-color: #777d76;
  }
  .range-console__visual {
    display: block;
    height: 240px;
    margin: 0;
  }
  .home-machines {
    grid-template-rows: repeat(3, 320px);
  }
  .brand-logo-card[aria-hidden="true"] {
    display: flex;
  }
  .brand-logo-card--ramec img {
    max-width: 145px;
    max-height: 52px;
  }
  .gallery__more {
    display: flex;
  }
  .service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1500/1002;
  }
  .service-image img {
    object-position: center;
  }
}
@media (max-width: 600px) {
  .footer-bottom {
    min-height: 125px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    padding: 22px 0 34px;
  }
  .footer-bottom > a:last-child {
    margin-left: 0;
    grid-column: 2;
    grid-row: 1/3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav .sub-menu {
    transition: none;
  }
  .primary-nav {
    transition: none;
  }
  .custom-select__list:not([hidden]) {
    animation: none;
  }
}

/* 1.12 — machine detail: useful desktop split, full specification beside media. */
.machine-showcase {
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 24px;
}
.machine-quick {
  position: static;
  top: auto;
  min-height: 0;
  padding: clamp(30px, 3.2vw, 48px);
  background: #fff;
  color: var(--ink);
  border-top: 4px solid var(--red);
}
.machine-quick h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1;
}
.machine-quick dl {
  margin: 30px 0 24px;
  border-top: 1px solid var(--line);
}
.machine-quick dl div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.machine-quick dt {
  color: var(--muted);
}
.machine-quick dd {
  color: var(--ink);
  font-size: 13px;
}
.machine-quick .text-link {
  margin: 0 0 24px;
  color: var(--ink);
}
.machine-quick .button-accent {
  width: 100%;
  justify-content: space-between;
  margin-top: 0;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.machine-quick .button-accent:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
@media (min-width: 901px) {
  .machine-showcase[data-sticky-column="gallery"] .gallery {
    position: sticky;
    top: 106px;
    align-self: start;
  }
  .machine-showcase[data-sticky-column="quick"] .machine-quick {
    position: sticky;
    top: 106px;
  }
  .machine-showcase--images-1 .gallery__item,
  .machine-showcase--images-2 .gallery__item,
  .machine-showcase--images-3 .gallery__item {
    min-height: 0;
  }
  .machine-showcase--images-1 .gallery__item--main,
  .machine-showcase--images-2 .gallery__item--main,
  .machine-showcase--images-3 .gallery__item--main {
    height: auto;
  }
  .machine-showcase--images-1 .gallery {
    display: block;
  }
  .machine-showcase--images-1 .gallery__item--main {
    width: 100%;
    height: 100%;
  }
  .machine-showcase--images-2 .gallery {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr;
  }
  .machine-showcase--images-2 .gallery__item--main {
    grid-row: auto;
  }
  .machine-showcase--images-3 .gallery {
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .machine-showcase--images-3 .gallery__item--main {
    grid-row: span 2;
  }
}
.machine-detail__content {
  display: block;
  padding-top: clamp(54px, 6vw, 86px);
}
.machine-detail__content .entry-content {
  max-width: 960px;
  margin: 0 auto;
}
.machine-description--intro {
  max-width: 900px;
  margin: -8px 0 clamp(38px, 4vw, 58px);
  color: var(--muted);
  line-height: 1.75;
}
.hd-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hd-picture > img {
  width: 100%;
  height: 100%;
}

/* References and company story. */
.section-cta__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.references-home {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-block: clamp(90px, 10vw, 150px);
  padding-inline: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  background: var(--ink);
  color: #fff;
}

.references-home__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 8vw, 130px);
  margin-bottom: clamp(44px, 6vw, 78px);
}

.references-home__head h2,
.references-page__intro h2,
.about-story h2,
.about-reference-link h2 {
  margin: 0;
  font-size: clamp(58px, 6vw, 104px);
  line-height: 0.94;
}

.references-home__head > div:last-child > p {
  margin: 0 0 26px;
  color: #b9bdb8;
  line-height: 1.75;
}

.references-home .text-link {
  color: #fff;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.reference-card {
  min-width: 0;
  background: #fff;
  color: var(--ink);
}

.reference-card--wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.reference-card__image {
  height: clamp(290px, 31vw, 470px);
  overflow: hidden;
  background: #d7d4ca;
}

.reference-card--wide .reference-card__image {
  height: clamp(500px, 50vw, 720px);
  flex: 0 0 auto;
}

.reference-card--wide .reference-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--red);
  color: #fff;
}

.reference-card--wide .reference-card__meta {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.reference-card--wide .reference-card__client,
.reference-card--wide .reference-card__body > p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.used-access {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px clamp(28px, 5vw, 75px);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.3fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  background: var(--ink);
  color: #fff;
}

.used-access .eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
}

.used-access h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.08;
  text-transform: uppercase;
}

.used-access > p:not(.eyebrow) {
  margin: 0;
  color: #b9bdb8;
  font-size: 15px;
  line-height: 1.55;
}

.used-access .text-link {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}

.reference-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reference-card__image img[alt*="VTN CK16"] {
  object-position: center bottom;
}

.reference-card__gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  cursor: zoom-in;
}

.reference-card__gallery-trigger .hd-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.reference-card__gallery-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: var(--ink);
  color: #fff;
  font: 600 11px "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-card__gallery-extra {
  display: none;
}

.reference-card:hover .reference-card__image img {
  transform: scale(1.025);
}

.reference-card__body {
  padding: clamp(26px, 3.4vw, 48px);
}

.reference-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--red);
  font: 600 11px "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-card__client {
  margin: 28px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.reference-card h3 {
  margin: 0;
  font-size: clamp(34px, 3.3vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.reference-card__body > p:last-child {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.references-home__cta {
  margin-top: 38px;
  text-align: right;
}

.used-network {
  width: 100%;
  background: var(--red);
  color: #fff;
}

.used-network__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(75px, 9vw, 130px) 28px;
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(420px, 1fr) minmax(310px, 0.6fr);
  align-items: end;
  gap: clamp(36px, 6vw, 95px);
}

.used-network__label {
  align-self: start;
}

.used-network__label > span {
  display: block;
  margin-bottom: 34px;
  color: var(--ink);
  font: 600 11px "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.used-network .eyebrow {
  max-width: 170px;
  color: #fff;
}

.used-network h2 {
  margin: 0;
  grid-column: 2 / -1;
  font-size: clamp(52px, 4.6vw, 78px);
  line-height: 0.94;
  text-transform: uppercase;
}

.used-network__copy {
  grid-column: 2 / -1;
  width: 100%;
  justify-self: stretch;
}

.used-network__copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.used-network__benefits {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.used-network__benefits li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.used-network__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.used-network .text-link {
  color: #fff;
}

@media (min-width: 901px) {
  .used-network__copy {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }

  .used-network__copy > p {
    grid-column: 1;
    grid-row: 1;
    max-width: 460px;
  }

  .used-network__benefits {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .used-network__actions {
    grid-column: 2;
    grid-row: 2;
  }
}

.finance-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(74px, 9vw, 130px) 28px;
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 1fr);
  gap: clamp(56px, 7vw, 110px);
  background: var(--paper);
}

.finance-panel__label {
  align-self: start;
  padding-top: 8px;
}

.finance-panel__label .eyebrow {
  margin-bottom: 32px;
}

.finance-panel__label > span {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: 700 17px "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finance-panel__label > span:last-child {
  border-bottom: 1px solid var(--line);
}

.finance-partners {
  width: min(100%, 390px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 34px 52px;
}

.finance-partners img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

.finance-partners img[src*="sg-leasing"] {
  height: 58px;
}

.finance-logo {
  position: relative;
  display: block;
  width: 100%;
  height: 58px;
}

.finance-logo > img {
  position: absolute;
  inset: 0;
}

.finance-logo__contrast {
  filter: grayscale(1) brightness(0) invert(1);
}

.finance-logo--unicredit-leasing .finance-logo__contrast {
  clip-path: inset(0 0 42% 22%);
}

.finance-logo--raiffeisen-leasing .finance-logo__contrast {
  clip-path: inset(0 0 0 29%);
}

.finance-panel__copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 104px);
  line-height: 0.94;
  text-transform: uppercase;
}

.finance-panel__copy > p {
  max-width: 720px;
  margin: 34px 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.finance-panel--service {
  width: 100%;
  max-width: none;
  margin-block: 0;
  padding-inline: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  background: #fff;
}

.finance-panel--home {
  width: 100%;
  max-width: none;
  padding-inline: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  padding-block: clamp(62px, 6vw, 92px);
  grid-template-columns: minmax(360px, 0.58fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(48px, 5.5vw, 92px);
  background: var(--ink);
  color: #fff;
}

.finance-panel--home .finance-panel__label {
  padding: 0;
}

.finance-panel--home .finance-panel__label .eyebrow {
  margin: 0 0 24px;
  color: var(--red);
}

.finance-panel--home .finance-panel__label > div {
  display: grid;
  width: min(100%, 450px);
  gap: 42px 64px;
}

.finance-panel--home .finance-partners img {
  width: 100%;
  height: 48px;
}

.finance-panel--home .finance-logo {
  height: 48px;
}

.finance-panel--home .finance-logo--csob-leasing > img {
  object-position: left center;
}

.finance-panel--home .finance-panel__copy h2 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
}

.finance-panel--home .finance-panel__copy > p {
  margin: 15px 0 0;
  color: #b9bdb8;
  font-size: 15px;
  line-height: 1.6;
}

.finance-panel--home .finance-panel__actions {
  justify-self: end;
}

.finance-panel--home + .brands {
  padding-top: clamp(72px, 8vw, 105px);
}

.page-hero--finance h1 {
  max-width: 1180px;
  line-height: 0.9;
}

.page-hero--finance > .shell > p:last-child {
  max-width: 720px;
}

.finance-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: start;
  gap: clamp(60px, 9vw, 150px);
}

.finance-intro__lead h2,
.finance-partner-section__heading h2,
.finance-process .section-head h2 {
  font-size: clamp(56px, 6vw, 98px);
  line-height: 0.94;
}

.finance-intro__copy {
  padding-top: 42px;
}

.finance-intro__copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.finance-partner-section {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.finance-partner-section__inner {
  padding-block: clamp(82px, 9vw, 132px);
}

.finance-partner-section__heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.2fr);
  gap: clamp(45px, 8vw, 125px);
  align-items: start;
  margin-bottom: 62px;
}

.finance-partner-section__heading h2 {
  max-width: 900px;
}

.finance-partner-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #343834;
  border-left: 1px solid #343834;
}

.finance-partner-card {
  min-height: 230px;
  padding: clamp(34px, 4vw, 60px);
  display: grid;
  place-items: center;
  border-right: 1px solid #343834;
  border-bottom: 1px solid #343834;
}

.finance-partner-card__logo {
  width: min(100%, 320px);
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.finance-partner-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.finance-partner-card__logo .finance-logo {
  width: 100%;
  height: 125px;
}

.contact-direct__name {
  margin: 30px 0 10px;
  font: 700 clamp(22px, 2.3vw, 31px) "Barlow Condensed", sans-serif;
  line-height: 1.1;
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 30px 0 18px;
}
.contact-person .contact-direct__name {
  margin: 0;
}
.contact-page > div:first-child .contact-person__linkedin {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  margin: 0;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-page > div:first-child .contact-person__linkedin:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.contact-page > div:first-child .contact-person__linkedin:focus-visible {
  outline-color: var(--red);
}

.service-case {
  padding: clamp(78px, 8vw, 128px) max(28px, calc((100vw - var(--max)) / 2 + 28px));
  background: var(--ink);
  color: #fff;
}

.service-case__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 8vw, 130px);
}

.service-case__copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 6.3vw, 104px);
  line-height: 0.94;
  text-transform: uppercase;
}

.service-case__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 34px 0 0;
  color: #b9bdb8;
  font-size: 17px;
  line-height: 1.75;
}

.service-case__detail {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid #3d413d;
}

.service-case__detail strong {
  color: var(--red);
  font: 700 22px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.service-case__detail span {
  max-width: 580px;
  color: #d6d8d4;
  line-height: 1.7;
}

.service-case__gallery {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  grid-template-rows: repeat(3, minmax(150px, 1fr));
  gap: 8px;
}

.service-case__gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #272a27;
}

.service-case__gallery figure:first-child {
  grid-row: 1 / 4;
}

.service-case__gallery a,
.service-case__gallery picture,
.service-case__gallery img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-case__gallery img {
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-case__gallery figure:first-child img {
  object-position: center;
}

.service-case__gallery a:hover img {
  transform: scale(1.025);
}

.service-case__gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 18px 14px;
  background: linear-gradient(transparent, rgba(12, 14, 12, 0.82));
  color: #fff;
  font: 700 13px "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 860px) {
  .service-case__layout {
    grid-template-columns: 1fr;
  }

  .service-case__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .service-case__gallery figure,
  .service-case__gallery figure:first-child {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .service-case__gallery figure:first-child {
    aspect-ratio: 4 / 5;
  }

}

.finance-process .section-head {
  grid-template-columns: 0.5fr 1.5fr;
}

.finance-process__steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.finance-process__steps li {
  min-height: 315px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finance-process__steps li > span {
  color: var(--red);
  font: 700 18px "Barlow Condensed", sans-serif;
}

.finance-process__steps h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 2.6vw, 43px);
  line-height: 1;
}

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

.finance-process__note {
  max-width: 850px;
  margin: 30px 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (min-width: 901px) {
  .reference-grid--home {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 18px;
    background: transparent;
  }

  .reference-grid--home .reference-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .reference-grid--home .reference-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .reference-grid--home .reference-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .reference-grid--home .reference-card--wide .reference-card__image {
    height: clamp(470px, 39vw, 620px);
  }

  .reference-grid--home .reference-card:not(.reference-card--wide) .reference-card__image {
    height: clamp(270px, 25vw, 400px);
  }
}

.references-page__intro {
  max-width: none;
  margin-bottom: clamp(48px, 7vw, 88px);
  grid-template-columns: minmax(150px, 0.24fr) minmax(620px, 1.25fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(34px, 4vw, 68px);
}

.references-page__intro h2 {
  text-wrap: balance;
}

.references-page__intro > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .finance-panel--home {
    grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
    gap: 54px 76px;
  }

  .finance-panel--home .finance-panel__actions {
    grid-column: 2;
    justify-self: start;
  }

  .references-page__intro {
    grid-template-columns: minmax(140px, 0.24fr) minmax(0, 1fr);
  }

  .references-page__intro > p:last-child {
    grid-column: 2;
    max-width: 620px;
  }
}

.reference-grid--all {
  display: block;
  columns: 2;
  column-gap: 18px;
  background: transparent;
}

.reference-grid--all .reference-card {
  width: 100%;
  margin: 0 0 18px;
  display: inline-block;
  break-inside: avoid;
  vertical-align: top;
}

.reference-grid--all .reference-card--wide {
  display: inline-block;
}

.reference-grid--all .reference-card--wide .reference-card__image {
  height: clamp(340px, 34vw, 520px);
}

.reference-grid--all .reference-card--wide .reference-card__body {
  display: block;
}

.reference-grid--all .reference-card:nth-child(4n + 2),
.reference-grid--all .reference-card:nth-child(4n + 3) {
  background: #fff;
}

.reference-grid--all .reference-card:nth-child(4n),
.reference-grid--home .reference-card:nth-child(3) {
  background: var(--ink);
  color: #fff;
}

.reference-grid--all .reference-card:nth-child(5n) {
  background: var(--red);
  color: #fff;
}

.reference-grid--all .reference-card:nth-child(4n) .reference-card__meta,
.reference-grid--home .reference-card:nth-child(3) .reference-card__meta {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--red);
}

.reference-grid--all .reference-card:nth-child(5n) .reference-card__meta {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.reference-grid--all .reference-card:nth-child(4n) .reference-card__client,
.reference-grid--all .reference-card:nth-child(4n) .reference-card__body > p:last-child,
.reference-grid--home .reference-card:nth-child(3) .reference-card__client,
.reference-grid--home .reference-card:nth-child(3) .reference-card__body > p:last-child {
  color: #b9bdb8;
}

.reference-grid--all .reference-card:nth-child(5n) .reference-card__client,
.reference-grid--all .reference-card:nth-child(5n) .reference-card__body > p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: start;
}

.about-story__copy {
  padding-top: 32px;
}

.about-story__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.about-story__copy p + p {
  margin-top: 26px;
}

.about-principles {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
  color: #fff;
}

.about-principles article {
  min-height: 340px;
  padding: clamp(30px, 4vw, 56px);
  border-right: 1px solid #343834;
}

.about-principles article:last-child {
  border-right: 0;
}

.about-principles span {
  color: var(--red);
  font: 600 12px "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
}

.about-principles h3 {
  margin: 90px 0 18px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}

.about-principles p {
  margin: 0;
  color: #b9bdb8;
  line-height: 1.7;
}

.about-reference-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.about-video {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}
.about-video__intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 6vw, 96px);
}
.about-video__intro .eyebrow,
.about-video__intro h2 {
  margin: 0;
}
.about-video__intro h2 {
  max-width: 850px;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.92;
}
.about-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.about-video__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.about-video__frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.about-video__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: clamp(72px, 8vw, 108px);
  height: clamp(72px, 8vw, 108px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.about-video__play svg {
  width: 34%;
  height: 34%;
  display: block;
  margin-left: 5%;
  fill: currentColor;
}
.about-video__play:hover {
  background: #fff;
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.06);
}
.about-video__play:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 5px;
}
.about-video__frame.is-playing .about-video__play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}

.brand-logo-card--volvo img,
.brand-grid--logos img[src*="/volvo-logo.png"] {
  max-width: 78px;
  max-height: 78px;
}

.brand-logo-card--rockster img,
.brand-grid--logos img[src*="/rockster.svg"] {
  max-width: 200px;
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .references-home__head,
  .references-page__intro,
  .about-story {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .references-page__intro > p:last-child {
    margin-top: 0;
  }

  .about-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principles article:nth-child(2) {
    border-right: 0;
  }

  .about-principles article:nth-child(-n + 2) {
    border-bottom: 1px solid #343834;
  }

  .used-access {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .used-access .text-link {
    grid-column: auto;
    justify-self: start;
  }

  .used-network__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .used-network h2,
  .used-network__copy {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .finance-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .finance-panel--home {
    gap: 36px;
  }

  .finance-panel--home .finance-panel__actions {
    justify-self: start;
  }

  .finance-intro,
  .finance-partner-section__heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .finance-intro__copy {
    padding-top: 0;
  }

  .finance-process .section-head {
    grid-template-columns: 1fr;
  }

  .finance-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .used-network__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .used-network__label > span {
    margin-bottom: 0;
  }

  .used-network .eyebrow {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .about-video__intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-video__intro h2 {
    font-size: clamp(36px, 12vw, 58px);
  }
  .brand-marquee .brand-logo-card--volvo img {
    max-width: 58px;
    max-height: 58px;
    transform: translateY(-5px);
  }

  .brand-grid--logos img[src*="/volvo-logo.png"] {
    max-width: 62px;
    max-height: 62px;
  }

  .section-cta__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .references-home {
    padding: 78px 20px;
  }

  .references-home__head h2,
  .references-page__intro h2,
  .about-story h2,
  .about-reference-link h2 {
    font-size: clamp(50px, 15vw, 70px);
    line-height: 0.98;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-grid--all {
    columns: 1;
  }

  .reference-card--wide {
    grid-row: auto;
    display: block;
  }

  .reference-card__image,
  .reference-card--wide .reference-card__image,
  .reference-grid--all .reference-card--wide .reference-card__image {
    height: min(76vw, 430px);
  }

  .reference-card__body {
    padding: 28px 24px 34px;
  }

  .reference-card h3 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .references-home__cta {
    margin-top: 30px;
    text-align: left;
  }

  .references-home__cta .button,
  .about-reference-link .button {
    width: 100%;
    justify-content: space-between;
  }

  .about-story__copy {
    padding-top: 0;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article,
  .about-principles article:nth-child(2) {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid #343834;
  }

  .about-principles article:last-child {
    border-bottom: 0;
  }

  .about-principles h3 {
    margin-top: 65px;
  }

  .about-reference-link {
    align-items: stretch;
    flex-direction: column;
    gap: 34px;
  }

  .used-access {
    padding: 26px 20px;
    gap: 18px;
  }

  .used-access h2 {
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.08;
  }

  .used-access .text-link {
    width: fit-content;
  }

  .used-network__inner {
    padding: 72px 20px;
  }

  .used-network__label {
    align-items: flex-start;
    flex-direction: column;
  }

  .used-network h2 {
    font-size: clamp(56px, 17vw, 78px);
    line-height: 0.94;
  }

  .used-network__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .used-network__actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .finance-panel {
    padding: 72px 20px;
  }

  .finance-panel--home {
    padding-block: 58px;
  }

  .finance-panel--home .finance-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 46px;
  }

  .finance-panel--home .finance-partners img {
    max-width: 132px;
  }

  .finance-panel--home + .brands {
    padding-top: 70px;
  }

  .finance-panel__copy h2 {
    font-size: clamp(50px, 15vw, 72px);
    line-height: 0.98;
  }

  .finance-panel__copy .button {
    width: 100%;
    justify-content: center;
  }

  .page-hero--finance h1 {
    font-size: clamp(51px, 14.5vw, 70px);
    line-height: 0.98;
  }

  .finance-intro__lead h2,
  .finance-partner-section__heading h2,
  .finance-process .section-head h2 {
    font-size: clamp(48px, 14vw, 66px);
    line-height: 0.98;
  }

  .finance-partner-section__inner {
    padding: 76px 20px;
  }

  .finance-partner-section__heading {
    margin-bottom: 42px;
  }

  .finance-partner-cards,
  .finance-process__steps {
    grid-template-columns: 1fr;
  }

  .finance-partner-card {
    min-height: 210px;
    padding: 32px 26px;
  }

  .finance-process__steps li {
    min-height: 230px;
    padding: 26px;
  }

  .finance-process__note {
    margin-top: 24px;
  }
}
.machine-fit__questions p {
  align-items: center;
  font-weight: 600;
}

.not-found {
  max-width: var(--max);
  min-height: 680px;
  margin: auto;
  padding: clamp(70px, 9vw, 140px) 28px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(55px, 9vw, 150px);
}
.not-found__code {
  color: var(--red);
  font:
    700 clamp(170px, 23vw, 360px) / 0.68 "Barlow Condensed",
    sans-serif;
  letter-spacing: -0.08em;
}
.not-found__content {
  max-width: 720px;
}
.not-found__content h1 {
  font-size: clamp(68px, 8vw, 126px);
  line-height: 0.9;
}
.not-found__content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 35px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.not-found__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
}
.not-found__actions .button-accent:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.not-found__help {
  max-width: var(--max);
  min-height: 105px;
  margin: 0 auto;
  padding: 25px clamp(28px, 5vw, 75px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: #fff;
}
.not-found__help p {
  margin: 0;
  font-weight: 600;
}
.not-found__help a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .not-found {
    min-height: 0;
    padding: 75px 20px 90px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .not-found__code {
    font-size: clamp(150px, 52vw, 205px);
  }
  .not-found__content h1 {
    font-size: clamp(62px, 18vw, 82px);
  }
  .not-found__content > p:not(.eyebrow) {
    font-size: 15px;
  }
  .not-found__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .not-found__help {
    min-height: 0;
    padding: 32px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .machine-showcase {
    grid-template-columns: 1fr;
  }
  .machine-quick {
    position: static;
    top: auto;
  }
}

@media (max-width: 700px) {
  .machine-showcase {
    gap: 16px;
  }
  .machine-description--intro {
    margin: -8px 0 34px;
    line-height: 1.7;
  }
  .machine-quick {
    padding: 28px 24px;
  }
  .machine-quick h2 {
    font-size: 44px;
  }
  .machine-detail__content {
    padding-top: 46px;
  }
  .hd-enquiry-form input,
  .hd-enquiry-form textarea,
  .header-search input,
  .mobile-nav-search input,
  .catalog-filter-panel input,
  .search-page-form input {
    font-size: 16px;
  }
}

/* Final responsive guard: used-catalog fields must never retain desktop grid lines. */
/*
 * The used catalog has more controls than the new-machine catalog. Keep its
 * layout intentionally staged instead of allowing CSS Grid to create narrow
 * implicit columns between the desktop and mobile breakpoints.
 */
.catalog-filter-panel > * {
  min-width: 0;
}

.catalog-filter-panel [hidden] {
  display: none !important;
}

@media (min-width: 1051px) and (max-width: 1440px) {
  .catalog-filter-panel.catalog-filter-panel--used,
  .catalog-filter-panel.catalog-filter-panel--preview {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(1) {
    grid-column: 1 / 5;
    grid-row: 1;
  }

  .catalog-filter-panel.catalog-filter-panel--used > button[type="submit"] {
    grid-column: 5 / 7;
    grid-row: 1;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(3) {
    grid-column: 3 / 5;
    grid-row: 2;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(4) {
    grid-column: 5 / 7;
    grid-row: 2;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(6) {
    grid-column: 3 / 5;
    grid-row: 3;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(8) {
    grid-column: 5 / 7;
    grid-row: 3;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(7) {
    grid-column: 1 / 4;
    grid-row: 4;
  }

  .catalog-filter-panel.catalog-filter-panel--used > .catalog-photo-filter {
    grid-column: 4 / 7;
    grid-row: 4;
  }
}

@media (min-width: 701px) and (max-width: 1050px) {
  .catalog-filter-panel.catalog-filter-panel--used,
  .catalog-filter-panel.catalog-filter-panel--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .catalog-filter-panel.catalog-filter-panel--used > *,
  .catalog-filter-panel.catalog-filter-panel--preview > * {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
  }

  .catalog-filter-panel.catalog-filter-panel--used > :nth-child(1),
  .catalog-filter-panel.catalog-filter-panel--used > button[type="submit"],
  .catalog-filter-panel.catalog-filter-panel--preview > :nth-child(1),
  .catalog-filter-panel.catalog-filter-panel--preview > button[type="submit"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .catalog-filter-panel.catalog-filter-panel--used,
  .catalog-filter-panel.catalog-filter-panel--preview {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 22px 20px !important;
  }

  .catalog-filter-panel.catalog-filter-panel--used > *,
  .catalog-filter-panel.catalog-filter-panel--preview > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .catalog-filter-panel .custom-select,
  .catalog-filter-panel .custom-select__trigger,
  .catalog-filter-panel input,
  .catalog-filter-panel > button[type="submit"] {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
  }

  .catalog-filter-panel .catalog-photo-filter input[type="checkbox"] {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
  }

  .gallery--placeholder,
  .gallery--placeholder .machine-photo-placeholder {
    min-height: 360px;
  }
}
