:root {
  --blue: #4f73a0;
  --blue-dark: #2f557f;
  --amber: #c9872b;
  --amber-dark: #a96c1f;
  --amber-soft: #f3e6d2;
  --ink: #25313e;
  --muted: #687586;
  --line: #d6dde6;
  --soft: #f2f5f8;
  --panel: #ffffff;
  --steel: #e7edf3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main [id] {
  scroll-margin-top: 116px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fbfcfd;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 253, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 156px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  color: #344151;
  white-space: nowrap;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.header-contact:hover {
  color: var(--blue-dark);
}

.main-nav a.active {
  color: var(--blue-dark);
  font-weight: 700;
}

.header-contact {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  background: #ffffff;
}

.hero {
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.98), rgba(238, 243, 248, 0.95)),
    linear-gradient(135deg, #ffffff 0%, #d7e1eb 72%, #efe1cc 100%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  min-height: 610px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 98px) 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-text {
  max-width: 690px;
  color: #556475;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 700;
  line-height: 1;
}

.button.primary {
  background: var(--amber);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--amber-dark);
}

.button.secondary {
  background: #ffffff;
  border-color: #d9b57b;
  color: var(--amber-dark);
}

.button.secondary:hover {
  background: var(--amber-soft);
}

.button.ghost {
  border-color: #b9c7d7;
  color: var(--blue-dark);
  background: #ffffff;
}

.hero-points {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #445365;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 49, 62, 0.1);
}

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 700;
}

.panel-title::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--amber);
  content: "";
}

.hero-stat {
  display: grid;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero-stat strong {
  color: var(--blue-dark);
  font-size: 58px;
  line-height: 0.95;
}

.hero-stat span {
  color: var(--muted);
}

.hero-groups {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.hero-groups div {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.hero-groups span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.hero-groups p {
  margin: 0;
  color: #4d5d6f;
  font-size: 14px;
}

.section {
  background: #ffffff;
}

.section,
.kjellberg,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.muted {
  max-width: none;
  background: #eef2f5;
}

.muted > * {
  max-width: 1132px;
  margin-left: auto;
  margin-right: auto;
}

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

.catalog-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.catalog-column a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #2f3b49;
}

.catalog-column a:hover {
  color: var(--blue-dark);
}

.catalog-column a:hover span {
  color: var(--amber);
}

.catalog-column span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.solution-path-grid,
.knowledge-system-grid,
.updates-grid {
  display: grid;
  gap: 18px;
}

.solution-path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-path-card,
.knowledge-system-column,
.updates-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.solution-path-card h3,
.knowledge-system-column h3,
.updates-grid h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 800;
}

.solution-path-card p,
.knowledge-system-column p,
.updates-grid p {
  margin: 0;
  color: var(--muted);
}

.solution-link-list {
  display: grid;
  gap: 0;
}

.solution-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.solution-link-list a::after {
  content: "→";
  color: var(--amber);
  font-weight: 800;
}

.solution-link-list a:hover {
  color: var(--amber);
}

.knowledge-system {
  background: #ffffff;
}

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

.knowledge-system-column {
  gap: 20px;
}

.knowledge-system-column .button {
  justify-self: start;
  margin-top: 4px;
}

.compact-link-list,
.updates-list {
  display: grid;
  gap: 0;
}

.compact-link-list a,
.updates-list a {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.compact-link-list a:hover,
.updates-list a:hover {
  color: var(--amber);
}

.compact-link-list span,
.updates-list span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

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

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

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.pill-list a {
  border: 1px solid #c8d2df;
  border-radius: 999px;
  padding: 10px 13px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.pill-list a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 42px;
}

.support-copy p {
  color: var(--muted);
  font-size: 18px;
}

.support-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  border-left: 4px solid var(--amber);
  padding: 12px 14px;
  background: var(--soft);
}

.document-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.document-card p {
  color: var(--muted);
}

.knowledge {
  padding-top: 0;
}

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

.knowledge-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.knowledge-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--steel);
}

.knowledge-feature div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.knowledge-feature span,
.case-card span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.knowledge-feature h3,
.case-card h3 {
  margin: 0;
}

.knowledge-feature p,
.case-card p {
  margin: 0;
  color: var(--muted);
}

.knowledge-actions {
  margin-top: 24px;
}

.knowledge-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 24px;
}

