.tm-references {
  --tm-blue: #19477B;
  --tm-navy: #10233B;
  --tm-ink: #1E283E;
  --tm-border: #E2E2E2;
  --tm-muted: #5E6875;
  color: var(--tm-ink);
}

.tm-references__main {
  max-width: 1160px;
  margin: 0 auto 30px;
}

.tm-references__intro {
  padding: 26px 0 28px;
}

.tm-reference-card__type,
.tm-reference-section-label {
  margin: 0 0 7px;
  color: var(--tm-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tm-references h1 {
  margin: 0 0 12px;
  color: var(--tm-navy);
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.1;
}

.tm-references__lead {
  max-width: none;
  margin: 0;
  color: var(--tm-muted);
  font-size: 17px;
  line-height: 1.55;
}

.tm-reference-card {
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(16, 35, 59, .07);
}

.tm-reference-card + .tm-reference-card {
  margin-top: 24px;
}

.tm-reference-card > section,
.tm-reference-card > aside,
.tm-reference-card__header {
  padding: 28px 34px;
}

.tm-reference-card > section + section,
.tm-reference-card > section + aside {
  border-top: 1px solid var(--tm-border);
}

.tm-reference-card__header {
  color: #FFFFFF;
  background: var(--tm-navy);
}

.tm-reference-card__identity {
  margin-bottom: 18px;
}

.tm-reference-card__institution {
  margin: 0 0 4px;
  color: #FFFFFF;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.tm-reference-card__type {
  margin-bottom: 9px;
  color: #A9C8EB;
  font-size: 11px;
}

.tm-reference-card h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.12;
  text-wrap: balance;
}

.tm-reference-card__claim {
  margin: 0 0 10px;
  color: #FFFFFF;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 600;
  line-height: 1.34;
}

.tm-reference-card__header > p:last-child {
  margin: 0;
  color: #D9E4F0;
  font-size: 15px;
  line-height: 1.62;
}

.tm-reference-card h3 {
  margin: 0 0 11px;
  color: var(--tm-navy);
  font-size: 23px;
  line-height: 1.28;
}

.tm-reference-card h4 {
  margin: 0 0 5px;
  color: var(--tm-navy);
  font-size: 16px;
}

.tm-reference-publication {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #F6F8FA;
}

.tm-reference-publication__copy {
  min-width: 0;
}

.tm-reference-publication__copy p {
  margin-bottom: 5px;
}

.tm-reference-publication__authors {
  color: var(--tm-muted);
  font-size: 13px;
}

.tm-reference-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.tm-reference-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--tm-blue);
  border-radius: 5px;
  color: #FFFFFF;
  background: var(--tm-blue);
  box-shadow: 0 2px 0 rgba(9, 20, 34, .12);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.tm-reference-button:hover,
.tm-reference-button:focus {
  border-color: var(--tm-navy);
  color: #FFFFFF;
  background: var(--tm-navy);
  box-shadow: 0 5px 13px rgba(9, 20, 34, .18);
  text-decoration: none;
  transform: translateY(-1px);
}

.tm-reference-button:active {
  box-shadow: none;
  transform: translateY(1px);
}

.tm-reference-button:focus-visible,
.tm-reference-gallery__controls button:focus-visible,
.tm-reference-gallery__track:focus-visible,
.tm-reference-supporting summary:focus-visible,
.tm-reference-product a:focus-visible,
.tm-reference-locations a:focus-visible {
  outline: 3px solid rgba(25, 71, 123, .26);
  outline-offset: 3px;
}

.tm-reference-button--secondary {
  border-color: var(--tm-blue);
  color: var(--tm-blue);
  background: #FFFFFF;
  box-shadow: none;
}

.tm-reference-button--secondary:hover,
.tm-reference-button--secondary:focus {
  border-color: var(--tm-blue);
  color: #FFFFFF;
  background: var(--tm-blue);
}

.tm-reference-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.tm-reference-overview__application {
  padding: 20px 22px;
  border: 1px solid #D8E2EC;
  border-left: 4px solid var(--tm-blue);
  border-radius: 7px;
  background: #F7FAFC;
}

