/* The four exhibits use their own material palettes. Guide controls use the site's tokens. */
.exhibition {
  padding-block-end: 4rem;
}
.ex-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
  margin-bottom: clamp(28px, 4vw, 58px);
}
.ex-index a {
  display: grid;
  gap: 2px;
  padding: 15px 10px 15px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 640;
}
.ex-index a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ex-index span,
.ex-study-head > span {
  font: 500 0.75rem/1.4 var(--font-mono);
  color: var(--ink-2);
}
.ex-study {
  margin-block-end: clamp(42px, 6vw, 84px);
}
.ex-study-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ex-study-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.055em;
}
.ex-frame {
  overflow: hidden;
  border-radius: 6px;
  isolation: isolate;
}
.ex-frame h3,
.ex-frame p,
.ex-frame dl,
.ex-frame dd,
.ex-frame strong {
  margin: 0;
}
.ex-micro,
.ex-poster-rule,
.ex-poster-foot,
.ex-sound header span {
  font: 600 clamp(10px, 1.05vw, 13px)/1.45 var(--font-mono);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.ex-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-block: 15px;
  border-bottom: 1px solid var(--rule);
}
.ex-choice {
  border: 0;
  margin: 0;
  padding: 0;
}
.ex-choice legend {
  float: left;
  font-size: 0.85rem;
  font-weight: 650;
  margin-right: 12px;
  line-height: 42px;
}
.ex-choice label {
  display: inline-flex;
  position: relative;
  cursor: pointer;
}
.ex-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ex-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 2px 13px;
  border: 1px solid var(--rule-strong);
  font-size: 0.85rem;
  font-weight: 580;
  background: var(--surface);
  color: var(--ink);
}
.ex-choice label + label span {
  border-inline-start: 0;
}
.ex-choice label:first-of-type span {
  border-radius: 6px 0 0 6px;
}
.ex-choice label:last-of-type span {
  border-radius: 0 6px 6px 0;
}
.ex-choice input:checked + span {
  background: var(--ink);
  color: var(--ground);
}
.ex-choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  z-index: 1;
}
.ex-check {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  color: var(--ink-2);
  font-size: 0.86rem;
  cursor: pointer;
}
.ex-check input {
  accent-color: var(--ink);
}
.ex-lesson {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.88fr);
  gap: 7px clamp(20px, 5vw, 72px);
  align-items: start;
  padding-top: 13px;
}
.ex-lesson > p {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 70ch;
  margin: 0;
}
.ex-lesson details {
  border-inline-start: 2px solid var(--rule-strong);
  padding-inline-start: 14px;
  min-width: 0;
}
.ex-lesson summary {
  cursor: pointer;
  font-weight: 640;
}
.ex-lesson details p {
  font-size: 0.9rem;
  line-height: 1.55;
}
.ex-lesson pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 500 0.8rem/1.55 var(--font-mono);
  background: var(--well);
  color: var(--ink);
  padding: 12px;
}
.ex-lesson > small {
  grid-column: 1/-1;
  color: var(--ink-2);
  font-size: 0.79rem;
}
.ex-lesson a {
  color: var(--link);
  text-underline-offset: 3px;
}
.ex-orbit-frame {
  background: #030303;
  color: #f7f2e8;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
}
.ex-orbit-copy {
  padding: clamp(18px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  z-index: 1;
}
.ex-orbit-copy h3 {
  font:
    500 clamp(52px, 8.1vw, 122px)/0.96 Georgia,
    serif;
  letter-spacing: -0.09em;
  white-space: nowrap;
}
.ex-orbit-copy h3 i {
  font-weight: 400;
}
.ex-orbit-copy .ex-micro,
.ex-orbit-date {
  color: #c9ccce;
}
.ex-orbit-date {
  font: 500 0.76rem/1.35 var(--font-mono);
  margin-bottom: 10px !important;
}
.ex-orbit-copy h3 + p {
  max-width: 29ch;
  color: #d8d7d2;
  line-height: 1.5;
  margin-top: 12px;
}
.ex-orbit-photo {
  overflow: hidden;
  position: relative;
  min-height: 0;
  aspect-ratio: 1.65;
  background: #000;
}
.ex-orbit-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 68%;
  transform-origin: 57% 47%;
  transition: transform 320ms ease-out;
}
.ex-earthrise:has([value="detail"]:checked) .ex-orbit-photo img {
  transform: scale(2);
}
.ex-thirds {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      to right,
      transparent calc(33.33% - 1px),
      #f9edbc99 33.33%,
      transparent calc(33.33% + 1px),
      transparent calc(66.66% - 1px),
      #f9edbc99 66.66%,
      transparent calc(66.66% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent calc(33.33% - 1px),
      #f9edbc99 33.33%,
      transparent calc(33.33% + 1px),
      transparent calc(66.66% - 1px),
      #f9edbc99 66.66%,
      transparent calc(66.66% + 1px)
    );
}
.ex-earthrise:has([name="orbital-guides"]:checked) .ex-thirds {
  opacity: 1;
}
.ex-objects {
  background: #f2eee5;
  color: #392e23;
  border: 1px solid #d5cfc1;
}
.ex-object-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 4.5%;
  border-bottom: 1px solid #b9ad9a;
  padding-block: 17px;
}
.ex-object-mast strong {
  font:
    500 clamp(1.4rem, 2.6vw, 2.2rem)/1 Georgia,
    serif;
  letter-spacing: -0.05em;
}
.ex-object-mast span,
.ex-object-copy dt {
  font: 500 0.74rem/1.4 var(--font-mono);
}
.ex-object-list {
  display: grid;
  padding: clamp(16px, 2.5vw, 34px) 4.5%;
  gap: 22px;
}
.ex-object {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 5vw, 70px);
  align-items: center;
}
.ex-object-photo {
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  background: #dcd6cc;
}
.ex-object-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.ex-object-copy h3 {
  font:
    400 clamp(36px, 5.5vw, 81px)/1.07 Georgia,
    serif;
  letter-spacing: -0.065em;
  margin: 7px 0;
}
.ex-object-copy p {
  font-size: 0.92rem;
}
.ex-object-copy dl {
  max-width: 29rem;
  margin-top: clamp(16px, 2.5vw, 38px);
  border-top: 1px solid #b9ad9a;
}
.ex-object-copy dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #c9beae;
  padding: 7px 0;
}
.ex-object-copy dd {
  font-size: 0.87rem;
  font-weight: 590;
}
.ex-vessels:has([value="jar"]:checked) .ex-object-vase,
.ex-vessels:has([value="vase"]:checked) .ex-object-jar {
  display: none;
}
.ex-vessels:has([value="pair"]:checked) .ex-object-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ex-vessels:has([value="pair"]:checked) .ex-object {
  display: block;
}
.ex-vessels:has([value="pair"]:checked) .ex-object-copy {
  padding-top: 12px;
}
.ex-vessels:has([value="pair"]:checked) h3 {
  font-size: clamp(25px, 3vw, 43px);
}
.ex-poster {
  color: #fff8d8;
  background: #302766;
  padding: clamp(17px, 3vw, 40px);
}
.ex-poster-rule,
.ex-poster-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-block-start: 1px solid #bab4d5;
  padding-block-start: 10px;
}
.ex-poster-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 6px;
}
.ex-poster-body h3 {
  font: 780 clamp(75px, 12vw, 176px)/0.83 var(--font-body);
  letter-spacing: -0.062em;
  padding: 18px 0;
}
.ex-poster-body h3 i {
  font:
    italic 500 1em/0.8 Georgia,
    serif;
  letter-spacing: -0.075em;
}
.ex-poster-body h3 span {
  color: #ff865f;
}
.ex-ink-wheel {
  width: 100%;
  max-height: 29rem;
  aspect-ratio: 1.32;
  position: relative;
}
.ex-ink {
  position: absolute;
  inset: 2%;
  transform: rotate(-10deg);
}
.ex-ink b {
  position: absolute;
  inset: 0;
  mask: url("/studies/orbital-contours.svg") center / contain no-repeat;
  background: #ff8564;
}
.ex-ink b + b {
  background: #fff3ad;
  transform: translate(6px, -4px);
}
.ex-phase-shift:has([value="aligned"]:checked) .ex-ink b + b {
  transform: none;
}
.ex-swatches {
  display: flex;
  gap: 4px;
}
.ex-swatches i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff8564;
}
.ex-swatches i + i {
  background: #fff3ad;
}
.ex-motion-note {
  display: none;
  margin: 0.5rem 0;
  font-size: 0.8rem;
}
@keyframes ex-turn {
  from {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(350deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-reduce-motion="on"])
    .ex-phase-shift:has([name="phase-motion"]:checked)
    .ex-ink {
    animation: ex-turn 18s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ex-orbit-photo img {
    transition: none;
  }
  .ex-phase-shift:has([name="phase-motion"]:checked) .ex-motion-note {
    display: block;
  }
}
html[data-reduce-motion="on"] .ex-orbit-photo img {
  transition: none;
}
html[data-reduce-motion="on"]
  .ex-phase-shift:has([name="phase-motion"]:checked)
  .ex-motion-note {
  display: block;
}
.ex-sound {
  background: #c8e2d9;
  color: #153d3b;
  padding: clamp(17px, 3.6vw, 48px);
}
.ex-sound header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #719b93;
  padding-block-end: 14px;
}
.ex-sound h3 {
  font:
    500 clamp(26px, 4vw, 55px)/1 Georgia,
    serif;
  letter-spacing: -0.06em;
}
.ex-sound-body {
  display: grid;
  grid-template-columns: 0.63fr 1.37fr;
  align-items: center;
  gap: 14px;
  padding-top: clamp(22px, 4vw, 56px);
}
.ex-sound svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.ex-reading {
  display: grid;
  gap: 5px;
}
.ex-reading strong {
  font: 550 clamp(53px, 8vw, 108px)/1 var(--font-body);
  letter-spacing: -0.08em;
  font-variant-numeric: tabular-nums;
}
.ex-reading strong small {
  font-size: 0.4em;
}
.ex-reading > span:last-child {
  font-size: 0.9rem;
}
.ex-gridline {
  stroke: #77a59a;
  stroke-width: 0.75;
}
.ex-water {
  fill: #82b5a5;
}
.ex-tideline {
  fill: none;
  stroke: #296054;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.ex-sound svg text {
  font: 12px var(--font-mono);
  fill: #214e47;
}
.ex-tide-marker path {
  stroke: #59381d;
  stroke-width: 1.4;
  stroke-dasharray: 3 3;
}
.ex-tide-marker circle {
  fill: #fff3c8;
  stroke: #583a20;
  stroke-width: 2.2;
}
.ex-soundings:has([value="early"]:checked) :is(.ex-peak, .ex-late),
.ex-soundings:has([value="peak"]:checked) :is(.ex-early, .ex-late),
.ex-soundings:has([value="late"]:checked) :is(.ex-early, .ex-peak) {
  display: none;
}
@media (max-width: 46rem) {
  .ex-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ex-index a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
  .ex-lesson {
    grid-template-columns: 1fr;
  }
  .ex-orbit-frame {
    grid-template-columns: 1fr;
  }
  .ex-orbit-copy {
    gap: 12px;
    padding: 18px 20px 0;
  }
  .ex-orbit-copy > .ex-micro:last-child {
    display: none;
  }
  .ex-orbit-copy h3 + p {
    max-width: 43ch;
    font-size: 0.88rem;
  }
  .ex-orbit-photo {
    aspect-ratio: 1.9;
  }
  .ex-orbit-copy h3 {
    font-size: clamp(54px, 13vw, 85px);
  }
  .ex-object {
    gap: 14px;
    grid-template-columns: 1.05fr 0.95fr;
  }
  .ex-object-copy dt,
  .ex-object-copy dd {
    font-size: 0.72rem;
  }
  .ex-object-photo {
    aspect-ratio: 0.85;
  }
  .ex-object-copy h3 {
    font-size: clamp(28px, 8vw, 46px);
  }
  .ex-poster-body h3 {
    font-size: clamp(52px, 13.9vw, 88px);
  }
  .ex-poster-rule,
  .ex-poster-foot {
    font-size: 9px;
  }
  .ex-sound-body {
    grid-template-columns: 1fr;
  }
  .ex-sound svg text {
    font-size: 15px;
  }
  .ex-sound header span {
    max-width: 16ch;
    text-align: right;
  }
  .ex-choice legend {
    float: none;
    padding: 0;
    font-size: 0.77rem;
    line-height: 1.5;
    margin: 0 0 4px;
  }
}
@media (max-width: 27rem) {
  .ex-object-copy dl div {
    display: block;
  }
  .ex-object-copy dd {
    margin-top: 3px;
  }
  .ex-study-head > span {
    font-size: 0.66rem;
  }
  .ex-choice span {
    padding-inline: 10px;
  }
}
@media (pointer: coarse) {
  .ex-choice span,
  .ex-check,
  .ex-lesson summary {
    min-height: 44px;
  }
  .ex-lesson summary {
    align-content: center;
  }
}