.knowledge-topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.knowledge-topic-chip:hover,
.knowledge-topic-chip.is-active {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.knowledge-table-wrap {
  overflow-x: visible;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.knowledge-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  max-width: 100%;
  font-size: 13.25px;
  line-height: 1.4;
}

.knowledge-table th,
.knowledge-table td {
  border: 1px solid var(--line);
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.knowledge-table th {
  background: var(--blue-dark);
  color: #ffffff;
  font-weight: 700;
  white-space: normal;
}

.knowledge-table th:first-child,
.knowledge-table td:first-child {
  width: 20%;
}

.knowledge-table tbody th {
  background: #eef4fb;
  color: var(--blue-dark);
}

.knowledge-table-notes {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.knowledge-article a,
.knowledge-article-sidebar a {
  color: var(--amber);
  font-weight: 800;
  text-decoration: none;
}

.knowledge-article a:hover,
.knowledge-article-sidebar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.knowledge-article-block,
.knowledge-callout,
.knowledge-toc,
.knowledge-result {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.knowledge-article-block h2,
.knowledge-callout h2,
.knowledge-toc h2,
.knowledge-result h2 {
  margin: 0;
  color: var(--blue-dark);
}

.knowledge-callout,
.knowledge-toc,
.knowledge-result {
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 20px;
  background: #fbfcfd;
}

.knowledge-callout-brief {
  background: #fff8ec;
}

.knowledge-callout-warning {
  background: #fffaf4;
}

.knowledge-result {
  background: #f6f9fc;
}

.knowledge-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.knowledge-diagram,
.knowledge-diagram-grid {
  margin: 14px 0 12px;
}

.knowledge-diagram {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.knowledge-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

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

.knowledge-diagram figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
}

.knowledge-illustration-placeholder {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 220px;
  padding: 28px;
  background:
    linear-gradient(#eef4fb 1px, transparent 1px),
    linear-gradient(90deg, #eef4fb 1px, transparent 1px),
    #fbfcfd;
  background-size: 24px 24px;
  color: var(--blue-dark);
  text-align: center;
}

.knowledge-illustration-placeholder span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.knowledge-illustration-placeholder strong {
  max-width: 460px;
  font-size: 18px;
}

.knowledge-illustration-placeholder em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.knowledge-illustration img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: none;
}

.knowledge-lightbox-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

.knowledge-lightbox-trigger img {
  pointer-events: none;
}

.knowledge-lightbox-trigger:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.knowledge-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13, 32, 58, 0.92);
}

.knowledge-lightbox[hidden] {
  display: none;
}

.knowledge-lightbox-open,
.knowledge-lightbox-open body {
  overflow: hidden;
}

.knowledge-lightbox-frame {
  display: grid;
  gap: 10px;
  margin: 0;
  max-width: 95vw;
  max-height: 95vh;
  place-items: center;
}

.knowledge-lightbox-image {
  display: block;
  width: auto;
  max-width: 95vw;
  height: auto;
  max-height: calc(95vh - 62px);
  object-fit: contain;
  background: #ffffff;
}

.knowledge-lightbox-caption {
  max-width: 95vw;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.knowledge-lightbox-close,
.knowledge-lightbox-nav {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.knowledge-lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
}

.knowledge-lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
}

.knowledge-lightbox-prev {
  left: 18px;
}

.knowledge-lightbox-next {
  right: 18px;
}

.knowledge-lightbox-close:hover,
.knowledge-lightbox-nav:hover,
.knowledge-lightbox-close:focus-visible,
.knowledge-lightbox-nav:focus-visible {
  background: var(--amber);
  color: #ffffff;
}

@media (max-width: 700px) {
  .knowledge-lightbox {
    padding: 14px;
  }

  .knowledge-lightbox-image {
    max-width: 95vw;
    max-height: calc(95vh - 76px);
  }

  .knowledge-lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .knowledge-lightbox-prev {
    left: 18px;
  }

  .knowledge-lightbox-next {
    right: 70px;
  }
}

.knowledge-diagram text {
  fill: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.knowledge-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.diagram-workpiece,
.diagram-electrode-fill {
  fill: #e8eef5;
  stroke: var(--blue-dark);
  stroke-width: 2;
}

.diagram-torch {
  fill: var(--blue-dark);
}

.diagram-electrode {
  stroke: #56677b;
  stroke-width: 6;
  stroke-linecap: round;
}

.diagram-arc {
  fill: none;
  stroke: var(--amber);
  stroke-width: 5;
  stroke-linecap: round;
}

.diagram-gas {
  fill: none;
  stroke: #9fb0c2;
  stroke-width: 3;
  stroke-dasharray: 7 8;
}

.sharpening-diagram line {
  stroke: var(--blue-dark);
  stroke-width: 3;
  stroke-linecap: round;
}

.sharpening-diagram.is-wrong line {
  stroke: var(--amber);
}

.knowledge-article details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #ffffff;
}

.knowledge-article details + details {
  margin-top: 10px;
}

.knowledge-article summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 800;
}

.knowledge-side-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.knowledge-article-sidebar {
  gap: 12px;
  align-self: start;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}

.knowledge-article-sidebar span {
  color: var(--muted);
}

.knowledge-note-card {
  border-left: 4px solid var(--amber) !important;
}

.knowledge-article-sidebar > section,
.knowledge-article-sidebar .knowledge-note-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: 8px;
  padding: 14px 15px;
  background: #ffffff;
  box-shadow: none;
  overflow: visible;
}

.knowledge-article-sidebar > section:first-child,
.knowledge-article-sidebar .knowledge-note-card:first-child {
  border-top: 3px solid var(--amber) !important;
  background: #fbfcfd;
}

.knowledge-article-sidebar > section.knowledge-note-card,
.knowledge-article-sidebar .knowledge-note-card:last-child {
  background: #fbfcfd;
}

.knowledge-article-sidebar h2,
.knowledge-article-sidebar .knowledge-note-card h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.25;
}