.tm-reference-overview__application h3 {
  margin-bottom: 7px;
}

.tm-reference-overview__application p {
  max-width: none;
  margin: 0;
  color: var(--tm-muted);
  font-size: 15px;
  line-height: 1.62;
}

.tm-reference-overview__proof > h3 {
  margin-bottom: 14px;
}

.tm-reference-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  counter-reset: reference-location;
}

.tm-reference-locations--1 {
  grid-template-columns: minmax(0, 620px);
}

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

.tm-reference-locations__card {
  position: relative;
  min-height: 168px;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  background: #FFFFFF;
  counter-increment: reference-location;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tm-reference-locations__card:hover,
.tm-reference-locations__card:focus-within {
  border-color: #B8CADC;
  box-shadow: 0 10px 22px rgba(16, 35, 59, .09);
  transform: translateY(-2px);
}

.tm-reference-locations__card::before {
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  background: var(--tm-blue);
  content: counter(reference-location);
  font-size: 11px;
  font-weight: 700;
}

.tm-reference-locations__primary {
  display: flex;
  min-height: 166px;
  flex-direction: column;
  padding: 25px 17px 12px;
  color: inherit;
  text-decoration: none;
}

.tm-reference-locations__primary:hover,
.tm-reference-locations__primary:focus {
  color: inherit;
  text-decoration: none;
}

.tm-reference-locations__place {
  display: block;
  margin: 0 0 7px;
  color: var(--tm-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.45;
  text-transform: uppercase;
}

.tm-reference-locations__title {
  display: block;
  margin: 0 0 5px;
  color: var(--tm-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tm-reference-locations__description {
  display: block;
  margin: 0;
  color: var(--tm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tm-reference-locations__open {
  display: inline-flex;
  width: fit-content;
  min-block-size: 28px;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 5px 8px;
  border: 1px solid #CBD8E5;
  border-radius: 4px;
  color: var(--tm-blue);
  background: #F8FAFC;
  font-size: 12px;
  font-weight: 700;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.tm-reference-locations__primary:hover .tm-reference-locations__open,
.tm-reference-locations__primary:focus-visible .tm-reference-locations__open {
  border-color: var(--tm-blue);
  color: #FFFFFF;
  background: var(--tm-blue);
  transform: translateY(-1px);
}

.tm-reference-locations__secondary {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 17px 11px;
  border-top: 1px solid #EDF1F4;
  color: var(--tm-muted);
  font-size: 11px;
}

.tm-reference-locations__secondary a {
  display: inline-flex;
  min-block-size: 28px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #CBD8E5;
  border-radius: 4px;
  color: var(--tm-blue);
  background: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.tm-reference-locations__secondary a:hover {
  border-color: var(--tm-blue);
  color: #FFFFFF;
  background: var(--tm-blue);
  text-decoration: none;
  transform: translateY(-1px);
}

.tm-reference-locations__secondary a:focus-visible {
  border-color: var(--tm-blue);
  outline: 3px solid rgba(25, 71, 123, .26);
  outline-offset: 2px;
}

.tm-reference-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.tm-reference-section-intro {
  max-width: 740px;
  margin: 0;
  color: var(--tm-muted);
  line-height: 1.55;
}

.tm-reference-gallery__tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.tm-reference-gallery,
.tm-reference-gallery__viewport {
  min-width: 0;
}

.tm-reference-gallery__track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--tm-blue) #EDF1F4;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.tm-reference-gallery__source {
  margin: -5px 2px 0;
  color: #6F7B88;
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.tm-reference-gallery__track--1 {
  justify-content: center;
}

.tm-reference-gallery__track--1 .tm-reference-gallery__item {
  flex-basis: min(100%, 720px);
}

.tm-reference-gallery__track--1 .tm-reference-gallery__media img {
  height: auto;
}

.tm-reference-gallery__item,
.tm-reference-evidence__item {
  margin: 0;
}

.tm-reference-gallery__item {
  display: grid;
  flex: 0 0 620px;
  grid-template-rows: auto auto;
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 4px 13px rgba(16, 35, 59, .05);
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.tm-reference-gallery__item--featured {
  flex-basis: min(67vw, 620px);
}

.tm-reference-gallery__item--supporting {
  flex-basis: min(42vw, 390px);
  box-shadow: none;
}

.tm-reference-gallery__media {
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--tm-border);
  background: #F8FAFC;
}

.tm-reference-gallery__link,
.tm-reference-evidence__link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  background: #FFFFFF;
  text-decoration: none;
}

.tm-reference-gallery__link:hover,
.tm-reference-gallery__link:focus,
.tm-reference-evidence__link:hover,
.tm-reference-evidence__link:focus {
  color: inherit;
  text-decoration: none;
}

.tm-reference-gallery__link:focus-visible,
.tm-reference-evidence__link:focus-visible {
  z-index: 3;
  outline: 3px solid rgba(25, 71, 123, .36);
  outline-offset: -3px;
}

.tm-reference-gallery__media img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform .18s ease;
}

.tm-reference-gallery__link:hover img,
.tm-reference-gallery__link:focus-visible img {
  transform: scale(1.008);
}

.tm-reference-gallery__item figcaption,
.tm-reference-evidence__item figcaption {
  color: var(--tm-muted);
  font-size: 12px;
  line-height: 1.45;
}

.tm-reference-gallery__item figcaption {
  padding: 9px 12px 10px;
}

.tm-reference-gallery__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.tm-reference-gallery__controls[hidden] {
  display: none;
}

.tm-reference-gallery__controls button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--tm-blue);
  border-radius: 5px;
  color: var(--tm-blue);
  background: #FFFFFF;
  font-size: 19px;
  line-height: 1;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.tm-reference-gallery__controls button:hover,
.tm-reference-gallery__controls button:focus {
  color: #FFFFFF;
  background: var(--tm-blue);
  transform: translateY(-1px);
}

.tm-reference-gallery__controls button:disabled {
  border-color: #CAD1D8;
  color: #9BA6B0;
  background: #F5F6F7;
  cursor: not-allowed;
  transform: none;
}

.tm-reference-supporting-section {
  background: #FAFBFC;
}

.tm-reference-supporting {
  overflow: hidden;
  border: 1px solid #C8D5E2;
  border-left: 4px solid var(--tm-blue);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 35, 59, .06);
}

.tm-reference-supporting summary {
  position: relative;
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 18px;
  color: var(--tm-navy);
  background: linear-gradient(90deg, #F5F8FB 0%, #FFFFFF 72%);
  cursor: pointer;
  list-style: none;
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.tm-reference-supporting summary::-webkit-details-marker {
  display: none;
}

.tm-reference-supporting summary:hover,
.tm-reference-supporting summary:focus-visible {
  color: var(--tm-blue);
  background: #EEF4F9;
  box-shadow: inset 0 0 0 1px rgba(25, 71, 123, .08);
}

.tm-reference-supporting__control {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid #B9CADB;
  border-radius: 5px;
  color: var(--tm-blue);
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.tm-reference-supporting summary:hover .tm-reference-supporting__control,
.tm-reference-supporting summary:focus-visible .tm-reference-supporting__control {
  border-color: var(--tm-blue);
  color: #FFFFFF;
  background: var(--tm-blue);
}

.tm-reference-supporting__action--open {
  display: none;
}

.tm-reference-supporting__chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}

.tm-reference-supporting[open] summary {
  border-bottom: 1px solid var(--tm-border);
  background: #EEF4F9;
}

.tm-reference-supporting[open] .tm-reference-supporting__action--closed {
  display: none;
}

.tm-reference-supporting[open] .tm-reference-supporting__action--open {
  display: inline;
}

.tm-reference-supporting[open] .tm-reference-supporting__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.tm-reference-supporting summary strong,
.tm-reference-supporting summary small {
  display: block;
}

.tm-reference-supporting summary strong {
  font-size: 16px;
}

.tm-reference-supporting summary small {
  margin-top: 3px;
  color: var(--tm-muted);
  font-weight: 400;
  line-height: 1.4;
}

.tm-reference-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "primary top"
    "primary bottom";
  align-items: start;
  gap: 16px;
  padding: 17px;
}

.tm-reference-evidence__item {
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  background: #FFFFFF;
}

.tm-reference-evidence__item--primary { grid-area: primary; }
.tm-reference-evidence__item--top { grid-area: top; }
.tm-reference-evidence__item--bottom { grid-area: bottom; }

.tm-reference-evidence--1 {
  grid-template-columns: minmax(0, 800px);
  grid-template-areas: "primary";
  justify-content: center;
}

.tm-reference-evidence--2 {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "materials figure";
}

.tm-reference-evidence__item--materials { grid-area: materials; }
.tm-reference-evidence__item--figure { grid-area: figure; }

.tm-reference-evidence__item img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--tm-border);
  background: #FFFFFF;
}

.tm-reference-evidence__item figcaption {
  padding: 10px 12px 12px;
}

.tm-reference-card > .tm-reference-product {
  padding: 0;
  border-left: 4px solid var(--tm-blue);
  background: #F6F8FA;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.tm-reference-product:hover,
.tm-reference-product:focus-within {
  border-left-color: var(--tm-navy);
  background: #F2F6FA;
  box-shadow: inset 0 0 0 1px rgba(25, 71, 123, .08);
}

.tm-reference-product__link {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 28px 34px;
  color: inherit;
  text-decoration: none;
}

.tm-reference-product__link:hover,
.tm-reference-product__link:focus {
  color: inherit;
  text-decoration: none;
}

.tm-reference-product__media {
  display: block;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: 7px;
  background: #FFFFFF;
}

.tm-reference-product__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .18s ease;
}

.tm-reference-product__media:hover img {
  transform: scale(1.02);
}

.tm-reference-product__copy {
  min-width: 0;
}

.tm-reference-product__copy .tm-reference-section-label {
  display: block;
}

.tm-reference-product__copy h3 {
  margin-top: 7px;
}

.tm-reference-product__title {
  color: var(--tm-navy);
  transition: color .16s ease;
}

.tm-reference-product__link:hover .tm-reference-product__title,
.tm-reference-product__link:focus-visible .tm-reference-product__title {
  color: var(--tm-blue);
}

.tm-reference-product__button {
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.tm-reference-product__link:hover .tm-reference-product__button,
.tm-reference-product__link:focus-visible .tm-reference-product__button {
  border-color: var(--tm-navy);
  background: var(--tm-navy);
  box-shadow: 0 5px 13px rgba(9, 20, 34, .18);
  transform: translateY(-1px);
}

.tm-reference-product__description {
  display: block;
  max-width: 730px;
  color: var(--tm-muted);
  line-height: 1.55;
}

.tm-reference-product__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 15px 0;
}

.tm-reference-product__facts > span {
  min-width: 110px;
}

.tm-reference-product__facts strong,
.tm-reference-product__facts b {
  display: block;
  margin: 0;
}

.tm-reference-product__facts strong {
  color: var(--tm-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tm-reference-product__facts b {
  margin-top: 2px;
  color: var(--tm-navy);
  font-size: 15px;
  font-weight: 700;
}

.tm-reference-product__copy--fallback {
  grid-column: 1 / -1;
  padding: 28px 34px;
}

.tm-reference-context {
  background: #FFFFFF;
}

.tm-reference-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin-top: 17px;
}

.tm-reference-timeline::before {
  position: absolute;
  top: 17px;
  bottom: 18px;
  left: 34px;
  width: 2px;
  background: var(--tm-border);
  content: "";
}

.tm-reference-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 22px;
}

.tm-reference-timeline__item:last-child {
  padding-bottom: 0;
}

.tm-reference-timeline__item time {
  z-index: 1;
  align-self: start;
  padding: 6px 7px;
  border: 1px solid var(--tm-blue);
  border-radius: 18px;
  color: var(--tm-blue);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.tm-reference-timeline__item > div {
  padding: 2px 0 0;
}

.tm-reference-timeline__item p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tm-reference-disclaimer {
  color: #475363;
  background: #F6F8FA;
  font-size: 12px;
  line-height: 1.58;
}

.tm-customer-projects {
  container-type: inline-size;
  margin-top: 38px;
  padding: 34px;
  border: 1px solid #D9E4EF;
  border-radius: 12px;
  background: #F4F8FC;
}

.tm-customer-projects__header {
  width: 100%;
  margin-bottom: 22px;
}

.tm-customer-projects__header h2 {
  margin: 0 0 9px;
  color: var(--tm-navy);
  font-size: clamp(27px, 3.4vw, 37px);
  line-height: 1.15;
}

.tm-customer-projects__header > p:last-child {
  margin: 0;
  color: var(--tm-muted);
  font-size: 15px;
  line-height: 1.58;
}

.tm-customer-projects__featured,
.tm-customer-project {
  overflow: hidden;
  border: 1px solid #D6E0E9;
  border-radius: 9px;
  background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(16, 35, 59, .07);
}

.tm-customer-projects__featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  margin-bottom: 18px;
}

.tm-customer-projects__featured .tm-customer-project__media {
  min-height: 100%;
}

.tm-customer-projects__featured .tm-customer-project__media img {
  height: 100%;
  aspect-ratio: auto;
}

.tm-customer-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tm-customer-project {
  display: grid;
  grid-template-rows: auto 1fr;
}

.tm-customer-project--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  grid-template-rows: auto auto;
}

.tm-customer-project--wide > .tm-customer-project__media {
  grid-column: 1;
  grid-row: 1;
}

.tm-customer-project--wide > .tm-customer-project__body {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-start;
}

.tm-customer-project__series-tray {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 12px;
  border-top: 1px solid #D6E0E9;
  background: #F4F8FC;
}

.tm-customer-project__series-tray .tm-customer-project__previews {
  margin: 0;
}

.tm-customer-project--wide .tm-customer-project__products {
  margin-top: 14px;
}

.tm-customer-project__media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #E8EEF4;
  text-decoration: none;
}

