:root {
  color: #182429;
  background: white;
  font: 16px/1.45 "Inter", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --line: #d3dddd;
  --teal: #126b66;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); text-underline-offset: .19em; }
a:hover, button:hover { color: #073f3d; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #c79126; outline-offset: 2px; }
header { border-bottom: 1px solid var(--line); }
.mast, main { --pad: 22px; width: min(100%, 1340px); margin: 0 auto; padding-inline: var(--pad); }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: #182429; font-size: 24px; font-weight: 750; text-decoration: none; }
.brand span { display: inline-block; color: #526565; font-size: 15px; font-weight: 500; margin-left: 5px; }
.mast nav, .groups, .select-line { display: flex; align-items: center; flex-wrap: wrap; }
.mast nav { gap: 18px; font-size: 14px; }
.mast nav a { text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.band { scroll-margin-top: 12px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; margin-top: 20px; }
.section-title h1, .section-title h2 { color: #253537; font-size: 23px; line-height: 1.25; margin: 0; }
.section-title span, .selectors label { color: #536262; font-size: 13px; font-weight: 550; }
.groups { margin-top: 12px; border-bottom: 1px solid var(--line); gap: 0 22px; }
.groups a { color: #404f4e; padding: 7px 0 8px; font-size: 15px; text-decoration: none; border-bottom: 3px solid transparent; }
.groups a[aria-current] { color: var(--teal); border-color: var(--teal); font-weight: 650; }
.groups a span { font-weight: 450; color: #617173; margin-left: 2px; font-size: 12px; }
.case-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(205px,295px); align-items: end; gap: 15px; margin: 16px 0 5px; }
.eyebrow { margin: 0 0 3px; font-size: 12px; font-weight: 650; color: var(--teal); }
.case-head h2 { font-size: 24px; line-height: 1.2; margin: 0; }
.selectors label { display: block; margin-bottom: 3px; }
.select-line { gap: 4px; flex-wrap: nowrap; }
select, .arrow, .replay { font: inherit; color: #334748; border: 1px solid #bac8c7; background: white; border-radius: 4px; }
select { min-width: 0; height: 31px; padding: 2px 4px; width: 100%; font-size: 13px; }
.arrow { text-decoration: none; width: 32px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; }
.arrow:hover, .replay:hover { background: #eff5f3; }
.disabled { color: #aab4b3; border-color: #d9dfdd; }
.condition, .section > p, .failure p { color: #445456; margin: 5px 0 12px; }
.condition { font-size: 15px; max-width: 88ch; }
.references, .triptych, .video-grid, .liquid-grid { display: grid; gap: 12px; }
.references, .triptych { grid-template-columns: repeat(3,minmax(0,1fr)); }
.references { padding: 12px 0 17px; border-bottom: 1px solid var(--line); }
figure { min-width: 0; margin: 0; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
figure img, figure video { width: 100%; max-width: 100%; display: block; object-fit: contain; border-radius: 3px; }
video { aspect-ratio: 3 / 2; background: #ecf0ee; }
video.pc { aspect-ratio: 720 / 400; }
.references img { aspect-ratio: 720 / 400; background: #f1f4f3; }
.source { white-space: nowrap; font-size: 12px; font-weight: 500; }
.source span { font-size: 10px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 10px; }
h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.replay { font-size: 12px; cursor: pointer; padding: 4px 9px; }
.replay span { font-size: 16px; line-height: 1; vertical-align: middle; }
.video-grid { grid-template-columns: repeat(4,minmax(0,1fr)); row-gap: 15px; }
.primary figcaption { color: #0b5c59; }
.section { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 4px; }
.section > p { max-width: 92ch; margin-top: 9px; }
.failure, .liquid { margin: 18px 0 28px; }
.failure h3, .liquid h3 { margin-bottom: 5px; }
.triptych img { aspect-ratio: 3 / 2; background: #f3f5f4; }
.liquid-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: start; }
.liquid-grid figure { align-self: start; }
.liquid-grid a { display: block; }
.liquid-grid img { height: auto; }
footer { margin: 28px 0 18px; border-top: 1px solid var(--line); padding: 15px 0; font-size: 13px; }
@media(max-width: 850px) {
  .mast { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 4px; padding-block: 10px; }
  .video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 620px) {
  .mast, main { --pad: 12px; }
  .mast nav { gap: 3px 11px; font-size: 12px; }
  .groups { gap: 0 10px; }
  .groups a { font-size: 13px; }
  .case-head { grid-template-columns: 1fr; gap: 8px; }
  .case-head h2 { font-size: 21px; }
  .references { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .references figure:first-child { grid-column: 1 / -1; }
  .references figure:first-child img { max-height: 150px; width: auto; max-width: 100%; }
  .video-grid, .triptych { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .triptych figure:first-child { grid-column: 1 / -1; width: min(65%,290px); }
  .liquid-grid { grid-template-columns: 1fr; }
  .liquid-grid figure:nth-child(2) { max-width: 380px; }
  .source { font-size: 11px; }
}
