@font-face {
  font-family: "Acherus Grotesque";
  src: url("fonts/acherus-grotesque-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Acherus Grotesque";
  src: url("fonts/acherus-grotesque-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #333333;
  --muted: #666762;
  --line: #c9cbc5;
  --soft-line: #e5e6e1;
  --paper: #ffffff;
  --surface: #f5f6f3;
  --surface-strong: #eceee9;
  --green: #4e9724;
  --green-dark: #2f6f19;
  --green-soft: #e8f2df;
  --blue: #164fcc;
  --warning: #9f3c29;
  --content-width: 2200px;
  font-family: "Acherus Grotesque", Geneva, Verdana, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

a {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #0b368f;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 60px;
  padding: 9px clamp(14px, 2.2vw, 28px);
  border-bottom: 1px solid var(--soft-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo img {
  width: 139px;
  height: auto;
}

.archive-label {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.archive-label strong {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 600;
}

.breadcrumbs {
  width: min(var(--content-width), calc(100% - 56px));
  margin: 0 auto;
  padding: 10px 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777872;
  font-size: 14px;
}

.product-layout {
  width: min(var(--content-width), calc(100% - 56px));
  margin: 10px auto 80px;
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: start;
  border-radius: 20px 0 0;
  background: var(--surface);
}

.product-visual {
  min-width: 0;
  height: auto;
  min-height: 0;
  position: static;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  border-radius: 20px 0 0;
  background: white;
}

.product-image {
  aspect-ratio: 428 / 406;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9eae5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  color: var(--muted);
}

.product-caption {
  min-height: 174px;
  padding: 28px;
  background: #272727;
  color: white;
  display: flex;
  flex-direction: column;
  align-content: start;
}

.product-caption h1 {
  max-width: 320px;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 40px;
}

.product-caption p {
  margin: 0;
}

.product-caption .manufacturer {
  margin-top: 14px;
  font-weight: 400;
}

.caption-description {
  margin-top: 28px !important;
  display: block;
  overflow: visible;
  line-height: 20px;
}

.product-main {
  min-width: 0;
  background: #f6f6f7;
}

.product-summary {
  padding: 28px 14px 20px;
}

.identity-list {
  margin: 0;
}

.identity-list > div {
  min-height: 28px;
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 28px;
}

.identity-list dt {
  font-weight: 700;
}

.identity-list dd {
  min-width: 0;
  margin: 0;
}

.content-shell {
  width: 100%;
  margin: 0;
}

.content-section {
  padding: 0 14px;
  background: #f6f6f7;
}

.accordion-header {
  min-height: 62px;
  padding: 21px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-weight: 700;
}

.accordion-header h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.accordion-content {
  padding: 14px;
  border-bottom: 1px solid #000;
}

.unit-toggle {
  width: 54px;
  height: 26px;
  margin: 0 0 14px auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  background: #c8c8c8;
}

.unit-toggle span {
  width: 26px;
  height: 26px;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  font-size: 13px;
  font-weight: 700;
}

.filter-score-list {
  width: 100%;
}

.filter-score-row {
  min-height: 34px;
  display: grid;
  grid-template-columns: 259px minmax(80px, 1fr) 118px;
  align-items: center;
  gap: 0;
}

.filter-score-name {
  padding-right: 7px;
  padding-left: 10.5px;
}

.filter-score-track {
  height: 34px;
  padding-left: 10.5px;
  border-left: 3px solid #827e7e;
  position: relative;
  display: flex;
  align-items: center;
}

.filter-score-track::before {
  height: 3px;
  position: absolute;
  right: 0;
  left: 10.5px;
  background: #827e7e;
  content: "";
}

.filter-score-track > span {
  max-width: calc(100% - 10.5px);
  height: 24px;
  position: relative;
  z-index: 1;
  display: block;
  background: #545454;
}

.filter-score-value {
  height: 25px;
  margin-right: 7px;
  margin-left: 10.5px;
  border: 2px solid #545454;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.filter-score-row--carbon .filter-score-track > span {
  background: #c1282f;
}

.filter-score-row--carbon .filter-score-value {
  border-color: #c1282f;
}

.reset-controls {
  min-height: 44px;
  display: grid;
  grid-template-columns: 175px minmax(220px, 1fr) 54px;
  align-items: center;
  gap: 7px;
}

.reset-controls .unit-toggle {
  margin: 0;
}

.reset-filter-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  background: #fafafa;
  color: var(--ink);
  font: inherit;
}

.reset-selected-title {
  margin: 28px 0 14px;
  font-size: 14px;
  line-height: 20px;
}

.reset-filter-panel[hidden] {
  display: none;
}

.reset-detail-note {
  margin: 14px 0;
  color: #818285;
}

.reset-score-ring {
  --score: 0;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  padding: 23px;
  border-radius: 50%;
  background: conic-gradient(#009900 calc(var(--score) * 1%), #333 0);
}

.reset-score-ring > div {
  width: 100%;
  height: 100%;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #c8c8c8;
}

.reset-score-ring strong {
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
}

.reset-score-ring span {
  font-size: 16px;
}

.reset-components {
  display: grid;
  gap: 12px;
}

.reset-component__name {
  display: block;
  margin-bottom: 5px;
}

.reset-component__line {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) 66px;
  align-items: center;
  gap: 14px;
}

.reset-component__track {
  height: 28px;
  border-radius: 14px;
  position: relative;
  background: #c8c8c8;
}

.reset-component__track > span {
  height: 100%;
  border-radius: 14px 0 0 14px;
  display: block;
  background: #666;
}

.reset-component__track b {
  min-width: 27px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #666;
  border-radius: 14px;
  position: absolute;
  top: 4px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  background: white;
  font-weight: 400;
}

.reset-component--carbon .reset-component__track > span {
  background: #c26771;
}

.reset-component--carbon .reset-component__track b {
  border-color: #c26771;
}

.reset-component--circularity .reset-component__track > span {
  background: #785391;
}

.reset-component--circularity .reset-component__track b {
  border-color: #785391;
}

.reset-component--health .reset-component__track > span {
  background: #4b4f82;
}

.reset-component--health .reset-component__track b {
  border-color: #4b4f82;
}

.reset-component__max {
  color: #818285;
}

.reset-total-line {
  margin: 12px 66px 0 0;
  display: flex;
  justify-content: space-between;
}

.performance-metrics {
  margin-top: 28px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 14px;
}

.compliance-table {
  min-width: 620px;
  border: 1px solid #ccc;
}

.compliance-table th,
.compliance-table td {
  width: 50%;
  padding: 7px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

.compliance-table th {
  background: #827e7e;
  color: white;
  font-weight: 700;
}

.compliance-table tr:last-child td {
  border-bottom: 0;
}

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

.compliance-programs li {
  min-height: 25px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.compliance-programs img {
  width: 25px;
  height: 25px;
  flex: none;
  object-fit: contain;
  vertical-align: text-top;
}

.historical {
  color: #8b0000;
  font-weight: 700;
}

.feature-list {
  margin: 0;
}

.feature-row {
  display: flex;
  align-items: flex-start;
}

.feature-row dt,
.certification-values dt {
  width: 175px;
  margin-right: 7px;
  flex: none;
  color: #818285;
  font-weight: 400;
}

.feature-row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.value-line {
  display: block;
}

.feature-row--muted-link a {
  color: #827e7e;
  text-decoration: none;
}

.content-subheading {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 20px;
}

.certification-record {
  margin-bottom: 21px;
  padding-top: 7px;
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
}

.certification-logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.certification-values {
  margin: 0;
}

.certification-values > div {
  display: flex;
  align-items: flex-start;
}

.certification-values dd {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.source-indicator {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border: 1px solid #14a085;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #14a085;
  line-height: 18px;
  vertical-align: middle;
}

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

.ingredient-group-title {
  margin: 14px 0 7px;
  font-size: 14px;
}

.origin-data-table {
  min-width: 620px;
  border: 1px solid #ccc;
}

.origin-data-table th,
.origin-data-table td {
  padding: 7px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

.origin-data-table thead th {
  background: #827e7e;
  color: white;
}

.origin-data-table tbody th {
  font-weight: 400;
}

.document-tabs {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.document-tabs button {
  min-height: 42px;
  padding: 7px 15px;
  border: 1px solid #8c8888;
  border-right: 0;
  background: #fff;
  color: #8a8a8c;
  font: inherit;
  cursor: pointer;
}

.document-tabs button:last-child {
  border-right: 1px solid #8c8888;
}

.document-tabs button:not(:disabled):hover,
.document-tabs button.is-active {
  color: #064fc5;
}

.document-tabs button.is-active {
  background: #f7f7f7;
  font-weight: 600;
}

.document-tabs button:disabled {
  color: #aaa;
  cursor: default;
}

.document-table {
  min-width: 520px;
  border-top: 1px solid #ccc;
}

.document-table th,
.document-table td {
  padding: 8px 7px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

.document-table th:last-child,
.document-table td:last-child {
  width: 140px;
}

.document-table small {
  margin-top: 2px;
  display: block;
  color: #818285;
}

.tag-words {
  margin: 0;
}

.empty-state {
  margin: 0;
  padding: 24px;
  background: var(--surface);
  color: var(--muted);
}

.site-footer {
  padding: 36px clamp(22px, 3.4vw, 68px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: #272727;
  color: #d9dad6;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.archive-index {
  min-height: 100vh;
  background: #f7f7f8;
}

.archive-index__main {
  width: min(1560px, calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 80px;
}

.materials-heading {
  min-height: 70px;
  margin-bottom: 22px;
  padding: 14px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: #354d63;
  color: white;
}

.materials-heading h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
}

.materials-heading .eyebrow {
  margin: 0 0 2px;
  color: #dbe4ea;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.materials-heading > p {
  margin: 0 0 3px;
  color: #eef2f4;
}

.materials-toolbar {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto minmax(220px, 440px) 1fr;
  align-items: center;
  gap: 12px;
}

.materials-toolbar label {
  font-weight: 700;
}

.materials-toolbar input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #aaa9a7;
  border-radius: 2px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.materials-toolbar input:focus {
  border-color: #354d63;
  outline: 2px solid #9dafbd;
  outline-offset: 1px;
}

.materials-toolbar > p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.materials-empty {
  margin: 48px 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.materials-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
  list-style: none;
}

.material-card {
  min-width: 0;
}

.material-card > a {
  height: 100%;
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.material-card__image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dedfdd;
  background: #eeefec;
}

.material-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease-out;
}

.material-card__placeholder {
  color: var(--muted);
  font-size: 12px;
}

.material-card__body {
  padding: 8px 1px 0;
  display: flex;
  flex-direction: column;
}

.material-card__body strong {
  min-height: 40px;
  color: #111111;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.material-card__brand,
.material-card__company {
  color: #8a8989;
}

.material-card__company {
  display: flex;
  align-items: center;
  gap: 5px;
}

.material-card__company i {
  width: 20px;
  height: 20px;
  border: 1px solid #b29a50;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #b29a50;
  font-size: 11px;
  font-style: normal;
}

.material-card__id {
  margin-top: 5px;
  color: #a0a09e;
  font-size: 11px;
}

.material-card > a:hover .material-card__image img {
  transform: scale(1.025);
}

.material-card > a:hover strong,
.material-card > a:focus-visible strong {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 1200px) {
  .materials-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .archive-index__main {
    width: min(100% - 28px, 1560px);
  }

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

@media (max-width: 620px) {
  .materials-heading {
    min-height: 64px;
    padding: 12px 14px;
  }

  .materials-heading > p {
    font-size: 12px;
  }

  .materials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .materials-toolbar {
    grid-template-columns: 1fr auto;
  }

  .materials-toolbar label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .breadcrumbs,
  .product-layout {
    width: min(100% - 28px, var(--content-width));
  }

  .breadcrumbs {
    padding-bottom: 24px;
  }

  .product-layout {
    margin-top: 0;
    grid-template-columns: 1fr;
    border-radius: 20px 20px 0 0;
  }

  .product-visual {
    height: auto;
    min-height: 0;
    position: static;
    grid-template-rows: auto auto;
    border-radius: 20px 20px 0 0;
  }

  .product-image {
    aspect-ratio: 1.05;
    min-height: 0;
  }

  .product-caption {
    min-height: 230px;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 60px;
  }

  .site-logo img {
    width: 139px;
  }

  .archive-label span {
    display: none;
  }

  .identity-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .filter-score-row {
    grid-template-columns: minmax(108px, 38%) minmax(42px, 1fr) 62px;
    gap: 5px;
  }

  .filter-score-name {
    padding-right: 5px;
    padding-left: 0;
  }

  .filter-score-track {
    padding-left: 5px;
  }

  .filter-score-track::before {
    left: 5px;
  }

  .filter-score-track > span {
    max-width: calc(100% - 5px);
  }

  .filter-score-value {
    margin-right: 0;
    margin-left: 0;
  }

  .reset-controls {
    grid-template-columns: 1fr 54px;
  }

  .reset-controls > label {
    grid-column: 1;
  }

  .reset-controls .unit-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .reset-filter-select {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 470px) {
  .archive-label strong {
    display: none;
  }

  .content-section {
    padding: 0 8px;
  }

  .accordion-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .accordion-content {
    padding: 10px;
  }

  .filter-score-row {
    min-height: 36px;
  }

  .filter-score-name {
    font-size: 13px;
    line-height: 16px;
  }

  .filter-score-value {
    font-size: 13px;
  }

  .reset-score-ring {
    width: 180px;
    height: 180px;
    padding: 21px;
  }

  .reset-score-ring strong {
    font-size: 34px;
  }

  .reset-component__line {
    grid-template-columns: minmax(80px, 1fr) 42px;
    gap: 8px;
  }

  .reset-total-line {
    margin-right: 42px;
  }

  .feature-row dt,
  .certification-values dt {
    width: 112px;
  }

  .certification-record {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
  }

  .certification-logo img {
    width: 62px;
    height: 62px;
  }

  .source-indicator {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .certification-record {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 6px;
  }

  .certification-logo img {
    width: 52px;
    height: 52px;
  }

  .certification-values > div {
    margin-bottom: 4px;
    display: block;
  }

  .certification-values dt {
    width: auto;
    margin-right: 0;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs {
    display: none;
  }

  .product-layout {
    width: 100%;
    border: 0;
  }

  .product-visual {
    height: auto;
    min-height: 0;
    position: static;
  }

  .content-section {
    break-inside: avoid;
  }

  a {
    color: inherit;
  }
}

/* Origin library additions keep the Steelcase layout while preserving fields
   that do not have a Steelcase-native slot. */
.captured-section-record,
.captured-contact {
  margin: 0 0 21px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.captured-section-record:last-child,
.captured-contact:last-child {
  margin-bottom: 0;
}

.captured-section-record h3,
.captured-contact h3 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 20px;
}

.captured-section-record p,
.captured-contact p {
  margin: 0;
  white-space: pre-line;
}

.captured-field-list + .captured-section-record,
.captured-contacts,
.captured-gallery,
.capture-provenance {
  margin-top: 21px;
}

.captured-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.captured-gallery figure {
  margin: 0;
}

.captured-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--soft-line);
  background: var(--paper);
  object-fit: contain;
}

.captured-gallery figcaption,
.capture-provenance {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
