.showcase {
  --serif: "STIX Two Text", "Iowan Old Style", Georgia, serif;
  color: var(--text);
  background: var(--canvas);
}

.showcase body {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 1.0625rem;
  line-height: 1.48;
}

.show-shell { container-type: inline-size; }

.showcase :where(h1, h2, p, figure) { margin: 0; }
.showcase a { color: inherit; text-underline-offset: .19em; }
.showcase :where(figure, section)[id] { scroll-margin-block-start: 1.25rem; }
.showcase .skip { z-index: 10; color: var(--ink); }
.showcase a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.show-header { border-bottom: 1px solid var(--rule); }
.show-bar {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 1.1rem;
}

.show-brand { justify-self: start; }
.show-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.6vw, 2.2rem); }
.show-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.show-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .42em; }
.show-nav a:hover, .page-end a:hover, .full-size:hover, .atlas-index a:hover { text-decoration: underline; }
.show-actions { justify-self: end; }
.show-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: .45rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 900;
  text-decoration: none;
}
.show-actions .play-link { padding-inline: .9rem; color: #173b32; background: #b9efc8; border-color: #326051; }
.download-link:hover { filter: brightness(.92); }
.page-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1.5rem;
  margin-top: clamp(2.4rem, 5vw, 4.4rem);
  padding-block: 1.05rem 1.8rem;
  border-top: 1px solid var(--rule);
}
.page-end a { display: inline-flex; align-items: center; min-height: 2.65rem; font-size: .95rem; font-weight: 700; }

