.industry-index-page {
  --trade-rail: clamp(17.5rem, 22.1vw, 24rem);
  --trade-green: #071d20;
  --trade-paper: #ffffff;
  --trade-ink: #071d20;
  --trade-muted: #435759;
  --trade-focus: #406e7a;
  --trade-hover: #f0dcc8;
  --trade-line: rgb(7 29 32 / 16%);
  background: linear-gradient(90deg, var(--trade-green) 0 var(--trade-rail), var(--trade-paper) var(--trade-rail) 100%);
}

.industry-index-page .site-header {
  background: var(--black);
}

.trade-layout {
  display: grid;
  grid-template-columns: var(--trade-rail) minmax(0, 1fr);
  align-items: stretch;
}

.trade-sidebar {
  min-width: 0;
  padding: 4.5rem clamp(1.25rem, 3.13vw, 3rem) 5rem;
  color: var(--ink);
}

.trade-sidebar-inner {
  position: sticky;
  top: 7.5rem;
  max-height: calc(100svh - 9rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--mist) var(--trade-green);
}

.trade-index-heading {
  margin: 0;
  font: 500 clamp(2rem, 2.7vw, 3rem)/1 var(--serif);
  letter-spacing: -.035em;
}

.trade-introduction {
  max-width: 25ch;
  margin: 1.5rem 0 0;
  color: var(--mist);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.55;
}

.trade-nav {
  margin-top: 2.5rem;
}

.trade-index > summary {
  display: none;
}

.trade-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trade-index a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: .6rem 0 .6rem 1rem;
  border-inline-start: 1px solid transparent;
  color: var(--mist);
  font-size: clamp(.82rem, 1.05vw, 1rem);
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: .25em;
}

.trade-index a[aria-current] {
  border-inline-start-color: var(--clay);
  color: var(--ink);
}

.trade-index a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.trade-index a:focus-visible {
  outline-offset: -2px;
}

.trade-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 50px;
  margin-top: 3rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: var(--clay);
  color: var(--trade-ink);
  font: 600 .78rem/1.4 var(--sans);
  text-decoration: none;
  text-underline-offset: .25em;
  transition: background-color .2s;
}

.trade-contact:hover {
  background: var(--trade-hover);
  text-decoration: underline;
}

.trade-contact svg,
.trade-index summary svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.trade-catalogue {
  container: trade-content / inline-size;
  min-width: 0;
  padding: 2rem 2.3vw 5rem 2.4vw;
  background: var(--trade-paper);
  color: var(--trade-ink);
}

.trade-selection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem 2rem;
}

@container trade-content (min-width: 38rem) {
  .trade-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trade-entry {
  min-width: 0;
  scroll-margin-top: 6.5rem;
}

.trade-sector-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.trade-entry:focus-visible {
  outline: 2px solid var(--trade-focus);
  outline-offset: 6px;
}

.trade-sector-link:focus-visible {
  outline: 2px solid var(--trade-ink);
  outline-offset: 6px;
}

.trade-entry picture,
.trade-image {
  display: block;
}

.trade-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 12px;
  transition: filter .2s;
}

.trade-entry--verwarming-koeling .trade-image {
  object-position: 72% center;
}

.trade-sector-link:hover .trade-image {
  filter: brightness(.96);
}

.trade-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 1.125rem;
}

