/*
 * SFJX Machinery theme presentation
 *
 * Uses the SFJX-branded hero image and logo supplied for this build. Product
 * photography can be added to each equipment entry in the WordPress editor.
 */

@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-display-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/noto-sans-display-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-display-700.woff2") format("woff2");
}

@font-face {
  font-family: "Share Tech";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/share-tech-400.woff2") format("woff2");
}

:root {
  --sfjx-accent: #e64032;
  --sfjx-accent-deep: #bb2e24;
  --navy: #14252d;
  --ink: #171a1c;
  --copy: #4c5559;
  --muted: #788187;
  --line: #d9dfe1;
  --paper: #fff;
  --mist: #eef0f1;
  --soft: #e4e7e8;
  --font-body: "Noto Sans Display", Arial, Helvetica, sans-serif;
  --font-display: "Share Tech", "Arial Narrow", sans-serif;
  --header-h: 70px;
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(70px, 8vw, 132px);
}

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

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--copy);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.search-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: .18em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

::selection {
  color: #fff;
  background: var(--sfjx-accent-deep);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #f6bd2f;
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 2000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--sfjx-accent);
  border-radius: 0;
  color: #fff;
  background: var(--sfjx-accent);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button::after,
.wp-block-button__link::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1rem;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  color: #fff;
  background: var(--sfjx-accent-deep);
  border-color: var(--sfjx-accent-deep);
}

.button--outline {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: var(--header-h);
  border-bottom: 1px solid #dce1e2;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  min-height: var(--header-h);
  align-items: stretch;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  min-width: 218px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand__wordmark {
  color: #202c32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.95rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.09em;
  line-height: 1;
}

.site-brand__symbol {
  display: inline-block;
  margin-left: 5px;
  color: var(--sfjx-accent);
  font-family: var(--font-body);
  font-size: .95em;
  font-style: normal;
  letter-spacing: -.3em;
  transform: translateY(-2px) skewX(-12deg);
}

.site-brand__text {
  display: none;
  max-width: 150px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .58rem;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-brand .custom-logo {
  width: auto;
  max-height: 46px;
}

.site-brand__image {
  width: auto;
  max-width: 220px;
  max-height: 48px;
  object-fit: contain;
}

.site-language {
  display: flex;
  min-width: 74px;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  color: var(--sfjx-accent-deep);
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
}

.site-language__globe {
  display: inline-grid;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-size: .75rem;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: flex-end;
}

.primary-nav ul,
.primary-nav .menu,
.mobile-panel ul,
.mobile-panel .menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: stretch;
  list-style: none;
}

.primary-nav ul {
  gap: clamp(14px, 2.1vw, 34px);
}

.primary-nav a {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--sfjx-accent-deep);
}

.header-actions {
  display: flex;
  margin-right: calc(var(--gutter) * -1);
  align-items: stretch;
}

.catalogue-link,
.search-toggle {
  display: inline-flex;
  min-width: 82px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  color: var(--sfjx-accent-deep);
  background: #e7e9ea;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalogue-link span {
  font-size: 1.1rem;
}

.catalogue-link:hover,
.catalogue-link:focus-visible {
  color: #fff;
  background: var(--sfjx-accent);
}

.search-toggle {
  min-width: 70px;
  color: #fff;
  background: #07090a;
}

.search-toggle:hover,
.search-toggle:focus-visible {
  color: #fff;
  background: var(--navy);
}

.search-toggle__icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-toggle__icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 48px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #e7e9ea;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle__icon {
  position: relative;
  margin: auto;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
}

.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  display: none;
}

.search-overlay {
  visibility: hidden;
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  padding: var(--gutter);
  place-items: center;
  opacity: 0;
  color: #fff;
  background: rgba(3, 45, 58, .98);
}

.search-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.search-overlay__inner {
  position: relative;
  width: min(900px, 100%);
}

.search-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  place-items: center;
  color: #fff;
  background: transparent;
  font-size: 1.7rem;
}

.search-overlay .search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 2px solid #fff;
}

