/* The approved star field leads into four photographed objects. */
.folio {
  --sheet: #f4eee2;
  --text: #302d27;
  --secondary: #5c554a;
  --rule: #c8baa3;
  --accent: #713c31;
  --folio-gutter: clamp(24px, 6.5vw, 96px);
  color: var(--text);
  background: var(--sheet);
  padding-block: clamp(64px, 7vw, 112px);
  scroll-margin-top: 0;
}
.folio-frame { width: min(calc(100% - 2 * var(--folio-gutter)), 1328px); margin-inline: auto; }
.folio h2, .folio h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.052em; text-wrap: balance; }
.folio h2 { font-size: clamp(3rem, 5.6vw, 5.75rem); line-height: .99; }
.folio p { text-wrap: pretty; }
.folio .entry-title { position: static; z-index: auto; color: inherit; background: none; }
.object-medium {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font: 600 .875rem/1.45 Arial, sans-serif;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.object-medium::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.entry-title h2 { margin-top: 16px; }
.entry-prose > p, .reading-head p { color: var(--secondary); font: 1.125rem/1.62 Georgia, serif; max-width: 38ch; }
.fan-layout, .mirror-layout {
  display: grid;
  grid-template-columns: minmax(0, .81fr) minmax(0, 1.22fr);
  grid-template-areas: "title plate" "prose plate";
  grid-template-rows: 1fr 1.22fr;
  column-gap: clamp(32px, 6vw, 96px);
}
.entry-title { grid-area: title; align-self: end; }
.entry-prose { grid-area: prose; margin-top: 24px; align-self: start; }
.fan-plate, .mirror-plate { grid-area: plate; min-width: 0; }
.fan-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.55;
  background: #332831;
  color: #edddbe;
}
.fan-orbit, .fan-orbit::before {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #c5a78e40;
}
.fan-orbit { width: 82%; left: -13%; top: -14%; }
.fan-orbit::before { content: ""; inset: 6%; border-color: #c5a78e25; }
.fan-whole {
  position: absolute;
  top: 5%; left: 8%; width: 49%; height: 90%; object-fit: contain;
  transform: rotate(-10deg);
  filter: drop-shadow(8px 12px 6px #170f1959);
}
.fan-loupe {
  position: absolute;
  width: 34%; aspect-ratio: 1;
  left: 60%; top: 35%;
  border: 1px solid #d7c1a185;
  background: #46373e;
  border-radius: 50%;
}
.detail-pointer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.detail-pointer line { stroke: #e4c9a5; stroke-width: 1; }
.detail-pointer circle { fill: #493642; stroke: #fce3ba; stroke-width: 1.5; }
.fan-loupe img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.detail-tag {
  position: absolute;
  left: 56%; width: 42%; top: 91%;
  transform: translateY(-50%);
  text-align: center; color: #ecddca;
  font: .875rem/1.3 Georgia, serif;
}
.fan-plate figcaption, .mirror-plate figcaption { display: block; border: 0; padding: 0; margin-top: 8px; }
.photo-choices { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 0 20px; }
.photo-choices button {
  appearance: none;
  padding: 8px 0;
  min-height: 44px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--secondary);
  font: 500 .94rem/1.3 Arial, sans-serif;
}
.photo-choices button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); font-weight: 700; }
.photo-choices button:hover { color: var(--accent); }
.photo-note { margin-top: 8px; color: var(--secondary); font: 1rem/1.45 Georgia, serif; min-height: 2.9em; max-width: 63ch; }
.price-action { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.object-price { font: 1.5rem/1.3 Georgia, serif; letter-spacing: -.035em; }
.solid-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 24px; background: var(--accent); color: #fff7eb;
  font-weight: 600; text-decoration: none;
}
.solid-link:hover { background: #532b24; }
.folio-link, .inline-action {
  display: inline-flex; align-items: center; min-height: 42px; width: fit-content;
  padding-block: 6px 4px;
  border-bottom: 1px solid currentColor;
  color: var(--accent); text-decoration: none;
  font-size: 1rem; font-weight: 600;
}
.folio-link:hover, .collection-story:hover .inline-action { border-bottom-width: 2px; }

.mirror-folio {
  --text: #f3ebdd; --secondary: #dbd5c7; --accent: #e0c98f;
  background: #1b2b2f;
}
.mirror-layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .78fr);
  grid-template-areas: "plate title" "plate prose";
  grid-template-rows: 1fr 1.35fr;
  column-gap: clamp(48px, 8vw, 144px);
}
.mirror-mount {
  display: grid; place-items: center;
  aspect-ratio: 1.38;
  background: #111d21;
  border: 1px solid #887c6159;
  overflow: hidden;
}
.mirror-mount img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.mirror-mount[data-face="back"] { background: #132225; }
.mirror-mount[data-face="back"] img { width: auto; max-width: 94%; height: 92%; }
.mirror-mount[data-face="front"] img { width: 83%; height: 90%; }
.mirror-folio .entry-prose .folio-link { margin-top: 22px; }
.mirror-folio .photo-choices button:hover { color: #fff; }
.mirror-folio .photo-choices button[aria-pressed="true"] { border-color: #e0c98f; }
.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.row-heading h2, .reading-head h2 { font-size: clamp(2.7rem, 4.7vw, 4.6rem); }
.row-heading .folio-link { flex: none; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.collection-story { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.pair-plate { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.95; }
.pair-plate::before { content: ""; position: absolute; inset: 7% 4%; border: 1px solid #cfb68a54; z-index: -1; }
.beast-plate { background: #43483e; }
.beast, .paper-print {
  position: absolute; height: 86%; width: 42%; top: 7%; left: 9%;
  object-fit: contain; transform: rotate(-7deg);
  filter: drop-shadow(4px 8px 5px #211d2644);
}
.beast-crop, .print-crop {
  position: absolute; width: 36%; left: 53%; top: 16%; aspect-ratio: 1;
  overflow: hidden; border-radius: 50%; border: 2px solid #cfb68ab3;
}
.beast-crop img, .print-crop img { width: 100%; height: 100%; object-fit: cover; }
.paper-plate { background: #b79a77; }
.paper-plate::before { border-color: #594c3b54; }
.paper-print { transform: rotate(8deg); }
.print-crop { border-radius: 0; border-color: #efe5ce; box-shadow: 0 0 0 5px #cfbaa0; }
.pair-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding-top: 24px; }
.pair-copy h3 { margin-top: 8px; font-size: clamp(2.1rem, 3.1vw, 3.3rem); line-height: 1.08; }
.pair-copy > p:not(.object-medium) { margin: 12px 0 16px; max-width: 45ch; font: 1.0625rem/1.56 Georgia, serif; color: var(--secondary); }
.pair-copy .inline-action { margin-top: auto; }
.symbol-chapters { background: #e7deca; border-top: 1px solid #beb09b; }
.reading-layout { display: grid; grid-template-columns: .8fr 1.1fr; gap: clamp(32px, 9vw, 144px); }
.reading-head { align-self: center; }
.reading-head p { margin-top: 20px; }
.reading-index { border-bottom: 1px solid #b5a58c; }
.reading-index a {
  display: flex; align-items: center; gap: 24px; border-top: 1px solid #b5a58c;
  padding: 16px 0; min-height: 96px; color: inherit; text-decoration: none;
}
.reading-index strong { display: block; font: 400 clamp(1.4rem, 2.1vw, 2rem)/1.16 Georgia, serif; letter-spacing: -.035em; }
.reading-index small { display: block; margin-top: 5px; color: var(--secondary); font-size: .94rem; line-height: 1.4; }
.reading-index a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.reading-illustration { width: 64px; height: 64px; display: grid; place-items: center; flex: none; }
.reading-illustration img { width: 54px; height: 54px; object-fit: contain; filter: brightness(.48) sepia(.4); }
.dipper-study svg { width: 54px; fill: #6a493a; stroke: #6a493a; stroke-width: 1.15; }
.dipper-study svg path { fill: none; }
.letter-study img { width: 45px; height: 45px; }

@media (max-width: 800px) {
  .folio { --folio-gutter: clamp(20px, 5.5vw, 40px); }
  .fan-layout, .mirror-layout {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "plate" "prose";
    grid-template-rows: auto; row-gap: 24px;
  }
  .entry-prose { margin-top: 0; }
  .entry-prose > p { max-width: 56ch; }
  .fan-plate, .mirror-plate { max-width: 660px; width: 100%; }
  .photo-note { min-height: 0; }
  .price-action { margin-top: 20px; }
  .reading-layout { grid-template-columns: 1fr; gap: 32px; }
  .pair-copy h3 { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  .folio { padding-block: 48px 56px; }
  .entry-title h2 { margin-top: 10px; }
  .folio h2 { font-size: clamp(2.5rem, 10.5vw, 3.5rem); }
  .fan-board { aspect-ratio: 1.24; }
  .fan-whole { left: 4%; width: 52%; height: 86%; top: 7%; }
  .fan-loupe { left: 57%; width: 39%; top: 34%; }
  .detail-tag { left: 54%; width: 45%; top: 89%; }
  .fan-plate figcaption, .mirror-plate figcaption { margin-top: 6px; }
  .photo-choices { gap: 0 16px; }
  .photo-choices button { font-size: .92rem; }
  .entry-prose > p { font-size: 1.0625rem; }
  .mirror-mount { aspect-ratio: 1.14; }
  .pair { grid-template-columns: 1fr; gap: 40px; }
  .pair-plate { aspect-ratio: 1.8; }
  .pair-copy { padding-top: 18px; }
  .row-heading { display: block; margin-bottom: 24px; }
  .row-heading .folio-link { margin-top: 8px; }
  .reading-index a { gap: 16px; }
  .reading-illustration { width: 48px; height: 48px; }
  .reading-illustration img, .dipper-study svg { max-width: 44px; max-height: 44px; }
}

/* The studio's statement and the photographic inscription study belong to this homepage. */
[data-scene="galaxy"] .opening-copy #scene-origin {
  display: flex;
  color: #e6cda3;
  font: 600 .875rem/1.4 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[data-scene="galaxy"] .opening-copy h1 { font-size: clamp(3rem, 4.95vw, 5.75rem); }
[data-scene="galaxy"] .opening-copy > #scene-intro { max-width: 38ch; text-wrap: pretty; }
[data-scene="galaxy"] .opening-copy .opening-actions { flex-wrap: wrap; }
.studio-folio {
  --sheet: #ece3d1;
  border-bottom: 1px solid #beaf95;
}
.studio-spread {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: center;
}
.studio-text h2 { max-width: 11ch; margin-block: 18px 24px; font-size: clamp(2.85rem, 4.7vw, 5rem); }
.studio-text p:not(.object-medium), .entry-prose > p {
  color: var(--secondary);
  font: 1.125rem/1.58 Georgia, serif;
  text-wrap: pretty;
}
.studio-text p:not(.object-medium) { max-width: 47ch; }
.studio-text p + p, .entry-prose > p + p { margin-top: 16px; }
.studio-text em { color: inherit; }
.seed-study {
  --active-tile: 0%;
  margin: 0;
  padding: clamp(16px, 2.5vw, 40px);
  color: #f1e5cf;
  background: #32252e;
  border: 1px solid #51404a;
}
.seed-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 5%;
  padding: 2% 5% 5%;
}
.seed-photo { position: relative; width: 100%; }
.seed-photo img { width: 100%; height: auto; filter: drop-shadow(4px 8px 7px #100d1244); }
.seed-marker {
  position: absolute; left: var(--x); top: var(--y);
  width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 2px solid #fff6db; box-shadow: 0 0 0 2px #3b2530;
}
.seed-closeup { text-align: center; }
.seed-glyph {
  display: block;
  width: min(65%, 116px); aspect-ratio: 1; margin: 0 auto;
  background: url("assets/approved/fan-seed-forms.png") var(--active-tile) center / 800% 100% no-repeat;
}
.seed-closeup p { color: #e6d3b8; font: 1rem/1.35 Georgia, serif; margin-top: 12px; }
.seed-study figcaption {
  display: block; border-top: 1px solid #a88c755e; padding-top: 16px; margin: 0;
  font: 1rem/1.5 Georgia, serif; color: #e9dcca;
}
.seed-study figcaption strong { font: 400 clamp(1.24rem, 1.9vw, 1.7rem)/1.24 Georgia, serif; }
.seed-study figcaption p { color: #d1c1ae; margin-top: 4px; font-size: 1rem; }
.seed-gallery {
  display: grid; grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 4px; margin-top: 12px;
}
.seed-choice {
  display: grid; place-items: center;
  min-width: 0; min-height: 44px; aspect-ratio: 1; padding: 9%;
  border: 1px solid #856d5c8f; background: transparent;
}
.seed-choice:hover, .seed-choice[aria-pressed="true"] { background: #53424a; border-color: #f1d89e; }
.seed-choice[aria-pressed="true"] { box-shadow: inset 0 -3px 0 #e7cb90; }
.seed-choice:focus-visible { outline-color: #fff0cc; }
.seed-choice > span {
  display: block; width: 100%; height: 100%;
  background: url("assets/approved/fan-seed-forms.png") var(--tile) center / 800% 100% no-repeat;
}
.story-question { display: block; font: 400 clamp(1.4rem, 1.8vw, 1.8rem)/1.25 Georgia,serif; color: var(--text); margin-bottom: 8px; letter-spacing: -.025em; }
.fan-layout, .mirror-layout { grid-template-rows: auto auto; align-content: center; }
.fan-plate, .mirror-plate { align-self: center; }
.pair-copy > p:not(.object-medium) { max-width: 51ch; margin: 12px 0 0; }
.pair-copy .inline-action { margin-top: 20px; }
.studio-blessing { background: #202427; color: #f2e4cf; padding: clamp(52px, 7vw, 104px) 0; }
.blessing-inner {
  --folio-gutter: clamp(24px, 6.5vw, 96px);
  display: grid; grid-template-columns: .52fr 1.48fr; gap: 32px; align-items: center;
}
.blessing-stars { width: min(66%,160px); justify-self: center; }
.blessing-stars svg { display: block; width: 100%; }
.blessing-stars path { fill: none; stroke: #ba9f74; stroke-width: .38; }
.blessing-stars circle { fill: #e3c993; }
.studio-blessing h2 {
  margin: 0 0 16px; color: #e2c591;
  font: 600 .875rem/1.45 Arial,sans-serif; letter-spacing: .095em; text-transform: uppercase;
}
.studio-blessing p { font: 400 clamp(1.95rem, 3.2vw, 3.5rem)/1.22 Georgia,serif; letter-spacing: -.035em; text-wrap: pretty; }
@media (max-width: 1050px) and (min-width: 801px) {
  .studio-spread { gap: 32px; grid-template-columns: .88fr 1.12fr; }
  .studio-folio .seed-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .seed-choice { aspect-ratio: auto; }
  .seed-choice > span { width: 32px; height: 32px; }
  .fan-layout, .mirror-layout { column-gap: 32px; }
}
@media (max-width: 800px) {
  .studio-spread { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .studio-text h2 { max-width: 18ch; }
  .studio-text p:not(.object-medium) { max-width: 56ch; }
  .fan-layout, .mirror-layout { grid-template-rows: auto; }
}
@media (max-width: 700px) {
  [data-scene="galaxy"] .opening-copy h1 { font-size: clamp(2.25rem, 8.4vw, 3.15rem); }
  [data-scene="galaxy"] .opening-copy > #scene-intro { max-width: 43ch; }
}
@media (max-width: 560px) {
  .seed-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .seed-choice { aspect-ratio: auto; min-height: 46px; padding: 5px; }
  .seed-choice > span { width: 32px; height: 32px; }
  .studio-text h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); margin-block: 10px 16px; }
  .studio-text p:not(.object-medium), .entry-prose > p { font-size: 1.0625rem; }
  .blessing-inner { display: block; }
  .blessing-stars { width: 58px; margin-bottom: 24px; }
}

/* Keep the moving inscriptions and stellar flares inside the cover at narrow widths. */
.atlas-home .opening { overflow: clip; }
.pair-copy > p:last-of-type { margin-bottom: 20px; }
.pair-copy .inline-action { margin-top: auto; }