.registration-study {background:#253a2e;color:#faf6e8;}
.registration-inner {display:grid;align-items:center;gap:24px;padding-block:clamp(36px,6vw,76px);}
.registration-inner h2 {margin:0;font-size:clamp(2.4rem,5.5vw,5.3rem);line-height:.98;letter-spacing:-.06em;color:inherit;}
.registration-inner p {max-width:35ch;margin-top:15px;line-height:1.5;color:#dae0d8;}
@media(min-width:48rem){.registration-inner{grid-template-columns:.8fr 1.2fr;}}

.assembly { min-width:0; margin:0; }
.assembly svg { display:block; width:100%; height:auto; overflow:visible; }
.assembly figcaption { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; font: 500 .75rem/1.3 var(--font-mono); color:#dae0da; }
.assembly input { width:clamp(80px,14vw,180px); accent-color:var(--mark); cursor:pointer; min-height:32px; }
.assembly output { min-width:6ch; }
.plate-grid, .ruler-tick, .screen-rule, .stencil-outline, .plate-pin-slot, .print-light-line { fill:none; stroke:currentColor; }
.plate-grid { color:#758377; opacity:.65; stroke-width:.75; }
.plate-grid path { fill:none; }
.plate-grid .plate-face { fill:#a9b5a9; }
.plate-edge { fill:#55665d; stroke:#293a31; stroke-width:1; }
.plate-face { stroke:#d6dfcf; stroke-width:1.2; }
.plate-grid.assembly-plate { opacity:1; }
.plate-components .plate-face { fill:#b6c8b9; fill-opacity:.88; }
.plate-components .plate-edge { fill:#71877a; }
.plate-screen .plate-face { fill:#e6e3d8; }
.plate-screen .plate-edge { fill:#b3ae9f; }
.plate-pin { fill:#48574d; stroke:#d9dece; }
.plate-pin-slot,.print-light-line { color:#e5e6d9; stroke-width:1.3; }
.ruler-tick,.stencil-outline { color:#40584c; stroke-width:1.3; }
.stencil-bar { fill:#698174; }
.screen-paper { fill:#f9f6ed; }
.screen-rule { color:#777f73; stroke-width:1.1; }
.print-brand,.print-head,.print-ink { fill:#26322b; }
.print-brand { font:700 8px var(--font-mono); letter-spacing:1.6px; }
.print-head { font:650 27px var(--font-display); letter-spacing:-1.8px; }
.fold-side { fill:#873d22; }
.fold-top { fill:#ee7740; stroke:#a74a26; stroke-width:.7; }
@media(max-width:52.99rem) { .assembly { max-width:38rem; width:100%; margin-inline:auto; } }
.assembly-hint { padding-left:12px; border-left:1px solid #657369; }
@media(prefers-reduced-motion:reduce){.assembly-hint{display:none;}}
html[data-reduce-motion="on"] .assembly-hint { display:none; }
.assembly figcaption[inert] {visibility:hidden;}

.composition-edition .page-header-band { background:var(--ground); border:0; padding-block:clamp(2.2rem,5vw,5rem) 1.35rem; }
.composition-edition :is(.narrow-head,.exhibition) { max-width:86rem; padding-inline:clamp(1.15rem,5.3vw,5rem); }
.composition-edition .page-header-band h1 { font:480 clamp(3.2rem,7.6vw,7.2rem)/.92 Baskerville,Georgia,serif; letter-spacing:-.055em; }
.composition-edition .page-header-band .hero-lede { max-width:53ch; font-size:clamp(1.04rem,1.5vw,1.3rem); }