.search-overlay .search-field {
  min-width: 0;
  padding: 16px 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 4rem);
}

.search-overlay .search-field::placeholder {
  color: rgba(255, 255, 255, .55);
}

.search-overlay .search-submit {
  padding: 12px 18px;
  border: 0;
  color: var(--sfjx-accent);
  background: transparent;
  font-family: var(--font-display);
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(820px, 100svh);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #d5d9da;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -3;
  background-color: #d5d9da;
  background-image: linear-gradient(115deg, #bcc4c8 0%, #eef0ef 58%, #adb9bd 100%);
  background-position: center;
  background-size: cover;
}

.hero__media::before {
  position: absolute;
  right: -10%;
  bottom: -24%;
  width: 62%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 45% 0 0 0;
  content: "";
  transform: rotate(-8deg);
}

.hero__media::after {
  position: absolute;
  top: 16%;
  right: 8%;
  width: 43%;
  height: 1px;
  background: rgba(3, 45, 58, .25);
  box-shadow: 0 18px rgba(3, 45, 58, .15), 0 36px rgba(3, 45, 58, .1);
  content: "";
  transform: rotate(-26deg);
}

.hero__shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 20, 26, .75), rgba(3, 20, 26, .33) 52%, rgba(255, 255, 255, .05));
}