.tm-customer-project__media:hover,
.tm-customer-project__media:focus {
  color: inherit;
  text-decoration: none;
}

.tm-customer-project__media:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(25, 71, 123, .42);
  outline-offset: -3px;
}

.tm-customer-project__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.tm-customer-project__media:hover img,
.tm-customer-project__media:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.018);
}

.tm-customer-project__media-label {
  position: absolute;
  bottom: 11px;
  left: 11px;
  padding: 5px 8px;
  border-radius: 4px;
  color: #FFFFFF;
  background: rgba(16, 35, 59, .91);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tm-customer-project__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.tm-customer-projects__featured .tm-customer-project__body {
  justify-content: center;
  padding: 24px;
}

.tm-customer-project__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-bottom: 9px;
  color: var(--tm-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tm-customer-project__meta span + span {
  padding-left: 10px;
  border-left: 1px solid #CBD8E5;
}

.tm-customer-project__body h3 {
  margin: 0 0 8px;
  color: var(--tm-navy);
  font-size: 21px;
  line-height: 1.24;
}

.tm-customer-projects__featured .tm-customer-project__body h3 {
  font-size: 27px;
}

.tm-customer-project__body > p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tm-customer-project__outcome {
  margin-top: 8px !important;
  color: #3F4F61 !important;
}

.tm-customer-project__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.tm-customer-project__links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border: 1px solid #B8CADC;
  border-radius: 5px;
  color: var(--tm-blue);
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.tm-customer-project__links a:hover,
.tm-customer-project__links a:focus-visible {
  border-color: var(--tm-blue);
  color: #FFFFFF;
  background: var(--tm-blue);
  text-decoration: none;
  transform: translateY(-1px);
}

.tm-customer-project__previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.tm-customer-project__preview {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #D1DDE8;
  border-radius: 6px;
  color: var(--tm-navy);
  background: #E8EEF4;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.tm-customer-project__preview,
.tm-customer-project__preview * {
  cursor: pointer;
}

.tm-customer-project__preview:hover,
.tm-customer-project__preview:focus-visible {
  border-color: var(--tm-blue);
  color: var(--tm-blue);
  box-shadow: 0 4px 10px rgba(16, 35, 59, .08);
  text-decoration: none;
  transform: translateY(-1px);
}

.tm-customer-project__preview img,
.tm-customer-project__preview-badge {
  pointer-events: none;
}

.tm-customer-project__preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tm-customer-project__preview-badge {
  position: absolute;
  display: inline-flex;
  bottom: 10px;
  left: 10px;
  width: auto;
  max-width: calc(100% - 20px);
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 5px;
  color: #FFFFFF;
  background: rgba(25, 71, 123, .92);
  box-shadow: 0 2px 7px rgba(16, 35, 59, .18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(16, 35, 59, .2);
}

.tm-customer-project__preview-arrow {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

.tm-customer-project__product-context {
  margin: 0 0 9px !important;
  color: #536477 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.tm-customer-project__products {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

@media (min-width: 1200px) {
  .tm-customer-project__products--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-customer-project__products--2 .tm-customer-project__product {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .tm-customer-project__products--2 .tm-customer-project__product-thumb {
    width: 52px;
    height: 52px;
  }
}

.tm-customer-project__product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 0;
  padding: 8px 11px 8px 8px;
  border: 1px solid #D7E1EA;
  border-radius: 6px;
  color: inherit;
  background: #F7F9FB;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.tm-customer-project__product:hover,
.tm-customer-project__product:focus-visible {
  border-color: #B8CADC;
  color: inherit;
  background: #EEF4F9;
  box-shadow: 0 4px 10px rgba(16, 35, 59, .06);
  text-decoration: none;
}

.tm-customer-project__product-copy,
.tm-customer-project__product small,
.tm-customer-project__product strong {
  display: block;
}

.tm-customer-project__product-thumb {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #E1E7ED;
  border-radius: 5px;
  background: #FFFFFF;
}

.tm-customer-project__product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-customer-project__product-copy {
  min-width: 0;
}

.tm-customer-project__product small {
  margin-bottom: 2px;
  color: var(--tm-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tm-customer-project__product strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--tm-navy);
  font-size: 12px;
  line-clamp: 2;
  line-height: 1.35;
}

.tm-customer-project__product-model {
  display: inline-block;
  margin-top: 4px;
  color: var(--tm-blue);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.tm-customer-project__product-arrow {
  color: var(--tm-blue);
  font-size: 16px;
  line-height: 1;
}

.tm-reference-credits {
  margin: 22px 4px 8px;
  padding: 11px 0 0;
  border-top: 1px solid var(--tm-border);
  color: #77818C;
  background: transparent;
  font-size: 10px;
  line-height: 1.45;
}

.tm-reference-credits p {
  margin: 0;
}

.tm-reference-credits p + p {
  margin-top: 4px;
}

.tm-reference-credits__label {
  color: #66717D;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tm-reference-credits strong {
  color: #66717D;
  font-weight: 600;
}

.tm-reference-credits a {
  color: #5B7188;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tm-reference-credits a:hover,
.tm-reference-credits a:focus-visible {
  color: var(--tm-navy);
}

@media (max-width: 991px) {
  .tm-reference-card > section,
  .tm-reference-card > aside,
  .tm-reference-card__header {
    padding: 25px;
  }

  .tm-reference-publication,
  .tm-reference-section-heading {
    align-items: flex-start;
  }

  .tm-reference-publication {
    flex-direction: column;
  }

  .tm-reference-product__link {
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    padding: 25px;
  }

  .tm-reference-gallery__media img {
    height: 360px;
  }

  .tm-customer-projects__featured {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  }

  .tm-customer-project--wide {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr);
  }
}

@media (max-width: 767px) {
  .tm-references__main {
    margin-bottom: 20px;
  }

  .tm-references__intro {
    padding: 18px 0 22px;
  }

  .tm-references__lead {
    font-size: 16px;
  }

  .tm-reference-card > section,
  .tm-reference-card > aside,
  .tm-reference-card__header {
    padding: 21px 17px;
  }

  .tm-reference-card__identity {
    margin-bottom: 17px;
  }

  .tm-reference-card__institution {
    font-size: 18px;
  }

  .tm-reference-actions {
    width: 100%;
    flex-direction: column;
  }

  .tm-reference-actions .tm-reference-button {
    width: 100%;
    text-align: center;
  }

  .tm-reference-overview__application {
    padding: 17px;
  }

  .tm-reference-locations,
  .tm-reference-product {
    grid-template-columns: 1fr;
  }

  .tm-reference-locations__card {
    min-height: 0;
  }

  .tm-reference-section-heading {
    align-items: flex-end;
    gap: 12px;
  }

  .tm-reference-section-heading > div:first-child {
    min-width: 0;
  }

  .tm-reference-gallery__tools {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .tm-reference-gallery__controls button {
    width: 38px;
    height: 38px;
  }

  .tm-reference-gallery__item,
  .tm-reference-gallery__item--featured,
  .tm-reference-gallery__item--supporting {
    flex-basis: 100%;
    grid-template-rows: auto auto;
  }

  .tm-reference-gallery__media img {
    height: 310px;
  }

  .tm-reference-evidence {
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "top"
      "bottom";
    padding: 12px;
  }

  .tm-reference-evidence--2 {
    grid-template-areas:
      "materials"
      "figure";
  }

  .tm-reference-supporting summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tm-reference-supporting__control {
    width: fit-content;
  }

  .tm-reference-product__link {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 21px 17px;
  }

  .tm-reference-product__media {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .tm-customer-projects {
    margin-top: 28px;
    padding: 22px 17px;
  }

  .tm-customer-projects__header {
    margin-bottom: 17px;
  }

  .tm-customer-projects__featured,
  .tm-customer-project--wide,
  .tm-customer-projects__grid {
    grid-template-columns: 1fr;
  }

  .tm-customer-project--wide {
    grid-template-rows: auto auto auto;
  }

  .tm-customer-project--wide > .tm-customer-project__media,
  .tm-customer-project--wide > .tm-customer-project__body,
  .tm-customer-project__series-tray {
    grid-column: 1;
    grid-row: auto;
  }

  .tm-customer-projects__featured .tm-customer-project__body,
  .tm-customer-project__body {
    padding: 18px;
  }

  .tm-customer-projects__featured .tm-customer-project__body h3 {
    font-size: 23px;
  }

  .tm-customer-project__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .tm-customer-project__meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .tm-customer-project__product strong {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .tm-customer-project__previews {
    gap: 6px;
  }

}

@container (max-width: 760px) {
  .tm-customer-projects__featured,
  .tm-customer-project--wide,
  .tm-customer-projects__grid {
    grid-template-columns: 1fr;
  }

  .tm-customer-projects__featured .tm-customer-project__media {
    min-height: 0;
  }

  .tm-customer-projects__featured .tm-customer-project__media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .tm-customer-project--wide > .tm-customer-project__media,
  .tm-customer-project--wide > .tm-customer-project__body,
  .tm-customer-project__series-tray {
    grid-column: 1;
    grid-row: auto;
  }

  .tm-customer-project__previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .tm-customer-project__preview-badge {
    bottom: 7px;
    left: 7px;
    width: auto;
    max-width: calc(100% - 14px);
    padding: 6px 8px;
    font-size: 12px;
  }

}

@container (max-width: 520px) {
  .tm-customer-project__previews {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .tm-customer-project__preview {
    scroll-snap-align: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-reference-button,
  .tm-reference-locations__card,
  .tm-reference-locations__open,
  .tm-reference-locations__secondary a,
  .tm-reference-gallery__controls button,
  .tm-reference-supporting summary,
  .tm-reference-supporting__control,
  .tm-reference-supporting__chevron,
  .tm-reference-gallery__media img,
  .tm-reference-product__button,
  .tm-reference-product__media img,
  .tm-customer-project__media img,
  .tm-customer-project__links a,
  .tm-customer-project__preview,
  .tm-customer-project__product {
    transition: none;
  }

  .tm-reference-gallery__track {
    scroll-behavior: auto;
  }
}