.trade-entry h2 {
  margin: 0;
  font: 600 clamp(1.25rem, 1.5vw, 1.625rem)/1.3 var(--sans);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.trade-entry p {
  max-width: 48ch;
  margin: .5rem 0 0;
  color: var(--trade-muted);
  font-size: .9375rem;
  line-height: 1.6;
}

.trade-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.trade-card-action svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.trade-catalogue ::selection {
  background: var(--trade-ink);
  color: var(--trade-paper);
}

.trade-catalogue a:focus-visible {
  outline-color: var(--trade-ink);
}

.trade-outro {
  margin-top: 4rem;
}

.trade-selection-grid > .trade-outro {
  align-self: center;
  margin-top: 0;
  padding: 2rem clamp(0rem, 1.5vw, 1.5rem);
}

.trade-outro h2 {
  max-width: 22ch;
  margin: 0 0 .75rem;
  font: 500 clamp(2rem, 3.2vw, 3.25rem)/1.08 var(--serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.trade-outro p {
  max-width: 48ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.trade-outro .trade-contact {
  width: fit-content;
  margin-top: 1.5rem;
  gap: 2.5rem;
}

.trade-image-note {
  max-width: 65ch;
  margin: 2rem 0 0;
  color: var(--trade-muted);
  font-size: .8125rem;
  line-height: 1.6;
}

.trade-detail {
  padding-top: 4.5rem;
}

.trade-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--trade-muted);
  font-size: .875rem;
  text-underline-offset: .3em;
}

.trade-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--trade-muted);
  font-size: .875rem;
}

.sector-intro {
  max-width: 48rem;
  margin: 1.5rem 0 3rem;
}

.sector-intro h1 {
  margin: 0;
  font: 500 clamp(2.5rem, 4vw, 4.5rem)/1.08 var(--serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.sector-intro > p,
.sector-body p {
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
}

.sector-intro > p {
  margin: 1.5rem 0 0;
}

.sector-intro .trade-contact {
  width: fit-content;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.trade-detail > picture .trade-image {
  aspect-ratio: 1.8;
}

.sector-body {
  max-width: 52rem;
}

.sector-section {
  margin-top: 3.5rem;
}

.sector-section h2 {
  max-width: 28ch;
  margin: 0 0 1rem;
  font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.3 var(--sans);
  letter-spacing: -.025em;
}

.sector-questions,
.sector-steps {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.sector-questions li {
  padding: .35rem 0 .35rem .25rem;
}

.sector-steps li {
  padding: 1.25rem 0 1.25rem .25rem;
  border-top: 1px solid var(--trade-line);
}

.sector-steps h3 {
  margin: 0 0 .5rem;
  font: 600 1.0625rem/1.4 var(--sans);
}

.sector-steps p {
  margin: 0;
}

@media (max-width: 900px) {
  .industry-index-page {
    background: var(--trade-green);
  }

  .trade-layout {
    display: block;
  }

  .trade-sidebar {
    padding: 3rem 1.5rem 2rem;
  }

  .trade-sidebar-inner {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .trade-index-heading {
    font-size: clamp(2.4rem, 8vw, 3.75rem);
    line-height: 1.06;
    text-wrap: balance;
  }

  .trade-index-heading br {
    display: none;
  }

  .trade-introduction {
    max-width: 36ch;
    margin-top: 1rem;
  }

  .trade-nav {
    margin-top: 1.5rem;
  }

  .trade-index > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 1rem;
    padding: .75rem 0;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }

  .trade-index > summary::-webkit-details-marker {
    display: none;
  }

  .trade-index[open] > summary svg {
    transform: rotate(180deg);
  }

  .trade-index a {
    min-height: 46px;
    padding-block: .75rem;
    font-size: .92rem;
  }

  .trade-contact {
    width: fit-content;
    min-height: 46px;
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .trade-catalogue {
    padding: 1.5rem 1.5rem 3rem;
  }

  .trade-entry h2 {
    font-size: 1.375rem;
  }

  .trade-selection-grid {
    gap: 2.5rem 1.5rem;
  }

  .industry-detail-page .trade-sidebar {
    padding-block: 2rem 1rem;
  }

  .industry-detail-page .trade-index-heading {
    font: 600 1.125rem/1.4 var(--sans);
    letter-spacing: 0;
  }

  .industry-detail-page .trade-introduction,
  .industry-detail-page .trade-sidebar .trade-contact {
    display: none;
  }

  .industry-detail-page .trade-nav {
    margin-top: .5rem;
  }

  .trade-detail {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trade-contact,
  .trade-image {
    transition: none;
  }
}