.hero__content {
  display: flex;
  min-height: min(820px, 100svh);
  padding-top: calc(var(--header-h) + 100px);
  padding-bottom: 160px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__eyebrow,
.section-heading__kicker,
.archive-hero__kicker {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 12px;
  color: var(--sfjx-accent);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__eyebrow::before,
.section-heading__kicker::before,
.archive-hero__kicker::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero__title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.6rem);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: .96;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-news {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 104px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  background: rgba(3, 20, 26, .7);
}

.hero-news__inner {
  display: grid;
  min-height: 104px;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.hero-news__label {
  display: flex;
  min-height: 60px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-family: var(--font-display);
  font-size: .84rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-news__items {
  position: relative;
  min-height: 48px;
}

.hero-news__item {
  display: grid;
  align-content: center;
  gap: 3px;
}

.hero-news__item:not(.is-active) {
  display: none;
}

.hero-news__date {
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-display);
  font-size: .76rem;
  letter-spacing: .1em;
}

.hero-news__item a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.hero-news__item a:hover,
.hero-news__item a:focus-visible {
  color: var(--sfjx-accent);
}

.hero-news__controls {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-news__count {
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .1em;
}

.hero-news__toggle {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Shared section patterns */
.home-section {
  position: relative;
  padding-block: var(--section-space);
}

.home-section--products,
.home-section--support {
  color: #fff;
  background-color: #063848;
  background-image: linear-gradient(rgba(3, 35, 46, .9), rgba(3, 35, 46, .9)), repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 36px);
}

.home-section--support {
  background-color: #222b2f;
  background-image: linear-gradient(rgba(20, 27, 30, .94), rgba(20, 27, 30, .94)), repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 38px);
}

.home-section--company {
  color: #fff;
  background: linear-gradient(140deg, #233a49, #081419 72%);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(36px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr);
  align-items: end;
  gap: 28px;
}

.section-heading--center {
  display: block;
  text-align: center;
}

.section-heading--center .section-heading__kicker {
  justify-content: center;
}

.section-heading--center .section-heading__title {
  margin-inline: auto;
}

.section-heading__kicker {
  margin-bottom: 13px;
}

.section-heading__title {
  max-width: 800px;
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading--center .section-heading__title::after {
  display: block;
  width: 58px;
  height: 2px;
  margin: 22px auto 0;
  background: var(--sfjx-accent);
  content: "";
}

.section-heading__copy {
  margin: 0;
  color: inherit;
  opacity: .78;
}

/* Product catalogue */
.sfjx-products__layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 28px;
}

.product-categories {
  align-self: start;
  background: rgba(0, 15, 22, .68);
}

.product-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  padding: 15px;
  background: rgba(230, 64, 50, .65);
}

.product-search input {
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  color: var(--ink);
  background: #fff;
  font-size: .86rem;
}

.product-search button {
  display: grid;
  border: 0;
  place-items: center;
  color: var(--sfjx-accent);
  background: #fff;
  font-size: 1.8rem;
}

.product-categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-categories li {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.product-categories a {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 17px;
  color: #fff;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .06em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.product-categories a:hover,
.product-categories a:focus-visible,
.product-categories a.is-active {
  color: var(--sfjx-accent);
  background: rgba(230, 64, 50, .16);
}

.product-categories a span {
  color: var(--sfjx-accent);
  font-size: 1.2rem;
}

.equipment-carousel {
  min-width: 0;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.equipment-grid--scroll {
  display: flex;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--sfjx-accent) rgba(255, 255, 255, .14);
  scrollbar-width: thin;
}

.equipment-grid--scroll > .equipment-card {
  flex: 0 0 clamp(230px, 30vw, 310px);
  scroll-snap-align: start;
}

.equipment-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.equipment-card__media {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  color: inherit;
  background: #f3f5f5;
  text-decoration: none;
}

.equipment-card__media img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.equipment-card__placeholder,
.product-gallery__placeholder {
  position: relative;
  display: block;
  min-height: 250px;
  background: linear-gradient(155deg, #f7f8f8, #dce4e6);
}

.equipment-card__placeholder::before,
.product-gallery__placeholder::before {
  position: absolute;
  top: 22%;
  left: 24%;
  width: 52%;
  height: 42%;
  border: 2px solid rgba(187, 46, 36, .35);
  border-radius: 48% 10% 42% 16%;
  content: "";
  transform: skewX(-12deg);
}

.equipment-card__placeholder::after,
.product-gallery__placeholder::after {
  position: absolute;
  right: 23%;
  bottom: 22%;
  left: 23%;
  height: 2px;
  background: rgba(187, 46, 36, .4);
  box-shadow: 0 -12px rgba(187, 46, 36, .2), 0 12px rgba(187, 46, 36, .18);
  content: "";
}

.equipment-card__body {
  display: grid;
  min-height: 150px;
  padding: 18px 20px 19px;
  align-content: start;
}

.equipment-card__category,
.product-summary__category,
.search-result__type {
  margin: 0 0 7px;
  color: var(--sfjx-accent-deep);
  font-family: var(--font-display);
  font-size: .73rem;
  letter-spacing: .07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.equipment-card__model {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.equipment-card__model a {
  color: inherit;
  text-decoration: none;
}

.equipment-card__body p:not(.equipment-card__category) {
  margin: 9px 0 14px;
  color: var(--copy);
  font-size: .86rem;
  line-height: 1.45;
}

.equipment-card__action {
  display: flex;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  color: var(--sfjx-accent-deep);
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.equipment-card__action::after {
  content: "→";
  font-size: 1.1rem;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.carousel-control {
  display: grid;
  width: 48px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .5);
  place-items: center;
  color: #fff;
  background: rgba(230, 64, 50, .6);
  font-size: 1.2rem;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  color: var(--navy);
  background: #fff;
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.support-card,
.company-links a,
.catalogue-category-list a {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid #cfd7da;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.support-card:hover,
.support-card:focus-visible,
.company-links a:hover,
.company-links a:focus-visible,
.catalogue-category-list a:hover,
.catalogue-category-list a:focus-visible {
  color: var(--sfjx-accent-deep);
  border-color: var(--sfjx-accent);
}

.support-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  color: #fff;
  background: var(--sfjx-accent);
  font-family: var(--font-body);
  font-size: 1.65rem;
}

.support-card__arrow,
.company-links a span,
.catalogue-category-list a span {
  margin-left: auto;
  color: var(--sfjx-accent);
  font-family: var(--font-body);
  font-size: 1.35rem;
}

/* About */
.company-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-links a {
  min-height: 72px;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .07);
  font-size: .9rem;
}

.company-note {
  display: grid;
  margin-top: 36px;
  padding: 30px;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.company-note__mark {
  display: grid;
  width: 76px;
  height: 76px;
  border: 1px solid var(--sfjx-accent);
  place-items: center;
  color: var(--sfjx-accent);
  font-family: Georgia, serif;
  font-size: 3rem;
  font-style: italic;
}

.company-note p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

/* Archives, pages, search, and product details */
.archive-hero {
  padding: calc(var(--header-h) + 80px) 0 70px;
  color: #fff;
  background: linear-gradient(135deg, #173b49, #07161c);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 38px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.archive-hero .section-heading__kicker {
  color: var(--sfjx-accent);
}

.archive-hero__title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.archive-hero p:not(.section-heading__kicker),
.archive-hero__description {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
}

.archive-content,
.page-content,
.product-detail-section {
  padding-block: var(--section-space);
}

.filter-panel {
  display: grid;
  margin-bottom: 38px;
  padding: 20px;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, .8fr) auto auto;
  align-items: end;
  gap: 15px;
  background: var(--mist);
}

.filter-panel__field {
  display: grid;
  gap: 6px;
}

.filter-panel label {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filter-panel input,
.filter-panel select,
.entry-content input,
.entry-content select,
.entry-content textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c8d0d2;
  border-radius: 0;
  background: #fff;
}

.filter-panel .button {
  min-height: 48px;
}

.filter-panel__reset {
  padding-bottom: 12px;
  color: var(--sfjx-accent-deep);
  font-size: .85rem;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  min-height: 230px;
}

.pagination,
.nav-links {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--ink);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  color: #fff;
  background: var(--sfjx-accent);
  border-color: var(--sfjx-accent);
}

.page-content__inner {
  max-width: 940px;
}

.entry-content > * {
  max-width: 800px;
}

.entry-content > .alignwide {
  max-width: var(--container);
}

.entry-content h2,
.entry-content h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.entry-content h2 {
  margin-top: 2.2em;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.entry-content a {
  color: var(--sfjx-accent-deep);
}

.catalogue-category-list {
  display: grid;
  margin-block: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalogue-category-list a {
  min-height: 70px;
  padding: 15px 18px;
  font-size: .9rem;
}

.product-main {
  padding-top: calc(var(--header-h) + 30px);
  color: var(--ink);
  background: var(--mist);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: clamp(34px, 6vw, 90px);
}

.product-gallery__main {
  min-height: 520px;
  background: #fff;
}

.product-gallery__main img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.product-summary {
  align-self: center;
}

.product-summary__model {
  margin: 0 0 5px;
  color: var(--sfjx-accent-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-summary h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.product-summary__lead {
  font-size: 1.1rem;
}

.product-summary__content {
  margin-top: 22px;
}

.product-summary__actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.product-information {
  color: var(--ink);
  background: #fff;
}

.product-information__grid {
  align-items: start;
}

.product-information .section-heading {
  display: block;
  margin-bottom: 28px;
}

.product-information .section-heading__title {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

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

.spec-table th {
  width: 42%;
  color: var(--ink);
  font-weight: 700;
}

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

.feature-list li {
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  float: left;
  margin-left: -27px;
  color: var(--sfjx-accent);
  content: "✓";
  font-weight: 700;
}

.document-cta {
  margin-top: 30px;
  padding: 22px;
  color: #fff;
  background: var(--navy);
}

.document-cta h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

.document-cta a {
  color: var(--sfjx-accent);
}

.empty-state {
  padding: 48px 30px;
  color: var(--ink);
  background: var(--mist);
}

.empty-state h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.search-results-section .search-form {
  display: grid;
  max-width: 800px;
  margin-top: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-results-section .search-field {
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid var(--line);
}

/* Footer */
.site-footer {
  color: var(--ink);
  background: #e6e8e9;
}

.footer-social {
  padding-block: 62px 40px;
}

.site-footer__heading {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: flex;
  min-width: 260px;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--sfjx-accent-deep);
}

.social-link__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--sfjx-accent);
  border-radius: 8px;
  color: var(--sfjx-accent);
  font-size: .82rem;
}

.social-link__icon--dark {
  border-color: var(--ink);
  color: var(--ink);
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .08em;
}

.social-link small {
  color: var(--muted);
  font-size: .72rem;
}

.footer-grid {
  display: grid;
  padding-block: 38px 62px;
  grid-template-columns: minmax(200px, 1.35fr) repeat(2, minmax(150px, .85fr)) minmax(190px, 1fr);
  gap: 34px;
  border-top: 1px solid rgba(23, 26, 28, .13);
}

.footer-brand .site-brand {
  min-width: 0;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-column p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a {
  color: var(--ink);
  font-size: .82rem;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--sfjx-accent-deep);
}

.footer-column--contact .button {
  margin-top: 20px;
}

.site-footer__bottom {
  display: flex;
  padding-block: 18px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(23, 26, 28, .13);
  color: var(--muted);
  font-size: .75rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__bottom a + a {
  margin-left: 14px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  border: 0;
  place-items: center;
  color: #fff;
  background: #282c2e;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1120px) {
  .site-brand {
    min-width: 185px;
  }

  .site-language {
    min-width: 52px;
    padding-inline: 4px;
  }

  .primary-nav ul {
    gap: 16px;
  }

  .primary-nav a {
    font-size: .75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

  .site-header__inner {
    min-height: var(--header-h);
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand__wordmark {
    font-size: 1.72rem;
  }

  .site-language,
  .primary-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .catalogue-link {
    min-width: 78px;
  }

  .mobile-panel {
    visibility: hidden;
    position: fixed;
    z-index: 990;
    inset: var(--header-h) 0 0;
    display: block;
    overflow-y: auto;
    color: #fff;
    background: var(--navy);
    opacity: 0;
    transform: translateX(100%);
  }

  .mobile-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-panel__inner {
    display: grid;
    min-height: 100%;
    padding-block: 26px 34px;
    align-content: space-between;
    gap: 36px;
  }

  .mobile-panel ul,
  .mobile-panel .menu {
    display: block;
  }

  .mobile-panel li {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }

  .mobile-panel a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-panel li a::after {
    color: var(--sfjx-accent);
    content: "→";
  }

  .mobile-panel__meta {
    color: rgba(255, 255, 255, .7);
  }

  .sfjx-products__layout {
    grid-template-columns: 1fr;
  }

  .product-categories {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-categories ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-categories li {
    border-right: 1px solid rgba(255, 255, 255, .14);
  }

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

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-summary {
    max-width: 720px;
  }

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

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
    --section-space: 64px;
  }

  .header-actions {
    margin-right: -18px;
  }

  .catalogue-link {
    min-width: 68px;
    padding-inline: 8px;
    font-size: .62rem;
  }

  .search-toggle {
    min-width: 52px;
  }

  .hero,
  .hero__content {
    min-height: 720px;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 52px);
    padding-bottom: 185px;
  }

  .hero__title {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: .03em;
  }

  .hero-news__inner {
    min-height: 150px;
    padding-block: 15px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-news__label {
    min-height: auto;
    border-right: 0;
  }

  .hero-news__controls {
    justify-content: space-between;
  }

  .section-heading,
  .section-heading--center {
    display: block;
  }

  .section-heading__copy {
    margin-top: 20px;
  }

  .product-categories ul,
  .support-grid,
  .company-links,
  .catalogue-category-list,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid--scroll > .equipment-card {
    flex-basis: min(82vw, 300px);
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .filter-panel__reset {
    padding-bottom: 0;
  }

  .company-note {
    display: block;
    padding-inline: 0;
  }

  .company-note p {
    margin-block: 20px;
  }

  .footer-social {
    padding-block: 52px 30px;
  }

  .social-link {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer-brand,
  .footer-column--contact {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__bottom > div {
    margin-top: 8px;
  }

  .product-gallery__main,
  .product-gallery__main img {
    min-height: 330px;
    height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
