.era-board .canvas {
  background: #dfe1d5;
}
.era-number {
  top: -34px;
  left: 50px;
  font:
    160px/1.4 Georgia,
    serif;
  letter-spacing: -0.09em;
  color: #30473e;
}
.era-place {
  left: 396px;
  top: 67px;
  font-size: 16px;
  color: #73513b;
  letter-spacing: 0.18em;
}
.era-board h1 {
  left: 695px;
  top: 42px;
  font-size: 76px;
  line-height: 1.3;
  color: #24372e;
}
.era-factory {
  left: 60px;
  top: 195px;
  width: 843px;
  height: 359px;
  overflow: hidden;
  background: #273731;
}
.era-factory img {
  height: 100%;
  object-fit: cover;
  object-position: 45% 39%;
  filter: grayscale(1) sepia(0.14);
}
.era-factory span {
  position: absolute;
  left: 17px;
  bottom: 15px;
  color: #fff;
  background: #212b25e8;
  padding: 6px 10px;
  font-size: 13px;
}
.era-note {
  left: 945px;
  top: 227px;
  width: 354px;
}
.era-note b {
  font: 700 35px var(--serif);
}
.era-note p {
  font: 400 21px/1.85 var(--serif);
  margin: 17px 0 21px;
}
.era-note small {
  font-size: 12px;
  color: #566056;
}
.era-years {
  left: 60px;
  right: 60px;
  top: 601px;
  display: flex;
  gap: 35px;
  align-items: baseline;
}
.era-years strong {
  color: #824a31;
  font-size: 15px;
}
.era-years a {
  font-family: var(--serif);
  font-size: 17px;
}
.era-years i {
  font: italic 23px Georgia;
}
.era-to {
  left: 60px;
  top: 671px;
  display: flex;
  gap: 42px;
  font-size: 14px;
}
.trail-board .canvas {
  background: #28352f;
  color: #f6edcb;
}
.trail-intro {
  left: 77px;
  top: 51px;
}
.trail-intro .kicker {
  color: #dfb497;
}
.trail-intro h1 {
  font-size: 80px;
  letter-spacing: -0.04em;
  margin: 13px 0 10px;
}
.trail-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: #cbd2c1;
}
.trail-svg {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.trail-l,
.trail-f,
.trail-t,
.trail-c,
.trail-edge {
  text-align: left;
}
.trail-l > *,
.trail-f > *,
.trail-t > *,
.trail-c > * {
  display: block;
}
.trail-board small {
  font-size: 14px;
  color: #ddcdad;
  letter-spacing: 0.06em;
}
.trail-board a b,
.trail-c b {
  font: 700 38px/1.4 var(--serif);
}
.trail-board a span {
  font-size: 16px;
  color: #e4e2cf;
}
.trail-l {
  left: 72px;
  top: 515px;
}
.trail-c {
  left: 482px;
  top: 281px;
}
.trail-c b {
  font-size: 34px;
}
.trail-f {
  left: 804px;
  top: 509px;
}
.trail-t {
  left: 1195px;
  top: 294px;
}
.trail-edge {
  left: 959px;
  top: 391px;
  color: #eedbac;
  font: 500 15px var(--sans);
  background: #28352f;
}
.trail-footer {
  bottom: 32px;
  left: 78px;
  right: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trail-footer a {
  font-size: 19px;
}
.trail-footer span {
  font-size: 12px !important;
  color: #bbc3b5 !important;
}
.graphpage {
  padding: 52px 6.5vw 70px;
  background: #edf0e7;
  min-height: 80vh;
}
.graph-head h1 {
  margin: 9px 0 12px;
}
.graph-head p {
  font-size: 15px;
}
.graph-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26%;
  gap: 4vw;
  align-items: center;
  margin-top: 22px;
}
.net {
  position: relative;
  height: 360px;
  background: #e2e8de;
  overflow: hidden;
}
.net svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}
.net path.fact {
  stroke: #456352;
  stroke-width: 2.5;
}
.net path.anal {
  stroke: #a66550;
  stroke-dasharray: 6 7;
  stroke-width: 2.5;
}
.node,
.edge {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #263d35;
}
.node {
  background: #e2e8de;
  color: #2a4037;
  text-align: center;
  padding: 5px 8px;
  border-bottom: 2px solid #516f58;
}
.node small,
.node b {
  display: block;
}
.node small {
  font-size: 12px;
}
.node b {
  font: 700 clamp(16px, 1.7vw, 27px) var(--serif);
}
.edge {
  background: #f4f4e7;
  font-size: 13px;
  padding: 3px 6px;
}
.edge[aria-pressed="true"] {
  color: #fff;
  background: #435c50;
}
.nf {
  left: 23%;
  top: 42%;
}
.nt {
  left: 74%;
  top: 26%;
}
.nl {
  left: 59%;
  top: 78%;
}
.nb {
  left: 86%;
  top: 65%;
}
.ef {
  left: 47%;
  top: 28%;
}
.ea {
  left: 43%;
  top: 63%;
}
.eb {
  left: 84%;
  top: 45%;
}
#edgeinfo small {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #80472e;
}
#edgeinfo h2 {
  font-size: 28px;
  margin: 12px 0;
}
#edgeinfo p {
  font: 16px/1.85 var(--serif);
}
.graph-foot {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  font-size: 14px;
}
.craft,
.review {
  padding: 56px 6vw 80px;
  max-width: 1540px;
  margin: auto;
}
.craft h1,
.review h1 {
  margin: 15px 0;
}
.craft > p:not(.kicker),
.review > p:not(.kicker) {
  line-height: 1.85;
  max-width: 850px;
  color: #4b594e;
  font-size: 16px;
}
.craft-pair {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  margin-top: 36px;
}
.craft-pair figure {
  position: relative;
  overflow: hidden;
}
.craft-pair figure > img,
.craft-pair .cut-lil {
  width: 100%;
  height: 310px;
  object-fit: contain;
}
.craft-pair .cut-lil {
  background: #224b45;
  overflow: hidden;
}
.craft-pair .cut-lil img {
  width: 118%;
  max-width: none;
  margin-left: -9%;
}
.craft-pair figcaption {
  padding: 12px 0;
  font-size: 13px;
}
.craft-pair .processed-ty > img {
  width: 100%;
  object-fit: cover;
  object-position: 50% 27%;
  filter: grayscale(1);
}
.review > p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 25px;
  margin: 36px 0;
}
.review-grid a > * {
  display: block;
}
.review-grid img {
  box-shadow: 0 5px 14px #25302a14;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.review-grid b {
  font: 700 26px var(--serif);
  margin: 13px 0 5px;
}
.review-grid small {
  color: #657367;
}
dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(590px, 96vw);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100vw;
  background: #f8f7ee;
  border: 0;
  color: #25332b;
  padding: 48px 42px;
  box-shadow: -12px 0 35px #1a201b30;
}
dialog::backdrop {
  background: #12282294;
}
.dialog-close {
  float: right;
  padding: 7px;
  color: #675849;
  font-size: 14px;
}
dialog h2 {
  font: 700 37px/1.4 var(--serif);
  margin: 32px 0 12px;
}
.searchlabel,
.foundnote {
  display: block;
  font-size: 13px;
  color: #657163;
  margin: 14px 0;
}
#q {
  width: 100%;
  padding: 12px 3px;
  font: 17px var(--sans);
  border: 0;
  border-bottom: 2px solid #526c5f;
  background: transparent;
  color: #202c24;
}
.result {
  display: block;
  position: relative;
  padding: 10px 22px 10px 0;
}
.result > * {
  display: block;
}
.result strong {
  font: 700 21px var(--serif);
}
.result small {
  color: #56655b;
  font: 13px/1.75 var(--sans);
}
.result span {
  position: absolute;
  right: 0;
  top: 15px;
}
.bysrc,
.citation {
  font-size: 13px !important;
  color: #6b5d4d;
}
dialog p {
  font-size: 16px;
  line-height: 1.85;
  margin: 15px 0;
}
.full-original {
  display: block;
  margin: 18px 0;
}
.full-original img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.full-original span {
  font-size: 13px;
  display: block;
  margin-top: 10px;
  text-align: center;
}
.dialog-close:focus-visible {
  outline: 2px solid #ad6849;
}
.read-links a:hover,
.text-action:hover {
  color: #71391e;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