/* A printed strip. Both lead panels keep the shore in frame at phone widths. */
.comic {
  --canvas: #fff7dd;
  --text: #252033;
  --rule: #342d3c;
  --focus: #a82955;
  --yellow: #ffda54;
  --rose: #ff96a4;
}
.comic .show-header { border-bottom: 3px solid var(--text); }
.comic .show-actions a, .print-link {
  border: 2px solid var(--text);
  border-radius: 3px;
  box-shadow: 3px 3px 0 var(--text);
}
.comic .download-link, .print-link { background: var(--yellow); }
.comic-lead {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(1.6rem, 4.2cqw, 4.1rem);
  padding: clamp(2.45rem, 5.5cqw, 5.1rem) 0 clamp(2.8rem, 5.6cqw, 5rem);
}
.comic-copy h1 {
  font-size: clamp(4rem, 7.7cqw, 7.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: .88;
  letter-spacing: -.067em;
  text-transform: uppercase;
}
.comic-copy h1 em {
  color: var(--rose);
  -webkit-text-stroke: .032em var(--text);
  paint-order: stroke fill;
  text-shadow: .045em .045em 0 var(--text);
}
.comic-copy p { max-width: 30ch; margin-block: 1.55rem 1.25rem; font-weight: 700; }
.showcase .print-link { display: inline-flex; align-items: center; min-height: 2.7rem; padding: .45rem .9rem; font-size: .95rem; font-weight: 900; text-decoration: none; }
.print-link:hover { background: #ffe886; }
.comic-spread {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(.45rem, 1vw, .85rem);
  aspect-ratio: 1.53;
}
.comic-spread::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 45% -.55rem -.75rem 46%;
  background: radial-gradient(var(--text) 1.5px, transparent 1.8px) 0 0 / 7px 7px;
}
.comic-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 3px solid var(--text);
  background: #81b2c3;
  box-shadow: 4px 4px 0 var(--text);
}
.comic-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.comic-spread .comic-panel img { position: absolute; inset: 0; }
.before-panel { transform: rotate(-1.6deg); }
.after-panel { transform: rotate(1.2deg); }
.before-panel img { object-position: 50% 56%; }
.after-panel img { object-position: 50% 44%; }
.speech {
  position: absolute;
  top: 5%;
  left: 5%;
  max-width: 85%;
  width: 11.4em;
  padding: .53em .77em .62em;
  border: 2px solid var(--text);
  border-radius: 45% 50% 44% 46% / 52% 47% 49% 47%;
  background: #fffdf6;
  box-shadow: 2px 2px 0 var(--text);
  font-size: clamp(.875rem, 1.45vw, 1.22rem);
  font-weight: 900;
  line-height: 1.09;
  text-align: center;
  transform: rotate(-3deg);
}
.speech::before, .speech::after {
  content: "";
  position: absolute;
  left: 35%;
  top: calc(100% - 2px);
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 12px solid transparent;
  border-top: 15px solid var(--text);
}
.speech::after { margin: -2px 0 0 2px; border-left-width: 9px; border-right-width: 2px; border-top: 11px solid #fffdf6; }
.comic-caption {
  position: absolute;
  top: .75rem;
  left: .7rem;
  padding: .27em .62em;
  border: 2px solid var(--text);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--text);
  font-size: .91rem;
  font-weight: 900;
  line-height: 1.14;
  transform: rotate(-2deg);
}
.after-panel .comic-caption { inset: auto .75rem .8rem auto; background: #fff5ce; }
.comic-followup { padding-top: 1.35rem; border-top: 3px solid var(--text); }
.comic-followup h2 { margin-bottom: 1.2rem; font-size: clamp(1.9rem, 3.6cqw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; font-style: italic; font-weight: 900; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.proof-panel { aspect-ratio: 1.56; }
.proof-panel img { object-position: 50% 43%; }
.proof-grid figure:nth-child(2) .proof-panel img { object-position: 50% 24%; }
.proof-grid figure:nth-child(2) .comic-caption { background: var(--rose); }
.proof-grid figcaption { max-width: 48ch; padding-top: .85rem; font-weight: 700; }
.comic .page-end { border-top: 2px solid var(--text); }

/* An atlas with photographs at two scales and captions outside the smaller plates. */
.atlas {
  --canvas: #f5f6ef;
  --text: #20352c;
  --rule: #b4bdb0;
  --focus: #397052;
}
.atlas .download-link { color: #fff; background: #284737; border-color: #284737; }
.atlas-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(13rem, .8fr);
  gap: 1.75rem;
  align-items: end;
  padding-block: clamp(2.1rem, 5cqw, 4.1rem) clamp(1.15rem, 2.8cqw, 2.25rem);
}
.atlas-intro h1, .atlas-cover h2, .atlas-plate h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.064em;
  line-height: .92;
}
.atlas-intro h1 { font-size: clamp(4.3rem, 9.9cqw, 9.4rem); }
.atlas-intro h1 em { color: #486b50; }
.atlas-intro p { max-width: 33ch; margin-bottom: .18em; color: #455849; }
.atlas-index { display: flex; flex-wrap: wrap; gap: 0 clamp(1rem, 3vw, 2.35rem); border-top: 1px solid var(--rule); }
.atlas-index a { display: inline-flex; align-items: center; min-height: 2.8rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
.atlas-cover { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2.18; background: #b9a8b2; }
.atlas-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 61%; }
.atlas-cover::after { content: ""; position: absolute; z-index: 0; inset: 25% 0 0; background: linear-gradient(transparent 12%, rgba(15,24,20,.71)); pointer-events: none; }
.atlas-cover figcaption { position: absolute; z-index: 1; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: .75rem; padding: clamp(1rem, 3.4vw, 2.6rem); color: #fff; }
.atlas-cover h2 { font-size: clamp(2.8rem, 6.2vw, 6rem); }
.atlas-cover p { margin-top: .32rem; font-weight: 700; }
.full-size { display: inline-flex; align-items: center; justify-self: end; min-height: 2.4rem; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.atlas-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.75rem, 4.2vw, 3.8rem) clamp(1rem, 2.4vw, 2rem); margin-top: clamp(1.6rem, 3.6vw, 3rem); }
.atlas-plate { grid-column: span 5; }
.atlas-plate.plate-wide { grid-column: span 7; }
.atlas-plate img { display: block; width: 100%; height: clamp(10rem, 23cqw, 19rem); object-fit: cover; }
.atlas-plate figcaption { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .7rem; padding-top: .8rem; }
.atlas-plate h2 { font-size: clamp(2.15rem, 3.8vw, 3.6rem); }
.atlas-plate p { grid-column: 1 / -1; color: #455849; }

/* Same camera for every condition. The native range controls the sunset mask. */
.weather {
  --canvas: #101b21;
  --text: #f6f5e9;
  --rule: #46545b;
  --accent: #f6d28f;
  --focus: #ffe29f;
}
.weather .download-link { background: var(--text); color: var(--canvas); border-color: var(--text); }
.weather-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(13rem, .75fr);
  gap: clamp(1.25rem, 4vw, 4.2rem);
  align-items: end;
  padding-block: clamp(2.25rem, 5cqw, 4.5rem) clamp(1.5rem, 3.5cqw, 3rem);
}
.weather-intro h1 { font-size: clamp(3.4rem, 6.8cqw, 6.45rem); font-weight: 900; letter-spacing: -.066em; line-height: .95; }
.weather-intro h1 em { color: var(--accent); font-style: normal; white-space: nowrap; }
.weather-intro p { max-width: 33ch; color: #bfccd0; }
.weather-lab { min-width: 0; margin: 0; padding: 0; border: 0; }
.sky-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; padding: .55rem 0 .7rem; border-top: 1px solid var(--rule); font-weight: 700; }
.sky-options { display: inline-flex; align-items: center; gap: .2rem; padding: .18rem; border: 1px solid #637177; border-radius: 999px; }
.sky-options label { display: inline-flex; justify-content: center; align-items: center; min-height: 2.25rem; min-width: 3.9rem; padding: .3rem .85rem; border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 700; }
.sky-options label:hover { background: #2b393f; }
#sky-night:checked ~ .sky-toolbar [for="sky-night"],
#sky-fog:checked ~ .sky-toolbar [for="sky-fog"],
#sky-rain:checked ~ .sky-toolbar [for="sky-rain"] { background: var(--accent); color: #242314; }
#sky-night:focus-visible ~ .sky-toolbar [for="sky-night"],
#sky-fog:focus-visible ~ .sky-toolbar [for="sky-fog"],
#sky-rain:focus-visible ~ .sky-toolbar [for="sky-rain"] { outline: 2px solid #fff; outline-offset: 2px; }
.weather-stage { --split: 50%; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; background: #28323a; }
.weather-stage:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.weather-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.weather-stage .sky-frame, .other-label > span { display: none; }
#sky-night:checked ~ .weather-stage :is(.night-frame, .night-name),
#sky-fog:checked ~ .weather-stage :is(.fog-frame, .fog-name),
#sky-rain:checked ~ .weather-stage :is(.rain-frame, .rain-name) { display: block; }
.sunset-frame { z-index: 1; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.wipe-line { position: absolute; z-index: 2; inset-block: 0; left: var(--split); width: 2px; transform: translateX(-50%); background: #fff9e9; pointer-events: none; }
.wipe-grip { display: none; position: absolute; top: 50%; left: 50%; width: 2.15rem; height: 2.7rem; transform: translate(-50%, -50%); border: 1px solid #fff8e4; border-radius: 2rem; background: #202b30; box-shadow: 0 1px 8px #0007; }
.weather-stage[data-interactive] .wipe-grip { display: block; }
.wipe-grip::after { content: ""; position: absolute; inset: 30% 38%; border-inline: 2px solid #fff8e4; }
.scene-label { position: absolute; z-index: 2; bottom: clamp(.6rem, 2vw, 1.5rem); padding: .28rem .7rem; border: 1px solid #fff7; border-radius: 3px; background: #102027e6; color: #fff; font-size: .9rem; font-weight: 900; pointer-events: none; }
.sunset-label { left: clamp(.6rem, 2vw, 1.5rem); }
.other-label { right: clamp(.6rem, 2vw, 1.5rem); }
.weather-stage[data-sunset-edge] .sunset-label, .weather-stage[data-other-edge] .other-label { visibility: hidden; }
#weather-wipe:not([hidden]) { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; margin: 0; padding: 0; appearance: none; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
#weather-wipe::-webkit-slider-runnable-track { height: 100%; }
#weather-wipe::-webkit-slider-thumb { appearance: none; width: 1px; height: 100%; }
#weather-wipe::-moz-range-track { height: 100%; }
#weather-wipe::-moz-range-thumb { border: 0; width: 1px; height: 100%; }
.wipe-help { padding-top: .65rem; color: #becbd0; font-size: .9rem; }
.other-weather { margin-top: clamp(2.2rem, 4.8vw, 4rem); }
.other-weather h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3vw, 2.65rem); letter-spacing: -.045em; line-height: 1.1; }
.weather-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2.4vw, 2rem); }
.weather-pair img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.weather-pair figcaption { padding-top: .5rem; color: #d5dfe1; font-weight: 700; }

@media (max-width: 46rem) {
  .show-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; }
  .show-actions { grid-row: 1; grid-column: 2; }
  .show-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; gap: 1.5rem; }
  .comic-lead, .atlas-intro, .weather-intro { grid-template-columns: 1fr; }
  .comic-lead { gap: 1.65rem; }
  .comic-copy { max-width: 36rem; }
  .comic-copy h1 { font-size: clamp(3.55rem, 10.8vw, 5.6rem); }
  .comic-copy p { max-width: 42ch; margin-block: 1rem; }
  .comic-spread { aspect-ratio: 1.62; }
  .atlas-intro, .weather-intro { gap: .85rem; }
  .atlas-intro p, .weather-intro p { max-width: 52ch; }
}
@media (max-width: 38rem) {
  .proof-grid, .weather-pair { grid-template-columns: 1fr; gap: 1.65rem; }
  .comic-spread { aspect-ratio: 1.33; }
  .atlas-cover { aspect-ratio: 16 / 10; }
  .atlas-grid { grid-template-columns: 1fr; gap: 2rem; }
  .atlas-plate, .atlas-plate.plate-wide { grid-column: auto; }
  .atlas-plate img { height: auto; aspect-ratio: 16 / 9; }
  .weather-stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 32rem) {
  .show-actions a { min-height: 2.25rem; padding: .28rem .78rem; }
  .show-actions .play-link { padding-inline: .65rem; }
  .show-nav a { min-height: 44px; }
  .comic-lead { padding-block: 2rem 2.35rem; }
  .comic-caption { font-size: .825rem; }
  .sky-toolbar { align-items: start; flex-direction: column; }
  .atlas-index { gap: 0 1.1rem; }
}