.knowledge-article-sidebar p,
.knowledge-article-sidebar ul,
.knowledge-article-sidebar .knowledge-note-card p,
.knowledge-article-sidebar .knowledge-note-card ul {
  margin: 0;
}

.knowledge-article-sidebar .eyebrow {
  color: var(--blue-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.knowledge-article-sidebar a:not(.button) {
  border-top: 0;
  padding-top: 0;
}

.knowledge-article-sidebar ul.knowledge-side-list {
  list-style: none;
  gap: 0;
  padding-left: 0;
}

.knowledge-article-sidebar ul.knowledge-side-list li {
  position: relative;
  border-top: 1px solid #e6edf4;
  padding: 9px 18px 9px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.knowledge-article-sidebar ul.knowledge-side-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.knowledge-article-sidebar ul.knowledge-side-list li::after {
  content: "›";
  position: absolute;
  top: 9px;
  right: 0;
  color: #9aa8b8;
  font-weight: 800;
}

.knowledge-article-sidebar ul.knowledge-side-list li:first-child::after {
  top: 0;
}

.knowledge-article-sidebar .knowledge-side-list a,
.knowledge-article-sidebar > section > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  gap: 8px;
  align-items: start;
  border-top: 1px solid #e6edf4;
  padding: 9px 0 0;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
}

.knowledge-article-sidebar .knowledge-side-list a:first-child,
.knowledge-article-sidebar > section > a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.knowledge-article-sidebar .knowledge-side-list a::after,
.knowledge-article-sidebar > section > a::after {
  content: "›";
  color: #9aa8b8;
  font-weight: 900;
  justify-self: end;
}

.knowledge-article-sidebar .knowledge-side-list a:hover,
.knowledge-article-sidebar > section > a:hover {
  color: var(--amber);
  text-decoration: none;
}

.knowledge-article-sidebar .knowledge-note-card > ul:not(.knowledge-side-list),
.knowledge-article-sidebar > section:nth-last-of-type(2) ul.knowledge-side-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding-left: 0;
}

.knowledge-article-sidebar .knowledge-note-card > ul:not(.knowledge-side-list) li,
.knowledge-article-sidebar > section:nth-last-of-type(2) ul.knowledge-side-list li {
  border: 1px solid #e1e8f0;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.knowledge-article-sidebar > section:nth-last-of-type(2) ul.knowledge-side-list li::after {
  content: none;
}

.knowledge-hero,
.knowledge-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.knowledge-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.knowledge-hero p {
  max-width: 840px;
  color: var(--muted);
  font-size: 19px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.case-grid {
  display: grid;
  gap: 20px;
}

.case-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--steel);
}

.case-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.case-card dl {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
}

