@font-face {
  font-family: "PT Serif"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("pt-serif-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "PT Serif"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("pt-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.hd-atlas.wrap {
  max-width: 1160px; padding: 18px clamp(16px,4vw,52px) 40px; margin: 0 auto;
  --hd-ink: var(--lumi-text,#2a1d1b); --hd-muted: var(--lumi-text-2,#5c4844);
  --hd-rule: var(--lumi-border,#dccdc6); --hd-paper: var(--lumi-card,#fff);
  --hd-wash: var(--lumi-bg-sunken,#f3ece7); color: var(--hd-ink);
}
.hd-atlas .crumbs {margin: 0 0 14px}
.hd-atlas .hd-hero {
  display: grid; grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr);
  gap: clamp(24px,4.6vw,68px); align-items: center; padding: 0 0 32px; margin: 0;
  background: none; border: 0; border-bottom: 1px solid var(--hd-rule); border-radius: 0; box-shadow: none;
}
.hd-atlas .hd-intro {min-width: 0}
.hd-atlas .hd-name {
  margin: 0 0 19px; font: 400 clamp(38px,5vw,72px)/1.06 "PT Serif",Georgia,serif;
  letter-spacing: -.045em; overflow-wrap: break-word;
}
.hd-atlas .hd-name-context {
  display: block; margin-top: 11px; color: var(--hd-muted); letter-spacing: .015em;
  font: 600 clamp(14px,1.4vw,18px)/1.45 var(--font,Inter,Arial,sans-serif);
}
.hd-atlas .hd-deck {max-width: 47ch; margin: 0; font-size: clamp(16px,1.5vw,20px); line-height: 1.57}
.hd-traits {display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 25px 0 26px; padding: 0}
.hd-traits > div {padding-left: 12px; border-left: 2px solid var(--lumi-accent,#ab4945)}
.hd-traits dt {margin: 0 0 3px; font-size: 12px; color: var(--hd-muted)}
.hd-traits dd {margin: 0; font-weight: 650; line-height: 1.35}
.hd-actions {display: flex; gap: 12px 21px; align-items: center; flex-wrap: wrap}
.hd-atlas .hd-action {padding: 12px 20px; font-size: 15px; line-height: 1.4}
.hd-atlas .hd-text-link,.hd-atlas .hd-chapters a,.hd-types-shortcut a {
  color: var(--lumi-accent-strong,#903932); text-decoration: underline; text-underline-offset: .21em;
}
.hd-atlas .hd-text-link {display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600}
.hd-plate {margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--hd-rule); background: var(--hd-paper)}
.hd-plate-art {
  display: grid; place-items: center; padding: 17px;
  background: #e5c9ab url("optics.webp") center center/cover;
}
.hd-plot {position: relative; width: min(100%,214px); aspect-ratio: 660/1017}
.hd-diagram {display: block; width: 100%; height: 100%; object-fit: contain}
.hd-plot .hd-marker {
  position: absolute; transform: translate(-50%,-50%); display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; text-decoration: none; font: 700 14px/1 Inter,Arial,sans-serif;
  color: #482a28; background: transparent; padding: 0;
}
.hd-plot .hd-marker.defined {color: #fff7e9}
.hd-plot .hd-marker:focus-visible {outline: 2px solid #583e39; outline-offset: 1px}
@media (hover: hover) {.hd-plot .hd-marker:hover {outline: 1px solid #583e39; outline-offset: 1px}}
.hd-plate figcaption {display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; padding: 10px 15px; font-size: 12px; color: var(--hd-muted)}
.hd-plate figcaption strong {color: var(--hd-ink); font-weight: 650}
.hd-plate-result {flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--hd-ink)}
.hd-plate-result strong {display: block}
.hd-atlas .hd-reading {display: grid; grid-template-columns: minmax(135px,1fr) minmax(0,3.1fr); gap: clamp(25px,5vw,72px); margin: 34px 0}
.hd-contents {align-self: start; display: grid; position: sticky; top: 72px; padding-left: 13px; border-left: 1px solid var(--hd-rule); gap: 7px}
.hd-contents strong {font-size: 13px; margin-bottom: 4px}
.hd-contents a {color: var(--hd-muted); font-size: 13px; line-height: 1.45; padding: 3px 0}
.hd-contents a:hover {color: var(--lumi-accent-strong); text-decoration: underline}
.hd-chapters {min-width: 0; max-width: 740px}
.hd-atlas .hd-chapters > section {margin: 0 0 37px; scroll-margin-top: 70px}
.hd-atlas .hd-chapters h2,.hd-atlas > section > h2,#hd-types > h2 {
  margin: 0 0 14px; font: 400 clamp(27px,3.1vw,40px)/1.12 "PT Serif",Georgia,serif; letter-spacing: -.027em;
}
.hd-chapters p {font-size: 16px; line-height: 1.66; max-width: 68ch; margin: 0 0 12px}
.hd-chapters .hd-legend-note {font-size: 14px; color: var(--hd-muted)}
.hd-center-list {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 17px; margin: 15px 0 0}
.hd-center {
  display: grid; align-content: start; grid-template-columns: 1fr; position: relative; padding: 11px 0 11px 28px;
  border-top: 1px solid var(--hd-rule); scroll-margin-top: 78px; min-width: 0;
}
.hd-center dt {font-size: 13px; font-weight: 650; line-height: 1.4}
.hd-center dd {font-size: 12px; color: var(--hd-muted); margin: 2px 0 0}
.hd-key {position: absolute; left: 0; top: 12px; width: 20px; height: 20px; display: grid; place-items: center; font: 700 11px/1 Inter,Arial,sans-serif; border-radius: 50%}
.hd-center.defined .hd-key {background: #773745; color: #fff7e9; border: 1px solid #ae7b7a}
.hd-center.open .hd-key {background: #fff3e0; color: #48302c; border: 1px solid #8c7369}
.hd-center:target,.hd-center:focus-visible {outline: 2px solid var(--lumi-accent,#a64b45); outline-offset: 2px; border-radius: 5px}
.hd-atlas .hd-story {padding: clamp(20px,3.3vw,34px); border-radius: 3px 16px 16px 3px; border-left: 3px solid var(--lumi-accent,#aa4e4a); background: var(--hd-wash)}
.hd-story-label {display: block; font-size: 12px; font-weight: 650; color: var(--hd-muted); margin-bottom: 9px}
.hd-atlas .hd-story p:last-child {margin-bottom: 0}
.hd-atlas .hd-chart-note,.hd-atlas .hd-faq details {
  padding: 0; background: transparent; border: 0; border-top: 1px solid var(--hd-rule);
  border-radius: 0; margin: 0; box-shadow: none;
}
.hd-atlas .hd-faq details:last-of-type {border-bottom: 1px solid var(--hd-rule); margin-bottom: 15px}
.hd-atlas .hd-chapters summary {padding: 12px 0; font-size: 15px; font-weight: 600; cursor: pointer}
.hd-atlas .hd-chapters details p {font-size: 15px; margin: 2px 0 12px}
.hd-atlas .hd-faq > p {font-size: 14px}
.hd-types-shortcut {margin: 17px 0; font-weight: 600}
#hd-types {scroll-margin-top: 70px}
#hd-types .types {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-block: 18px}
#hd-types .hd-type-card {
  position: relative; display: grid; grid-template-columns: 66px minmax(0,1fr) 17px; align-items: center;
  gap: 11px; padding: 11px 13px 11px 10px; border: 1px solid var(--lumi-border,#dccdc6);
  border-radius: 14px; color: var(--lumi-text,#2a1d1b); background: var(--lumi-card,#fff); text-decoration: none;
}
#hd-types .hd-thumb {height: 75px; display: grid; place-items: center; background: #eddbbd url("optics.webp") center/cover; border-radius: 9px}
#hd-types .hd-thumb img {height: 67px; width: auto}
#hd-types .types .hd-card-copy {min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent}
#hd-types .hd-card-copy h3 {margin: 0 0 4px; font: 400 clamp(18px,2vw,24px)/1.15 "PT Serif",Georgia,serif; overflow-wrap: break-word}
#hd-types .hd-card-copy p {margin: 0; color: var(--lumi-text-2,#5c4844); font-size: 13px; line-height: 1.45}
#hd-types .hd-type-card:hover,#hd-types .hd-type-card:focus-visible {border-color: var(--lumi-accent,#aa4e4a)}
#hd-types .hd-type-card:focus-visible,.hd-atlas a:focus-visible,.hd-atlas summary:focus-visible {outline: 2px solid var(--lumi-accent,#aa4e4a); outline-offset: 3px}
.hd-card-arrow {align-self: start; color: var(--lumi-accent-strong,#903932); font-size: 17px}
@media (max-width: 780px) {
  .hd-atlas .hd-hero {grid-template-columns: minmax(0,1fr) minmax(220px,.74fr); gap: 19px}
  .hd-atlas .hd-name {font-size: clamp(31px,5.5vw,44px)}
  .hd-atlas .hd-reading {display: block; margin-top: 20px}
  .hd-contents {position: static; display: flex; align-items: baseline; flex-wrap: wrap; padding: 0 0 15px; margin-bottom: 22px; border: 0; border-bottom: 1px solid var(--hd-rule); gap: 4px 16px}
  .hd-contents strong {margin: 0}
}
@media (max-width: 600px) {
  .hd-atlas.wrap {padding: 12px 16px 32px}
  .hd-atlas .hd-hero {grid-template-columns: minmax(0,1fr); gap: 16px; padding-bottom: 22px}
  .hd-atlas .hd-name {font-size: clamp(30px,8.8vw,49px); margin-bottom: 10px}
  .hd-atlas .hd-name-context {margin-top: 3px}
  .hd-atlas .hd-deck {font-size: 15px; line-height: 1.5}
  .hd-traits {margin: 15px 0; gap: 12px 25px}
  .hd-traits dd {font-size: 14px}
  .hd-atlas .hd-action {padding: 10px 14px; font-size: 14px}
  .hd-actions {gap: 10px 15px}
  .hd-plate-art {padding: 12px}
  .hd-plot {width: 160px}
  .hd-plot .hd-marker {font-size: 12px; width: 26px; height: 26px}
  .hd-center-list {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 13px}
  .hd-chapters p {font-size: 15.5px}
  #hd-types .types {grid-template-columns: minmax(0,1fr)}
}
@media (max-width: 350px) {
  .hd-atlas.wrap {padding-inline: 12px}
  .hd-atlas .hd-name {font-size: 28px}
  .hd-atlas .hd-text-link {font-size: 13px}
  .hd-center {padding-left: 24px}
}
