/* The journal carries the guide's colors and system typography around four editorial plates. */
.jr {
  --jr-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  padding-block: clamp(1.35rem, 3.8vw, 3.6rem) clamp(2.6rem, 6.4vw, 5.8rem);
}
.jr h1,
.jr h2,
.jr p,
.jr figure {
  margin: 0;
}
.jr h1,
.jr h2 {
  color: var(--ink);
  text-wrap: balance;
}
.jr-mast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  padding-block-end: 1.05rem;
  border-block-end: 2px solid var(--ink);
}
.jr-mast h1,
.jr-article-head h1 {
  font: 550 clamp(2.9rem, 7vw, 6.6rem)/1 var(--jr-serif);
  letter-spacing: -0.065em;
}
.jr-mast p,
.jr-deck,
.jr-contents p,
.jr-figure figcaption,
.jr-aside,
.jr-next {
  color: var(--ink-2);
}
.jr-topic,
.jr-byline,
.jr-next > span {
  font: 550 0.77rem/1.5 var(--font-mono);
}
.jr-lead {
  padding-block: clamp(1rem, 2.3vw, 2rem);
  border-bottom: 1px solid var(--rule-strong);
}
.jr-lead-link {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4.4rem);
}
.jr-lead-link,
.jr-contents a {
  color: var(--ink);
  text-decoration: none;
}
.jr-lead-link:hover h2,
.jr-contents a:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.12em;
}
.jr-lead h2 {
  max-width: 13ch;
  font: 530 clamp(2.4rem, 4.7vw, 4.75rem)/1.025 var(--jr-serif);
  letter-spacing: -0.055em;
  margin-block: 0.45rem 0.85rem;
}
.jr-deck {
  max-width: 57ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.5;
}
.jr-read {
  display: inline-block;
  color: var(--link);
  margin-top: 1.05rem;
  font-size: 0.9rem;
  font-weight: 650;
}
.jr-contents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.05rem, 2.2vw, 2rem);
  list-style: none;
  padding: 0;
  margin: clamp(1.1rem, 2.3vw, 2rem) 0 0;
}
.jr-contents a {
  display: grid;
  gap: 1rem;
}
.jr-contents h2 {
  font: 550 clamp(1.5rem, 2.55vw, 2.45rem)/1.12 var(--jr-serif);
  letter-spacing: -0.045em;
  margin-block: 0.35rem 0.5rem;
}
.jr-contents p:not(.jr-topic) {
  font-size: 0.93rem;
  line-height: 1.52;
}
.jr-plate {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.9;
  overflow: hidden;
  width: 100%;
  isolation: isolate;
}
.jr-lead .jr-plate {
  aspect-ratio: 1.61;
}
.jr-plate-crop {
  background: #dc6f4b;
}
.jr-contact {
  display: flex;
  width: 88%;
  justify-content: center;
  align-items: center;
}
.jr-print {
  padding: 1.9% 1.9% 1.25%;
  background: #f8f1dd;
  color: #2b251d;
  box-shadow: 0 8px 15px #43271432;
  width: 53%;
}
.jr-print-wide {
  transform: rotate(-6deg) translateY(-4%);
}
.jr-print-close {
  margin-left: -3%;
  transform: rotate(5deg) translateY(7%);
}
.jr-print > div {
  aspect-ratio: 1.38;
  overflow: hidden;
  background: #000;
}
.jr-print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 70%;
  display: block;
}
.jr-print-close img {
  transform: scale(2.45);
  transform-origin: 57% 49%;
}
.jr-print span {
  display: block;
  margin-top: 4px;
  font: 500 clamp(8px, 1.2vw, 13px)/1.4 var(--font-mono);
}
.jr-plate-card {
  background: #c8ad8d;
}
.jr-object-card {
  width: 58%;
  overflow: hidden;
  background: #faf4e6;
  color: #332c22;
  border: 1px solid #a28d71;
  box-shadow: 3px 5px 0 #ad9477;
  display: grid;
  align-items: center;
  grid-template-columns: 1.12fr 1fr;
  transform: rotate(-4deg);
}
.jr-object-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  object-position: center;
}
.jr-object-card div {
  padding: 9%;
}
.jr-object-card b {
  font: 500 clamp(14px, 2vw, 30px)/1.05 var(--jr-serif);
  letter-spacing: -0.045em;
}
.jr-object-card span {
  display: block;
  font-size: clamp(7px, 0.75vw, 12px);
  margin-top: 0.38rem;
  line-height: 1.3;
}
.jr-plate-tide {
  background: #c3ded2;
}
.jr-chart {
  width: 90%;
  max-height: 91%;
  display: block;
}
.jr-plate-motion {
  background: #382c56;
}
.jr-registration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92%;
  height: 88%;
}
.jr-wheel {
  width: 50%;
  height: 100%;
  position: relative;
  transform: rotate(-17deg);
}
.jr-wheel-turned {
  transform: rotate(35deg);
}
.jr-wheel i {
  position: absolute;
  inset: 0;
  background: #ff9978;
  mask: url("/studies/orbital-contours.svg") center/contain no-repeat;
}
.jr-wheel i + i {
  background: #fcf0ab;
  transform: translate(3px, -2px);
}
.jr-article-head {
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(1.3rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--rule-strong);
}
.jr-back,
.jr-aside a,
.jr-next a,
.jr-figure a,
.jr-exercise a {
  color: var(--link);
  text-underline-offset: 0.19em;
}
.jr-back {
  width: fit-content;
  font-size: 0.9rem;
}
.jr-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: var(--ink-2);
}
.jr-byline time {
  border-left: 1px solid var(--rule-strong);
  padding-inline-start: 1rem;
}
.jr-article-head h1 {
  max-width: 20ch;
  font-size: clamp(2.65rem, 6.35vw, 5.9rem);
}
.jr-article-head .jr-deck {
  max-width: 65ch;
}
.jr-story-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 5vw, 5rem);
  padding-top: clamp(1.3rem, 3vw, 2.5rem);
}
.jr-aside {
  position: sticky;
  top: 5.4rem;
}
.jr-aside nav {
  display: grid;
  gap: 0.25rem;
}
.jr-aside strong {
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}
.jr-aside a {
  display: block;
  width: fit-content;
  font-size: 0.9rem;
  line-height: 1.4;
  padding-block: 0.25rem;
}
.jr-story {
  min-width: 0;
  width: 100%;
  max-width: 48rem;
}
.jr-figure .jr-plate {
  aspect-ratio: 2.55;
}
.jr-figure .jr-contact {
  width: 68%;
}
.jr-figure .jr-object-card {
  width: 44%;
}
.jr-figure .jr-registration {
  width: 70%;
}
.jr-figure figcaption {
  max-width: 70ch;
  padding-block: 0.6rem 1rem;
  font-size: 0.84rem;
  line-height: 1.48;
  border-bottom: 1px solid var(--rule);
}
.jr-figure figcaption a {
  white-space: normal;
}
.jr-section {
  max-width: 40rem;
  margin-top: clamp(1.65rem, 3vw, 2.7rem);
}
.jr-section h2,
.jr-exercise h2 {
  font: 570 clamp(1.6rem, 2.7vw, 2.3rem)/1.15 var(--jr-serif);
  letter-spacing: -0.035em;
}
.jr-section p,
.jr-exercise p {
  margin-top: 0.8rem;
  font-size: clamp(1.01rem, 1.4vw, 1.13rem);
  line-height: 1.65;
}
.jr-exercise {
  max-width: 40rem;
  margin-block: 2rem 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  background: var(--well);
  border-inline-start: 3px solid var(--mark);
}
.jr-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.2rem;
}
.jr-exercise a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 650;
}
.jr-next {
  display: grid;
  justify-items: start;
  gap: 0.3rem;
  border-top: 1px solid var(--rule-strong);
  padding-top: 1rem;
}
.jr-next a {
  font: 560 clamp(1.35rem, 2vw, 1.75rem)/1.25 var(--jr-serif);
}
.jr a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
@media (max-width: 48rem) {
  .jr-contents {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .jr-contents li + li {
    border-top: 1px solid var(--rule);
  }
  .jr-contents a {
    padding-block: 1rem;
    grid-template-columns: minmax(105px, 0.55fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
  }
  .jr-contents .jr-plate {
    aspect-ratio: 1.3;
  }
  .jr-lead-link {
    grid-template-columns: 1.12fr 1fr;
    gap: 1.15rem;
  }
  .jr-article-head {
    gap: 0.7rem;
  }
  .jr-aside {
    position: static;
  }
  .jr-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jr-aside nav {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
  }
  .jr-aside nav strong {
    width: 100%;
    margin: 0;
  }
  .jr-figure .jr-contact {
    width: 80%;
  }
}
@media (max-width: 35rem) {
  .jr-lead-link {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .jr-lead-link .jr-plate {
    aspect-ratio: 1.9;
  }
  .jr-lead h2 {
    max-width: none;
    margin-block: 0.2rem 0.45rem;
  }
  .jr-contents .jr-plate {
    aspect-ratio: 1.02;
  }
  .jr-object-card {
    width: 83%;
  }
  .jr-contents .jr-chart {
    width: 98%;
  }
  .jr-aside nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.75rem;
  }
  .jr-aside nav strong {
    grid-column: 1/-1;
  }
  .jr-figure .jr-plate {
    aspect-ratio: 1.9;
  }
  .jr-figure .jr-object-card {
    width: 61%;
  }
  .jr-print-close {
    margin-left: -2%;
  }
}
@media (pointer: coarse) {
  .jr-back,
  .jr-aside a,
  .jr-exercise a,
  .jr-next a {
    min-height: 44px;
    align-content: center;
  }
}