.case-card dl div {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.case-card dt {
  color: var(--blue-dark);
  font-weight: 700;
}

.case-card dd {
  margin: 0;
  color: var(--muted);
}

.knowledge-side {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 100px;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}

.knowledge-side section {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.knowledge-side h2 {
  margin: 0;
  font-size: 22px;
}

.knowledge-side a:not(.button) {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--blue-dark);
  font-weight: 700;
}

.knowledge-side p {
  color: var(--muted);
}

.knowledge-side.knowledge-article-sidebar a:not(.button) {
  color: var(--amber);
}

.knowledge-side.knowledge-article-sidebar .knowledge-side-list a,
.knowledge-side.knowledge-article-sidebar > section > a,
.knowledge-side.knowledge-article-sidebar > section > span,
.knowledge-side.knowledge-article-sidebar .knowledge-side-list span {
  border-top: 1px solid #e6edf4;
  padding: 9px 0 0;
  font-size: 13px;
  line-height: 1.3;
}

.knowledge-side.knowledge-article-sidebar .knowledge-side-list a,
.knowledge-side.knowledge-article-sidebar > section > a {
  color: var(--amber);
  font-weight: 800;
}

.knowledge-side.knowledge-article-sidebar > section > span,
.knowledge-side.knowledge-article-sidebar .knowledge-side-list span {
  display: block;
  color: var(--muted);
}

@media (max-width: 900px) {
  .knowledge-table-wrap {
    overflow-x: auto;
  }

  .knowledge-table {
    min-width: 680px;
    table-layout: auto;
  }
}

.kjellberg {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f9fb;
}

.kjellberg p {
  max-width: 760px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 44px;
}

.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: #334150;
}

.contact-details a {
  font-weight: 700;
  color: var(--blue-dark);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #415064;
  font-size: 14px;
  font-weight: 700;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d2df;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.admin-hero,
.admin-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.admin-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.admin-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 19px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.admin-form,
.admin-preview {
  display: grid;
  gap: 20px;
}

.admin-form section,
.admin-preview section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.admin-form section > p,
.admin-preview p {
  color: var(--muted);
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-field-grid label {
  display: grid;
  gap: 7px;
  color: #415064;
  font-size: 14px;
  font-weight: 700;
}

.admin-field-grid .full {
  grid-column: 1 / -1;
}

.admin-checkbox-block {
  margin-top: 18px;
}

.admin-checkbox-block h3 {
  font-size: 18px;
}

.admin-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-checks label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  color: #344151;
  background: #fbfcfd;
}

.admin-checks input {
  width: auto;
  margin-top: 2px;
}

.admin-preview {
  position: sticky;
  top: 98px;
}

.admin-validation {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-validation li {
  border-left: 3px solid var(--amber);
  padding: 8px 10px;
  background: var(--soft);
}

.admin-validation li.ok {
  border-left-color: var(--blue-dark);
}

.admin-validation li.warn {
  color: #6c4b20;
}

#csv-output {
  min-height: 190px;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: #26313d;
  color: #dbe4ef;
  font-size: 14px;
}

.site-footer a {
  color: #dbe4ef;
}

.catalog-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 24px 36px;
}

.catalog-hero > div {
  max-width: 840px;
}

.catalog-hero h1 {
  margin-bottom: 18px;
}

.catalog-hero p {
  color: var(--muted);
  font-size: 19px;
}

.catalog-map,
.material-section,
.catalog-note {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.catalog-map {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.catalog-map article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.category-list {
  display: grid;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.category-list a.active {
  color: var(--blue-dark);
  font-weight: 700;
}

.category-list span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chips a {
  border: 1px solid #c8d2df;
  border-radius: 999px;
  padding: 10px 13px;
  background: #ffffff;
}

.category-chips a:hover,
.category-list a:hover {
  color: var(--blue-dark);
}

.material-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.material-toolbar button {
  border: 1px solid #c8d2df;
  border-radius: 999px;
  padding: 10px 13px;
  color: #334150;
  background: #ffffff;
  font: inherit;
  cursor: default;
}

.material-toolbar button.active {
  border-color: var(--blue-dark);
  color: #ffffff;
  background: var(--blue-dark);
}

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

.material-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.material-card[hidden],
.catalog-material-group[hidden] {
  display: none;
}

.material-type {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.material-card h3 {
  margin: 0;
  font-size: 24px;
}

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

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.material-tags span {
  border-radius: 999px;
  padding: 6px 8px;
  color: #4b5868;
  font-size: 12px;
  background: var(--soft);
}

.material-tags a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.material-tags a:hover {
  color: var(--blue-dark);
}

.material-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.material-actions a {
  color: var(--blue-dark);
  font-weight: 700;
}

.material-actions a:first-child {
  color: var(--amber);
}

.catalog-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f9fb;
}

.catalog-note p {
  max-width: 760px;
  color: var(--muted);
}

.material-hero,
.material-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.material-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 32px;
  align-items: start;
  padding-top: clamp(54px, 8vw, 88px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-weight: 700;
}

.material-hero-copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 19px;
}

.material-title {
  max-width: 820px;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.04;
  overflow-wrap: normal;
}

.material-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.material-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 49, 62, 0.08);
}

