/* Keep the catalog page bounded independently of the site's historical template styles. */
main.hj-profile {
  --hj-ink: #142a3b;
  --hj-muted: #4b5c64;
  --hj-rule: #c9d0cf;
  background: #faf9f5;
  color: var(--hj-ink);
  display: block;
  padding: 0;
  line-height: 1.55;
  font-family: var(--hx-sans, Arial, sans-serif);
}
.hj-profile *, .hj-profile *::before, .hj-profile *::after { box-sizing: border-box; }
.hj-profile .hj-wrap { width: min(1250px, 90%); margin: 0 auto; padding: 0 0 clamp(42px, 7vw, 96px); }
.hj-profile .hj-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 24px 0; font-size: .83rem; color: var(--hj-muted); }
.hj-profile a:not(.hj-action) { color: var(--hj-ink); text-underline-offset: 4px; }
.hj-profile .hj-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(26px, 5vw, 75px); align-items: start; padding: 12px 0 clamp(30px, 4vw, 62px); }
.hj-profile .hj-info { align-self: center; min-width: 0; }
.hj-profile .hj-class { font-family: inherit; color: #465e69; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.hj-profile h1, .hj-profile h2, .hj-profile h3 { color: var(--hj-ink); text-transform: none; font-style: normal; text-wrap: balance; }
.hj-profile h1, .hj-profile h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hj-profile h1 { font-size: clamp(2.35rem, 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; margin: 0; max-width: 21ch; }
.hj-profile h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); line-height: 1.14; letter-spacing: -.035em; margin: 0 0 28px; }
.hj-profile h3 { font: 650 1.1rem/1.4 var(--hx-sans, Arial, sans-serif); margin: 0 0 9px; }
.hj-profile .hj-overview { color: var(--hj-muted); font-size: 1.02rem; line-height: 1.55; max-width: 48ch; margin: 18px 0 0; }
.hj-profile .hj-stats { display: flex; flex-wrap: wrap; gap: 16px 22px; margin: 25px 0 0; }
.hj-profile .hj-stats div { border-left: 2px solid #b49c6b; padding-left: 10px; min-width: 0; max-width: 100%; }
.hj-profile dt { color: var(--hj-muted); }
.hj-profile .hj-stats dt, .hj-profile .hj-price span { font-size: .83rem; }
.hj-profile .hj-stats dd { font-size: clamp(1.12rem,1.6vw,1.5rem); line-height: 1.35; font-weight: 600; margin: 3px 0 0; }
.hj-profile .hj-price { margin: 22px 0 0; color: var(--hj-muted); }
.hj-profile .hj-price strong { color: var(--hj-ink); font-weight: 650; margin-left: 4px; }
.hj-profile .hj-actions { display: flex; flex-wrap: wrap; gap: 10px 17px; align-items: center; margin-top: 25px; }
.hj-profile .hj-action, .hj-profile .hj-save, .hj-profile .hj-turn button { font: 600 .94rem/1.35 var(--hx-sans, Arial, sans-serif); letter-spacing: normal; text-transform: none; cursor: pointer; }
.hj-profile .hj-action { display: inline-flex; align-items: center; justify-content: center; background: var(--hj-ink); padding: 12px 22px; min-height: 45px; border: 1px solid var(--hj-ink); border-radius: 4px; color: #fff; text-decoration: none; }
.hj-profile .hj-action:hover { background: #284657; color: #fff; }
.hj-profile .hj-save { background: transparent; color: var(--hj-ink); border: 0; padding: 9px 0; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; border-radius: 0; }
.hj-profile .hj-feedback:empty, .hj-profile .hj-feedback:empty + .hj-brief { display: none; }
.hj-profile .hj-feedback { flex-basis: 100%; font-size: .9rem; }
.hj-profile .hj-brief { font-size: .9rem; }
.hj-profile .hj-gallery { display: block; min-width: 0; margin: 0; }
.hj-profile .hj-frame { display: grid; place-items: center; aspect-ratio: 1.72; border: 1px solid #d3d7d5; border-radius: 6px; overflow: hidden; background: #e8eceb; }
.hj-profile .hj-frame img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
.hj-profile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 4px 0; color: var(--hj-ink); font: 500 .84rem/1.4 var(--hx-sans, Arial, sans-serif); }
.hj-profile .hj-index { margin-right: 12px; font-variant-numeric: tabular-nums; color: var(--hj-muted); }
.hj-profile .hj-turn { display: flex; gap: 5px; }
.hj-profile [hidden] { display: none !important; }
.hj-profile .hj-turn button { background: transparent; border: 1px solid var(--hj-rule); border-radius: 50%; color: var(--hj-ink); height: 40px; width: 40px; padding: 0; font-size: 1.14rem; }
.hj-profile .hj-turn button:hover { border-color: var(--hj-ink); background: #ebeeea; }
.hj-profile .hj-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 6px; scrollbar-width: thin; }
.hj-profile .hj-thumbs a { display: block; flex: 0 0 76px; height: 52px; border-radius: 3px; border: 2px solid transparent; padding: 2px; }
.hj-profile .hj-thumbs a[aria-current="true"] { border-color: var(--hj-ink); }
.hj-profile .hj-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.hj-profile .hj-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(245px,100%),1fr)); column-gap: clamp(24px,4vw,56px); row-gap: 30px; }
.hj-profile .hj-specs, .hj-profile .hj-more, .hj-profile .hj-related { border-top: 1px solid var(--hj-rule); padding-top: 30px; }
.hj-profile .hj-list { margin: 0; }
.hj-profile .hj-list div { display: grid; align-items: baseline; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid #dce0dd; font-size: .92rem; }
.hj-profile .hj-list dd { margin: 0; text-align: right; color: var(--hj-ink); font-weight: 550; overflow-wrap: anywhere; }
.hj-profile .hj-more, .hj-profile .hj-related { margin-top: 32px; }
.hj-profile .hj-scroll { overflow-x: auto; margin-bottom: 16px; }
.hj-profile table { border-collapse: collapse; width: 100%; color: var(--hj-ink); font-size: .96rem; }
.hj-profile :is(th, td) { text-align: left; padding: 12px 16px; border: 1px solid var(--hj-rule); vertical-align: top; line-height: 1.45; min-width: 112px; }
.hj-profile th { background: #edf0ed; font-weight: 600; }
.hj-profile .hj-notes { color: var(--hj-muted); margin-top: 22px; font-size: .89rem; }
.hj-profile .hj-notes p { font-size: inherit; color: inherit; max-width: 85ch; margin: 7px 0; }
.hj-profile .hj-notes a, .hj-profile .hj-related a { display: inline-block; margin: 4px 22px 4px 0; }
.hj-profile .hj-related h2 { font-size: 1.7rem; margin-bottom: 10px; }
.hj-profile .hj-no-photo { grid-template-columns: minmax(0, 48rem); }
.hj-profile :focus-visible, .hj-profile-credits :focus-visible { outline: 3px solid #927127; outline-offset: 2px; }
.hj-profile-credits { padding: 12px 5%; }
.hj-profile-credits summary { cursor: pointer; }
.hj-skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .hj-profile .hj-wrap { width: min(92%, 640px); }
  .hj-profile .hj-crumb { padding: 15px 0; font-size: .78rem; }
  .hj-profile .hj-intro { display: flex; flex-direction: column; gap: 20px; padding-top: 2px; }
  .hj-profile .hj-info { display: contents; }
  .hj-profile .hj-class { order: 0; margin: 0 0 -13px; }
  .hj-profile h1 { order: 1; font-size: clamp(2.15rem, 8.5vw, 3.25rem); }
  .hj-profile .hj-gallery { order: 2; width: 100%; }
  .hj-profile .hj-overview { order: 3; margin: 0; }
  .hj-profile .hj-stats { order: 4; margin: 0; gap: 12px 16px; }
  .hj-profile .hj-price { order: 5; margin: 0; }
  .hj-profile .hj-actions { order: 6; margin: 0; }
  .hj-profile .hj-columns { grid-template-columns: 1fr; }
  .hj-profile .hj-thumbs a { flex-basis: 66px; height: 46px; }
  .hj-profile .hj-specs h2 { margin-bottom: 20px; }
}
