.taxonomy-hub,
.taxonomy-detail-hero,
.taxonomy-boundary,
.taxonomy-scope,
.taxonomy-specs,
.taxonomy-gallery,
.taxonomy-rfq,
.taxonomy-faq,
.taxonomy-children,
.taxonomy-cta {
  letter-spacing: 0;
}

.taxonomy-hub {
  padding: 62px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.taxonomy-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.taxonomy-hub-heading h2,
.taxonomy-detail-copy h1,
.taxonomy-cta h2 {
  max-width: 850px;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.taxonomy-hub-heading h2 {
  margin-top: 9px;
  font-size: 3rem;
}

.taxonomy-hub-heading > p,
.taxonomy-lead,
.taxonomy-cta p {
  color: var(--muted);
  line-height: 1.72;
}

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

.taxonomy-route-card {
  display: grid;
  grid-template-columns: minmax(145px, .42fr) minmax(0, .58fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.taxonomy-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 91, 71, .48);
  box-shadow: 0 15px 34px rgba(24, 32, 28, .09);
}

.taxonomy-route-card:focus-visible {
  outline: 3px solid rgba(49, 89, 191, .34);
  outline-offset: 3px;
}

.taxonomy-route-card figure {
  position: relative;
  min-width: 0;
  min-height: 255px;
  margin: 0;
  overflow: hidden;
  background: var(--soft-green);
}

.taxonomy-route-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.taxonomy-route-card:hover figure img {
  transform: scale(1.025);
}

.taxonomy-route-card figure > span {
  position: absolute;
  inset: auto 10px 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .9);
  color: var(--green-dark);
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.3;
}

.taxonomy-route-card > div {
  display: flex;
  min-width: 0;
  padding: 24px;
  flex-direction: column;
}

.taxonomy-route-card small {
  color: var(--orange-dark);
  font-size: .68rem;
  font-weight: 850;
}

.taxonomy-route-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.13;
}

.taxonomy-route-card p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.62;
}

.taxonomy-route-card strong {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-size: .74rem;
}

.taxonomy-detail-hero {
  padding: 24px 0 76px;
  background: var(--surface);
}

.taxonomy-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 62px;
  align-items: center;
  padding-top: 34px;
}

.taxonomy-detail-copy {
  min-width: 0;
}

.taxonomy-detail-copy h1 {
  margin: 12px 0 22px;
  font-size: 3.65rem;
}

.taxonomy-status,
.taxonomy-pending {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(201, 78, 47, .3);
  border-radius: 4px;
  background: var(--soft-orange);
  color: var(--orange-dark);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.35;
}

.taxonomy-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft-green);
}

.taxonomy-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.taxonomy-hero-media figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
  text-align: right;
}

.taxonomy-boundary {
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: var(--ink);
  color: #fff;
}

.taxonomy-boundary .container {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.taxonomy-boundary strong,
.taxonomy-boundary span {
  font-size: .72rem;
  font-weight: 850;
}

.taxonomy-boundary span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .72);
}

.taxonomy-boundary p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .82rem;
  line-height: 1.65;
}

.taxonomy-children {
  background: var(--paper);
}

.taxonomy-focus-grid,
.taxonomy-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.taxonomy-focus-grid article,
.taxonomy-decision-grid article {
  display: flex;
  min-width: 0;
  min-height: 225px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-direction: column;
}

.taxonomy-focus-grid article > span:first-child {
  color: var(--orange-dark);
  font-size: .68rem;
  font-weight: 850;
}

.taxonomy-focus-grid h3,
.taxonomy-decision-grid h3 {
  margin: 40px 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.taxonomy-focus-grid p,
.taxonomy-decision-grid p {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

.taxonomy-focus-grid p,
.taxonomy-decision-grid span {
  margin-top: auto;
  color: var(--orange-dark);
  font-size: .7rem;
  font-weight: 800;
}

.taxonomy-specs {
  background: var(--paper);
}

.taxonomy-specs .spec-table th,
.taxonomy-specs .spec-table td {
  vertical-align: top;
}

.taxonomy-decision-grid {
  margin-top: 22px;
}

.taxonomy-decision-grid article {
  min-height: 205px;
}

.taxonomy-decision-grid h3 {
  margin-top: 0;
}

.taxonomy-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 12px;
}

.taxonomy-gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft-green);
}