.material-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.material-summary dl div {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.material-summary dt {
  color: var(--muted);
}

.material-summary dd {
  margin: 0;
  font-weight: 700;
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 28px;
}

.material-content,
.material-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.material-content section,
.material-side section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.material-content p,
.material-side p {
  color: var(--muted);
}

.clean-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
  color: #445365;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.clean-list.compact li {
  color: var(--ink);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.use-grid div {
  border-left: 3px solid var(--amber);
  padding-left: 14px;
}

.use-grid h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.use-grid p {
  margin: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

.data-table th {
  color: #ffffff;
  background: var(--blue-dark);
}

.data-table tr:nth-child(odd) td {
  background: var(--soft);
}

.applications-hero,
.applications-map {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.applications-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.applications-hero > div {
  max-width: 900px;
}

.applications-hero p {
  color: var(--muted);
  font-size: 19px;
}

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

.applications-map article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.application-grid {
  display: grid;
  gap: 12px;
}

.application-grid a {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 14px 0 2px;
}

.application-grid strong {
  color: var(--ink);
  font-size: 17px;
}

.application-grid span {
  color: var(--muted);
}

.application-grid a:hover strong {
  color: var(--blue-dark);
}

.application-grid a.active {
  border-left: 4px solid var(--amber);
  padding-left: 12px;
  background: #f7f9fb;
}

.application-grid a.active strong {
  color: var(--blue-dark);
}

.materials-by-use {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

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

.related-material-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.related-material-card > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.related-material-card h3 {
  margin: 0;
}

.related-material-card p {
  color: var(--muted);
}

.related-material-card a {
  color: var(--blue-dark);
  font-weight: 700;
}

.application-detail-hero,
.application-detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.application-detail-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.application-detail-hero p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
}

.application-detail-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}

.application-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 28px;
}

.application-detail-content,
.application-detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.application-detail-content section,
.application-detail-side section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.application-detail-content h2,
.application-detail-side h2,
.material-content h2,
.material-side h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.application-detail-content p,
.application-detail-side p {
  color: var(--muted);
}

.warning-grid {
  display: grid;
  gap: 14px;
}

.warning-grid div {
  border-left: 3px solid var(--amber);
  padding: 2px 0 2px 14px;
}

.warning-grid h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.warning-grid p {
  margin: 0;
}

.related-materials {
  display: grid;
}

.related-materials a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.related-materials strong {
  color: var(--blue-dark);
}

.related-materials span {
  color: var(--muted);
}

.contacts-hero,
.contacts-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.contacts-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.contacts-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 19px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.44fr);
  gap: 28px;
}

.contacts-list,
.contacts-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

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

.office-card {
  display: grid;
  gap: 6px;
  align-content: start;
  border-left: 3px solid var(--amber);
  padding: 12px 0 12px 14px;
  background: #fbfcfd;
}

.office-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

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

.office-card a {
  color: var(--blue-dark);
  font-weight: 700;
}

.contacts-aside {
  align-self: start;
}

.contacts-aside p {
  color: var(--muted);
}

.compact-form {
  grid-template-columns: 1fr;
  border: 0;
  padding: 0;
}

