@font-face {
  font-family: Inter;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Editorial;
  src: url(/assets/fonts/notoserif-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;

  --serif: Editorial, Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding: 14px;
}
body {
  margin: 0;
  background: var(--pf-paper);
  color: var(--pf-ink);
  font:
    400 1rem/1.5 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}
a:focus-visible,
h3:focus-visible {
  outline: 3px solid var(--pf-focus);
  outline-offset: 4px;
}
.shell {
  width: min(calc(100% - clamp(38px, 9.5vw, 160px)), 1160px);
  margin: auto;
}
.skip:not(:focus),
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  top: 5px;
  left: 8px;
  z-index: 8;
  background: white;
  color: var(--pf-ink);
  padding: 10px 16px;
}
.mast {
  background: var(--pf-navy);
  color: var(--pf-surface);
}
.mast .shell {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 62px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font: 560 1.28rem/1.2 var(--serif);
  letter-spacing: -0.052em;
  white-space: nowrap;
}
.wordmark img {
  width: 35px;
  height: 35px;
  border-radius: 6px;
}
.study-label {
  margin-left: auto;
  color: var(--pf-line-soft);
  font-size: 0.72rem;
  white-space: nowrap;
}
.study-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.study-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pf-surface);
  font-size: 0.82rem;
  text-decoration: none;
}
.study-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(27px, 3.1vw, 40px) 0 clamp(20px, 2.2vw, 31px);
}
.eyebrow,
.field-label,
.record-type,
.form-label,
.catalog-title {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--pf-muted);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 470;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
h1 {
  margin-top: 0;
  font-size: clamp(2.1rem, 3.1vw, 2.85rem);
  line-height: 1.12;
  max-width: 810px;
}
.intro-text {
  font-size: clamp(0.95rem, 1.17vw, 1.02rem);
  line-height: 1.58;
  max-width: 715px;
  color: var(--pf-muted);
  margin-top: 14px;
}
.category-note {
  border-top: 1px solid var(--pf-border-light);
  padding: 12px 0 0;
}
.category-note p:last-child {
  margin-top: 6px;
  color: var(--pf-muted);
  font-size: 0.91rem;
  line-height: 1.55;
  max-width: 58ch;
}
.industry-head {
  border-top: 1px solid var(--pf-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0 15px;
}
h2 {
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.12;
}
.industry-head p {
  font-size: 0.89rem;
  color: var(--pf-muted);
}
.station {
  display: grid;
  grid-template-columns: minmax(190px, 0.39fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 2.2vw, 32px);
}
.roles {
  display: grid;
  border: 1px solid var(--pf-line);
  background: var(--pf-soft);
}
.role {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px clamp(11px, 1.3vw, 17px);
  text-decoration: none;
  color: var(--pf-ink);
}
.role + .role {
  border-top: 1px solid var(--pf-line);
}
.role strong,
.role small {
  display: block;
}
.role strong {
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}
.role small {
  font-size: 0.75rem;
  color: var(--pf-muted);
  margin-top: 1px;
  letter-spacing: -0.01em;
}
.role:hover {
  background: var(--pf-ivory);
}
.role:focus-visible {
  position: relative;
  z-index: 2;
  outline-offset: -4px;
}
.arrow {
  display: inline-block;
  width: 12px;
  height: 1px;
  background: currentColor;
  position: relative;
  flex: none;
}
.arrow:after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-top: 1px solid;
  transform: rotate(45deg);
}
.arrow.left {
  transform: rotate(180deg);
}
.station:has(#brands:target) #pick-brands,
.station:has(#manufacturers:target) #pick-manufacturers,
.station:has(#co-packers:target) #pick-co-packers,
.station:has(#distributors:target) #pick-distributors,
.station:has(#artwork-studios:target) #pick-artwork-studios,
.station:has(#retailers:target) #pick-retailers {
  background: var(--pf-slate);
  color: var(--pf-surface);
}
.station:has(#brands:target) #pick-brands small,
.station:has(#manufacturers:target) #pick-manufacturers small,
.station:has(#co-packers:target) #pick-co-packers small,
.station:has(#distributors:target) #pick-distributors small,
.station:has(#artwork-studios:target) #pick-artwork-studios small,
.station:has(#retailers:target) #pick-retailers small {
  color: var(--pf-line-soft);
}
.stage {
  min-width: 0;
}
.overview {
  margin: 0;
  background: var(--pf-navy);
  border: 1px solid var(--pf-muted);
  overflow: hidden;
}
.scene {
  position: relative;
  max-width: 100%;
  background: var(--pf-navy);
  line-height: 0;
}
.scene > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}
.zones {
  position: absolute;
  inset: 2.2% 0.5% 7.2%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 1.2% 1.4%;
}
.zone {
  position: relative;
  display: block;
  border: 2px solid transparent;
  outline-offset: -2px;
  text-decoration: none;
  transition: border-color 0.18s ease;
}
.zone span {
  position: absolute;
  bottom: 4%;
  left: 5%;
  background: var(--pf-slate);
  color: var(--pf-surface);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 5px 9px;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.zone:hover,
.station:has(#pick-brands:is(:hover, :focus-visible)) .zone-brands,
.station:has(#pick-manufacturers:is(:hover, :focus-visible))
  .zone-manufacturers,
.station:has(#pick-co-packers:is(:hover, :focus-visible)) .zone-co-packers,
.station:has(#pick-distributors:is(:hover, :focus-visible)) .zone-distributors,
.station:has(#pick-artwork-studios:is(:hover, :focus-visible))
  .zone-artwork-studios,
.station:has(#pick-retailers:is(:hover, :focus-visible)) .zone-retailers {
  border-color: var(--pf-gold-light);
}
.zone:hover span,
.station:has(#pick-brands:is(:hover, :focus-visible)) .zone-brands span,
.station:has(#pick-manufacturers:is(:hover, :focus-visible))
  .zone-manufacturers
  span,
.station:has(#pick-co-packers:is(:hover, :focus-visible)) .zone-co-packers span,
.station:has(#pick-distributors:is(:hover, :focus-visible))
  .zone-distributors
  span,
.station:has(#pick-artwork-studios:is(:hover, :focus-visible))
  .zone-artwork-studios
  span,
.station:has(#pick-retailers:is(:hover, :focus-visible)) .zone-retailers span {
  opacity: 1;
  transform: none;
}
.overview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 14px;
  background: var(--pf-navy-soft);
  color: var(--pf-surface);
  font-size: 0.74rem;
}
.overview figcaption span:last-child {
  color: var(--pf-line-soft);
}
.case {
  display: none;
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  scroll-margin-top: 12px;
}
.case:target {
  display: block;
}
.stage:has(.case:target) .overview {
  display: none;
}
.case-head {
  display: grid;
  grid-template-columns: minmax(135px, 0.47fr) minmax(0, 1fr);
  align-items: stretch;
  color: var(--pf-surface);
  background: var(--pf-navy-soft);
}
.case-head picture {
  display: block;
  min-width: 0;
}
.case-head img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 235px;
  object-fit: cover;
  aspect-ratio: 1.3;
}
.case-head > div {
  padding: clamp(18px, 2.5vw, 34px);
  align-self: center;
}
.case-head .eyebrow {
  color: var(--pf-line-soft);
  line-height: 1.5;
  font-size: 0.67rem;
}
.case-head .eyebrow span {
  color: var(--pf-gold-light);
  margin-inline: 3px;
}
h3 {
  font-size: clamp(1.45rem, 2.55vw, 2.3rem);
  line-height: 1.12;
  margin-top: 6px;
}
.case-body {
  padding: clamp(17px, 2.2vw, 28px);
}
.form-label {
  color: var(--pf-brass);
  margin-bottom: 8px;
}
.record-type {
  background: var(--pf-tint);
  padding: 8px 12px;
  color: var(--pf-muted);
  letter-spacing: 0.04em;
  text-transform: none;
}
.ruled-record,
.pair,
.traveler,
.units,
.proof,
.retail {
  border: 1px solid var(--pf-line);
}
.ruled-record dl > div {
  padding: 7px 12px;
  display: grid;
  grid-template-columns: minmax(90px, 0.38fr) minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--pf-line-soft);
}
.ruled-record dt {
  font-size: 0.78rem;
  font-weight: 600;
}
.ruled-record dd {
  font-size: 0.87rem;
}
.columns,
.revision-list,
.unit-grid,
.display-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
}
.columns > div,
.revision-list > li,
.unit-grid > div,
.display-check > div {
  padding: 13px;
}
.columns > div + div,
.revision-list > li + li,
.unit-grid > div + div,
.display-check > div + div {
  border-left: 1px solid var(--pf-line-soft);
}
.columns h4,
.unit-grid span,
.revision-list span,
.file-list span,
.display-check span {
  font:
    600 0.75rem/1.35 Inter,
    Arial,
    sans-serif;
  color: var(--pf-muted);
}
.columns p {
  font-size: 0.87rem;
  line-height: 1.5;
  margin-top: 5px;
}
.revision-list li > * {
  display: block;
}
.revision-list strong,
.display-check strong {
  font: 500 clamp(1.02rem, 1.5vw, 1.24rem)/1.3 var(--serif);
  letter-spacing: -0.046em;
  margin-top: 4px;
}
.revision-list small {
  color: var(--pf-muted);
  font-size: 0.76rem;
  line-height: 1.4;
  margin-top: 3px;
}
.unit-grid span,
.unit-grid strong,
.display-check span,
.display-check strong {
  display: block;
}
.unit-grid strong {
  font: 480 clamp(1.65rem, 3vw, 2.35rem)/1.2 var(--serif);
  letter-spacing: -0.07em;
  margin-top: 4px;
}
.unit-grid b {
  font:
    600 0.9rem Inter,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.unit-grid > div + div {
  border-left: 2px solid var(--pf-gold);
}
.file-list {
  list-style: none;
  padding: 0 12px;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.file-list li + li {
  border-top: 1px solid var(--pf-line-soft);
}
.file-list li > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.file-list strong {
  font-size: 0.86rem;
  font-weight: 550;
}
.file-list b {
  border: 1px solid var(--pf-line);
  display: inline-block;
  padding: 0 3px;
  font-size: 0.75rem;
}
.file-icon {
  width: 15px;
  height: 19px;
  border: 1px solid var(--pf-border-light);
  display: inline-block;
  flex: none;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 4px,
    var(--pf-line) 4px 5px
  );
  box-shadow: inset 0 0 0 3px var(--pf-soft);
}
.display-check > div:first-child {
  background: var(--pf-tint);
}
.display-check strong {
  display: block;
}
.decision {
  padding: 15px 0 0;
}
.decision h4 {
  font:
    650 0.8rem/1.4 Inter,
    Arial,
    sans-serif;
}
.decision p {
  color: var(--pf-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 80ch;
  margin-top: 3px;
}
.return {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--pf-muted);
  text-underline-offset: 3px;
  margin-top: 4px;
}
.catalog {
  margin: clamp(25px, 3vw, 39px) 0 0;
  border-top: 1px solid var(--pf-line);
  padding: 16px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.catalog-title {
  color: var(--pf-muted);
  line-height: 1.45;
}
.catalog nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.75vw, 24px);
  flex-wrap: wrap;
}
.catalog a {
  font-size: 0.86rem;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 44px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.catalog a > span[aria-hidden] {
  color: var(--pf-muted);
}
@media (max-width: 900px) {
  .intro {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 24px;
  }
  .station {
    grid-template-columns: minmax(171px, 0.37fr) minmax(0, 1fr);
    gap: 14px;
  }
  .role {
    min-height: 56px;
    padding: 9px 11px;
  }
  .role strong {
    font-size: 0.88rem;
  }
  .role small {
    font-size: 0.7rem;
  }
  .study-nav {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .mast .shell {
    gap: 12px;
    min-height: 60px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .wordmark {
    font-size: 1.11rem;
    gap: 7px;
  }
  .wordmark img {
    width: 29px;
    height: 29px;
  }
  .study-label {
    font-size: 0.65rem;
  }
  .study-nav {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
  }
  .study-nav a {
    min-height: 30px;
    font-size: 0.76rem;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0 22px;
  }
  .intro-text {
    font-size: 0.92rem;
    margin-top: 9px;
    line-height: 1.48;
  }
  h1 {
    font-size: clamp(1.94rem, 7vw, 2.2rem);
    max-width: 24ch;
  }
  .category-note {
    padding-top: 10px;
  }
  .category-note .field-label {
    font-size: 0.70rem;
    letter-spacing: 0.06em;
  }
  .category-note p:last-child {
    font-size: 0.91rem;
    line-height: 1.5;
    margin-top: 4px;
  }
  .industry-head {
    align-items: start;
    display: block;
    padding: 14px 0 10px;
  }
  .industry-head p {
    font-size: 0.8rem;
    margin-top: 4px;
  }
  .station {
    display: block;
  }
  .roles {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 13px;
  }
  .role {
    min-height: 50px;
    padding: 7px 10px;
    gap: 3px;
  }
  .role + .role {
    border-top: 0;
  }
  .role:nth-child(n + 3) {
    border-top: 1px solid var(--pf-line);
  }
  .role:nth-child(even) {
    border-left: 1px solid var(--pf-line);
  }
  .role strong {
    font-size: 0.85rem;
  }
  .role small {
    font-size: 0.68rem;
  }
  .role .arrow {
    width: 9px;
  }
  .overview figcaption {
    font-size: 0.64rem;
    padding: 8px;
    gap: 0.3rem;
    flex-wrap: wrap;
  }
  .zone span {
    font-size: 0.6rem;
    padding: 3px 5px;
  }
  .case-head {
    grid-template-columns: minmax(85px, 0.46fr) minmax(0, 1fr);
  }
  .case-head img {
    height: 100%;
    min-height: 105px;
    max-height: 150px;
  }
  .case-head > div {
    padding: 11px 12px;
  }
  .case-head .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.045em;
  }
  .case-head .eyebrow span {
    margin: 0;
  }
  h3 {
    font-size: clamp(1.25rem, 4.7vw, 1.55rem);
    line-height: 1.15;
  }
  .case-body {
    padding: 13px;
  }
  .case-body {
    font-size: 0.85rem;
  }
  .record-type {
    padding: 6px 9px;
  }
  .ruled-record dl > div,
  .columns > div,
  .revision-list > li,
  .unit-grid > div,
  .display-check > div {
    padding: 8px;
  }
  .ruled-record dl > div {
    grid-template-columns: minmax(64px, 0.47fr) minmax(0, 1fr);
    gap: 6px;
  }
  .ruled-record dd,
  .columns p,
  .decision p {
    font-size: 0.8rem;
  }
  .ruled-record dt,
  .columns h4,
  .unit-grid span,
  .revision-list span,
  .file-list span,
  .display-check span {
    font-size: 0.71rem;
  }
  .file-list li > div {
    display: grid;
    gap: 2px;
  }
  .catalog {
    display: block;
    margin: 21px 0 0;
    padding: 13px 0 18px;
  }
  .catalog nav {
    gap: 0 18px;
  }
  .catalog a {
    min-height: 40px;
    font-size: 0.78rem;
  }
}
@media (max-width: 370px) {
  .shell {
    width: calc(100% - 28px);
  }
  .study-label {
    font-size: 0.6rem;
  }
  .role {
    padding: 6px 7px;
  }
  .role strong {
    font-size: 0.8rem;
  }
  .role small {
    font-size: 0.64rem;
  }
  .case-head > div {
    padding: 9px;
  }
  .industry-head p {
    line-height: 1.4;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .columns > div + div {
    border-left: 0;
    border-top: 1px solid var(--pf-line-soft);
  }
}
@media (max-width: 700px) {
  .mast .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 0;
    column-gap: 5px;
    padding: 8px 0 5px;
  }
  .study-label {
    grid-row: 1;
    grid-column: 2;
  }
  .study-nav {
    grid-column: 1/-1;
  }
  .intro {
    gap: 10px;
    padding: 19px 0 16px;
  }
  .industry-head {
    padding: 11px 0 9px;
  }
  .industry-head p {
    margin-top: 3px;
  }
}
@media (max-width: 370px) {
  .wordmark {
    font-size: 1rem;
  }
  .study-label {
    max-width: 8em;
    white-space: normal;
    text-align: right;
  }
  .intro-text {
    font-size: 0.87rem;
  }
}
.case-links {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  border-top: 1px solid var(--pf-line);
  margin-top: 14px;
  flex-wrap: wrap;
}
.related {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.source-note {
  margin-top: 7px;
  font-size: 0.76rem;
  color: var(--pf-muted);
  line-height: 1.5;
}
.source-note a {
  text-underline-offset: 2px;
}
.unit-grid p {
  font-size: 0.84rem;
  margin-top: 3px;
  line-height: 1.45;
}
.approach {
  display: grid;
  grid-template-columns: minmax(190px, 0.39fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(28px, 3.5vw, 48px);
  padding: clamp(22px, 3vw, 38px) 0;
  border-top: 1px solid var(--pf-line);
}
.approach-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 0.3rem;
  color: var(--pf-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-underline-offset: 0.25em;
}
.approach-steps > div {
  display: grid;
  grid-template-columns: minmax(9rem, 0.48fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: baseline;
}
.approach-steps > div + div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pf-border-light);
}
.approach-steps dt {
  color: var(--pf-ink);
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.4;
}
.approach-steps dd {
  max-width: 60ch;
  color: var(--pf-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .approach-steps > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.catalog {
  margin-top: 0;
}
@media (max-width: 700px) {
  .case-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .case-links .return {
    margin: 0;
  }
  .related {
    font-size: 0.78rem;
  }
  .approach {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 0 28px;
  }
  .approach-heading {
    display: flex;
    align-items: center;
    gap: 6px 20px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .approach-link {
    margin-top: 0;
  }
  .approach-steps dd {
    font-size: 0.91rem;
  }
  .source-note {
    font-size: 0.71rem;
  }
  .unit-grid p {
    font-size: 0.77rem;
  }
}
@media (hover: hover) {
  .station:has(.zone-brands:hover) #pick-brands,
  .station:has(.zone-manufacturers:hover) #pick-manufacturers,
  .station:has(.zone-co-packers:hover) #pick-co-packers,
  .station:has(.zone-distributors:hover) #pick-distributors,
  .station:has(.zone-artwork-studios:hover) #pick-artwork-studios,
  .station:has(.zone-retailers:hover) #pick-retailers {
    background: var(--pf-tint);
    box-shadow: inset 3px 0 var(--pf-gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Only the selected area and its record participate in the transition. */
.room-origin {
  position: absolute;
  z-index: 2;
  object-fit: fill;
  pointer-events: none;
  display: block;
}
:root.room-motion {
  view-transition-name: none;
}
.room-motion .overview {
  view-transition-name: industry-overview;
}
.room-motion .room-origin,
.room-motion .room-destination .case-head picture {
  view-transition-name: industry-room;
}
.room-motion .room-destination {
  view-transition-name: industry-record;
}
.room-motion .room-destination .case-head picture img,
.case:target .lens-holder img {
  animation: none;
}
.case:target picture.lens-holder {
  position: relative;
  overflow: hidden;
}
.room-lens {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--pf-navy);
}
.room-lens-surface {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1536px;
  height: 1024px;
  transform-origin: 0 0;
}
.case-head .room-lens-surface img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: fill;
}
.room-lens-mark {
  position: absolute;
  border: 6px solid var(--pf-gold-light);
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition {
    pointer-events: none;
  }
  ::view-transition-group(industry-room) {
    z-index: 3;
    animation-duration: 290ms;
    animation-timing-function: cubic-bezier(0.27, 0.68, 0.34, 1);
  }
  ::view-transition-old(industry-room) {
    animation: none;
    mix-blend-mode: normal;
  }
  ::view-transition-new(industry-room) {
    animation: room-cross-in 200ms ease-out both;
    mix-blend-mode: normal;
  }
  ::view-transition-group(industry-overview) {
    z-index: 1;
  }
  ::view-transition-old(industry-overview) {
    animation: room-cross-out 150ms ease-out both;
  }
  ::view-transition-group(industry-record) {
    z-index: 2;
  }
  ::view-transition-new(industry-record) {
    animation: room-cross-in 160ms ease-out 53ms both;
  }
  @keyframes room-cross-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  @keyframes room-cross-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

.case-head picture.awaiting-detail {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
}
.case-head picture.awaiting-detail > img {
  opacity: 0;
}
.room-origin {
  background-repeat: no-repeat;
}