.taxonomy-gallery-item-main {
  grid-column: span 2;
  grid-row: span 2;
}

.taxonomy-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.taxonomy-gallery-item figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 750;
}

.taxonomy-rfq {
  background: var(--soft-green);
}

.taxonomy-rfq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.taxonomy-rfq-grid > div {
  position: sticky;
  top: 118px;
}

.taxonomy-rfq-grid h2 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1.08;
}

.taxonomy-rfq-grid > div > p {
  margin-bottom: 26px;
  color: var(--muted);
}

.taxonomy-rfq-grid ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(13, 91, 71, .22);
  list-style: none;
}

.taxonomy-rfq-grid li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(13, 91, 71, .22);
}

.taxonomy-rfq-grid li > span,
.taxonomy-rfq-grid li > em {
  color: var(--orange-dark);
  font-size: .68rem;
  font-style: normal;
  font-weight: 800;
}

.taxonomy-rfq-grid li > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .84rem;
}

.taxonomy-cta {
  padding: 48px 0;
  background: var(--green-dark);
  color: #fff;
}

.taxonomy-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.taxonomy-cta h2 {
  margin: 5px 0 9px;
  font-size: 2.55rem;
}

.taxonomy-cta p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
}

.taxonomy-cta .button {
  background: #fff;
  color: var(--green-dark);
}

[dir="rtl"] .taxonomy-hero-media figcaption {
  text-align: left;
}

[dir="rtl"] .taxonomy-focus-grid,
[dir="rtl"] .taxonomy-decision-grid {
  border-right: 1px solid var(--line);
  border-left: 0;
}

[dir="rtl"] .taxonomy-focus-grid article,
[dir="rtl"] .taxonomy-decision-grid article {
  border-right: 0;
  border-left: 1px solid var(--line);
}

@media (max-width: 1000px) {
  .taxonomy-hub-heading,
  .taxonomy-detail-grid,
  .taxonomy-rfq-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-detail-grid {
    gap: 36px;
  }

  .taxonomy-detail-copy {
    max-width: 760px;
  }

  .taxonomy-rfq-grid {
    gap: 36px;
  }

  .taxonomy-rfq-grid > div {
    position: static;
  }
}

@media (max-width: 760px) {
  .taxonomy-hub {
    padding: 42px 0 48px;
  }

  .taxonomy-hub-heading {
    gap: 20px;
  }

  .taxonomy-hub-heading h2,
  .taxonomy-detail-copy h1 {
    font-size: 2.35rem;
  }

  .taxonomy-route-grid,
  .taxonomy-focus-grid,
  .taxonomy-decision-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-route-card {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .taxonomy-route-card figure {
    min-height: 235px;
  }

  .taxonomy-route-card > div {
    padding: 18px;
  }

  .taxonomy-route-card h3 {
    font-size: 1.22rem;
  }

  .taxonomy-detail-hero {
    padding-bottom: 48px;
  }

  .taxonomy-boundary .container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .taxonomy-boundary span {
    width: fit-content;
  }

  .taxonomy-focus-grid article,
  .taxonomy-decision-grid article {
    min-height: 190px;
  }

  .taxonomy-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .taxonomy-gallery-item-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .taxonomy-gallery-item img {
    aspect-ratio: 1 / 1;
  }

  .taxonomy-gallery-item-main img {
    aspect-ratio: 16 / 10;
  }

  .taxonomy-rfq-grid h2,
  .taxonomy-cta h2 {
    font-size: 2rem;
  }

  .taxonomy-cta .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .taxonomy-cta .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .taxonomy-route-card {
    grid-template-columns: 1fr;
  }

  .taxonomy-route-card figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .taxonomy-gallery-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-gallery-item-main {
    grid-column: auto;
  }

  .taxonomy-rfq-grid li {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px 0;
  }

  .taxonomy-rfq-grid li > em {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taxonomy-route-card,
  .taxonomy-route-card figure img {
    transition: none;
  }
}