.contacts-note {
  margin-top: 18px;
  font-size: 14px;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.consent-line input {
  width: auto;
  margin-top: 4px;
}

.consent-line a {
  color: var(--blue);
  font-weight: 700;
}

.contact-form .consent-line {
  display: flex;
}

.techlists-hero,
.techlists-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.legal-page {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.legal-page .content-card {
  padding: 28px;
}

.legal-page h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
}

.material-wide-card {
  max-width: 1180px;
  margin: 0 auto 28px;
}

.mode-list {
  columns: 2;
  color: var(--muted);
}

.techlists-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.techlists-hero p {
  max-width: 880px;
  color: var(--muted);
  font-size: 19px;
}

.techlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.techlist-search {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-bottom: 22px;
}

.techlist-search label {
  color: var(--ink);
  font-weight: 700;
}

.techlist-search p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.techlist-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.techlist-card[hidden] {
  display: none;
}

.techlist-card h2 {
  margin: 0;
  font-size: 22px;
}

.techlist-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.techlist-card > a,
.techlist-actions a {
  color: var(--blue-dark);
  font-weight: 700;
}

.techlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.no-results {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: #ffffff;
}

.kjellberg-hero,
.kjellberg-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.kjellberg-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.kjellberg-hero p {
  max-width: 880px;
  color: var(--muted);
  font-size: 19px;
}

.kjellberg-groups {
  display: grid;
  gap: 28px;
}

.kjellberg-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.kjellberg-group[hidden],
.kjellberg-card[hidden] {
  display: none;
}

.kjellberg-group h2 {
  max-width: 860px;
}

.kjellberg-material-grid,
.kjellberg-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.kjellberg-card,
.kjellberg-feature-card {
  display: grid;
  gap: 8px;
  align-content: start;
  border-left: 3px solid var(--amber);
  padding: 14px;
  background: #fbfcfd;
}

.kjellberg-card a {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.kjellberg-card h3,
.kjellberg-feature-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
}

.kjellberg-card p,
.kjellberg-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.kjellberg-card span {
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 14px;
}

.practice-home-grid,
.practice-grid,
.practice-linked-list {
  display: grid;
  gap: 18px;
}

.practice-home-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.practice-home-card,
.practice-card,
.practice-linked-card,
.knowledge-side-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.practice-home-card h3,
.practice-card h3,
.practice-linked-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
}

.practice-home-card p,
.practice-card p,
.practice-linked-card p,
.practice-detail-content p,
.knowledge-side-card p {
  margin: 0;
  color: var(--muted);
}

.practice-card-meta {
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.practice-home-facts,
.practice-facts {
  display: grid;
  gap: 9px;
  margin: 0;
}

.practice-home-facts div,
.practice-facts div {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.practice-home-facts dt,
.practice-facts dt {
  color: var(--blue-dark);
  font-weight: 700;
}

.practice-home-facts dd,
.practice-facts dd {
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: var(--amber);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue-dark);
}

.practice-hero,
.practice-section,
.practice-detail-hero,
.practice-detail-layout,
.material-practice-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.practice-hero,
.practice-detail-hero {
  padding-top: clamp(54px, 8vw, 88px);
}

.practice-hero-inner,
.practice-detail-heading {
  max-width: 920px;
}

.practice-hero p,
.practice-detail-heading p {
  color: var(--muted);
  font-size: 19px;
}

.practice-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.practice-topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.practice-topic-chip:hover,
.practice-topic-chip.is-active {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.practice-filter-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}

.practice-filter-heading p {
  margin: 0;
  color: var(--muted);
}

.practice-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.practice-filters label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.practice-filters select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--soft);
}

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

.practice-card[hidden] {
  display: none;
}

.practice-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.practice-card:hover {
  border-color: rgba(9, 75, 132, .35);
  box-shadow: 0 16px 34px rgba(9, 75, 132, .10);
  transform: translateY(-2px);
}

.practice-card-body {
  display: grid;
  gap: 12px;
}

.practice-card-title-link {
  color: inherit;
  text-decoration: none;
}

.practice-card-title-link:hover {
  color: var(--amber);
}

.practice-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: #ffffff;
}

.practice-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.practice-detail-content {
  display: grid;
  gap: 18px;
}

.practice-text-section {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.practice-text-section h2 {
  margin: 0;
  color: var(--blue-dark);
}

.practice-detail-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 98px;
}

.practice-linked-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practice-related-section {
  padding-top: 8px;
}

@media (max-width: 980px) {
  main [id] {
    scroll-margin-top: 174px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .support,
  .contact-section,
  .catalog-map,
  .catalog-note,
  .material-hero,
  .material-layout,
  .practice-detail-layout,
  .applications-map,
  .application-detail-layout,
  .contacts-layout,
  .knowledge-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-side,
  .practice-detail-side,
  .admin-preview {
    position: static;
  }

  .solution-path-grid,
  .updates-grid,
  .practice-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-filters,
  .practice-grid,
  .practice-linked-list {
    grid-template-columns: 1fr;
  }

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

  .case-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

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

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

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

  .kjellberg-material-grid,
  .kjellberg-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  main [id] {
    scroll-margin-top: 226px;
  }

  .knowledge-diagram-grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 10px 16px 12px;
  }

  .brand {
    width: 118px;
  }

  .main-nav {
    grid-column: auto;
    gap: 8px;
    margin: 0 -16px;
    padding: 2px 16px 8px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 10px;
    background: #ffffff;
  }

  .header-contact {
    justify-self: stretch;
    text-align: center;
    font-size: 13px;
  }

  .hero-inner,
  .section,
  .kjellberg,
  .contact-section,
  .catalog-hero,
  .catalog-map,
  .material-section,
  .catalog-note,
  .material-hero,
  .material-layout,
  .applications-hero,
  .applications-map,
  .materials-by-use,
  .application-detail-hero,
  .application-detail-layout,
  .contacts-hero,
  .contacts-layout,
  .techlists-hero,
  .techlists-section,
  .practice-hero,
  .practice-section,
  .practice-detail-hero,
  .practice-detail-layout,
  .material-practice-section,
  .knowledge-hero,
  .knowledge-layout,
  .admin-hero,
  .admin-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  h1,
  .material-title,
  .application-detail-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 25px;
  }

  .hero-text,
  .section-head p,
  .catalog-hero p,
  .material-hero-copy p,
  .applications-hero p,
  .application-detail-hero p,
  .contacts-hero p,
  .techlists-hero p,
  .knowledge-hero p,
  .kjellberg-hero p {
    font-size: 16px;
  }

  .catalog-grid,
  .split-grid,
    .solution-path-grid,
    .knowledge-system-grid,
    .updates-grid,
    .document-card,
    .kjellberg,
    .contact-form,
    .material-grid,
    .office-grid,
    .techlist-grid,
    .knowledge-feature-grid,
    .case-card,
    .practice-home-grid,
    .practice-grid,
    .practice-linked-list,
    .related-material-grid,
    .admin-field-grid,
    .admin-checks,
    .kjellberg-material-grid,
    .kjellberg-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .catalog-column,
  .solution-path-card,
  .knowledge-system-column,
  .updates-grid article,
  .catalog-map article,
  .material-card,
  .related-material-card,
  .material-summary,
  .material-content section,
  .material-side section,
  .application-detail-content section,
  .application-detail-side section,
  .applications-map article,
  .contacts-list,
  .contacts-aside,
  .techlist-card,
  .practice-home-card,
  .practice-card,
  .practice-linked-card,
  .practice-text-section,
  .knowledge-side-card,
  .kjellberg-group,
  .knowledge-side section,
  .case-card-body {
    padding: 16px;
  }

  .hero-stat strong {
    font-size: 42px;
  }

  .material-card h3,
  .techlist-card h2 {
    font-size: 21px;
  }

  .case-card {
    overflow: visible;
  }

  .case-card img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .catalog-column {
    padding: 18px;
  }

  .catalog-column a {
    display: grid;
    gap: 4px;
  }

  .category-list a {
    display: grid;
    gap: 4px;
  }

  .hero-actions .button,
  .material-hero-actions .button,
  .document-card .button,
  .kjellberg .button,
  .catalog-note .button,
  .contact-form button,
  .header-contact {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .pill-list a,
  .pill-list span,
  .category-chips a,
  .material-toolbar button {
    padding: 9px 11px;
    font-size: 14px;
  }

  .material-summary dl div,
  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mode-list {
    columns: 1;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .contact-form .consent-line {
    display: flex;
    align-items: flex-start;
  }

  .site-footer {
    display: grid;
    gap: 10px;
    padding: 20px 16px;
    font-size: 13px;
  }

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

@media (max-width: 420px) {
  h1,
  .material-title,
  .application-detail-hero h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 23px;
  }

  .hero-actions,
  .material-hero-actions {
    margin-top: 22px;
  }

  .material-tags span {
    font-size: 11px;
  }
}
