/* One atlas, one reading order. Columns collapse without hiding any collection. */
[data-collection-index] {
  --cg-ink:#193a2f;
  --cg-muted:#4d6255;
  --cg-rule:#c7cbbd;
  --cg-paper:#fbf8f0;
  color:var(--cg-ink);
  padding:0;
}
.cg-frame {
  width:min(100%,1640px);
  box-sizing:border-box;
  margin:0 auto;
  padding:clamp(20px,2.5vw,40px) clamp(16px,3.6vw,60px) clamp(25px,3vw,45px);
  scroll-margin-top:12px;
}
.cg-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:clamp(17px,2vw,30px);
}
.cg-heading-copy {display:flex;gap:clamp(14px,2.2vw,38px);align-items:baseline;flex-wrap:wrap;min-width:0}
.cg-heading #cg-title {
  color:var(--cg-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.6rem,4.7vw,5.15rem);
  line-height:.99;
  letter-spacing:-.055em;
  font-weight:400;
  margin:0;
  text-wrap:balance;
}
.cg-stats {display:flex;align-items:center;gap:.7em;flex-wrap:wrap;margin:0;color:var(--cg-muted);font-size:.86rem;font-weight:550;line-height:1.4}
.cg-stats i {color:#839682;font-style:normal}
.cg-sound {
  display:inline-flex;flex:0 0 auto;gap:9px;align-items:center;justify-content:center;
  color:#274137;background:transparent;border:1px solid #a4b2a0;
  border-radius:999px;padding:8px 13px;
  font-size:.77rem;font-weight:600;line-height:1.3;text-decoration:none;min-height:42px;box-sizing:border-box;
  transition:background .16s,color .16s;
}
.cg-wave {display:flex;align-items:center;gap:2px;height:16px}
.cg-wave b {width:2px;height:8px;background:currentColor;border-radius:2px}
.cg-wave b:nth-child(2) {height:15px}
.cg-wave b:nth-child(3) {height:11px}
.cg-wave b:nth-child(4) {height:6px}
.cg-sound[aria-pressed=true] {background:var(--cg-ink);color:var(--cg-paper)}
.cg-sound[aria-pressed=true] b {animation:cg-beat .64s ease-in-out infinite alternate}
.cg-sound b:nth-child(2) {animation-delay:-.3s}
.cg-sound b:nth-child(3) {animation-delay:-.17s}
@keyframes cg-beat {to {transform:scaleY(.45)}}
.cg-grid {
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(10px,1.08vw,18px);
  margin:0;padding:0;list-style:none;scroll-margin-top:16px;
}
.cg-grid>li {min-width:0;margin:0;padding:0;display:flex}
.cg-card {
  position:relative;isolation:isolate;
  display:flex;flex-direction:column;
  width:100%;min-width:0;
  color:var(--cg-ink);background:var(--cg-paper);
  border:1px solid #d0d3c4;border-radius:12px;
  text-decoration:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.cg-art {
  position:relative;
  overflow:hidden;isolation:isolate;
  aspect-ratio:2.1;
  border-radius:11px 11px 0 0;
  background:var(--accent);
}
.cg-art img {display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 47%;transition:transform .38s ease}
.cg-copy {
  position:relative;display:flex;flex:1;flex-direction:column;align-items:start;
  border-top:3px solid var(--accent);
  padding:9px 12px 9px;
  background:color-mix(in srgb,var(--accent) 13%,var(--cg-paper));
  border-radius:0 0 11px 11px;
}
.cg-copy h2 {
  flex:1;max-width:100%;
  color:var(--cg-ink);font-family:inherit;font-weight:650;
  font-size:clamp(1rem,1.32vw,1.38rem);line-height:1.13;letter-spacing:-.024em;
  margin:0 0 .35em;
  overflow-wrap:anywhere;hyphens:auto;
}
.cg-card-count {max-width:calc(100% - 25px);color:var(--cg-muted);font-size:.73rem;font-weight:550;line-height:1.3}
.cg-arrow {
  width:15px;height:15px;position:absolute;right:12px;bottom:9px;
  color:#526d57;transition:transform .18s ease;
}
.cg-arrow::before {content:"";height:1.4px;width:13px;background:currentColor;position:absolute;right:0;top:7px}
.cg-arrow::after {content:"";width:7px;height:7px;position:absolute;right:1px;top:4px;transform:rotate(45deg);border-right:1.4px solid;border-top:1.4px solid}
.cg-resources {
  display:flex;align-items:center;flex-wrap:wrap;column-gap:clamp(18px,2.8vw,47px);row-gap:2px;
  border-top:1px solid var(--cg-rule);margin-top:clamp(18px,2.3vw,37px);padding-top:9px;
}
.cg-resources a {display:inline-flex;align-items:center;gap:.55em;color:var(--cg-muted);font-size:.82rem;line-height:1.35;font-weight:550;padding:8px 0;text-decoration:none}
.cg-resources a span {font-size:.9em}
.cg-frame a:focus-visible {outline:3px solid #156c5c;outline-offset:3px}
@media (hover:hover) {
  .cg-card:hover {border-color:#849981;box-shadow:0 3px 11px #193a2f1c}
  .cg-card:hover img {transform:scale(1.045)}
  .cg-card:hover .cg-arrow {transform:translateX(2px)}
  .cg-sound:hover {background:#e2e8d9;color:var(--cg-ink)}
  .cg-resources a:hover {color:var(--cg-ink);text-decoration:underline}
}
@media (max-width:1279px) {.cg-grid {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:899px) {.cg-grid {grid-template-columns:repeat(3,minmax(0,1fr))}.cg-heading-copy {align-items:start;flex-direction:column;gap:8px}}
@media (max-width:619px) {
  .cg-frame {padding:21px 16px 28px}
  .cg-heading {align-items:center;gap:7px;padding-bottom:16px}
  .cg-heading-copy {gap:7px}
  .cg-heading #cg-title {font-size:clamp(2.15rem,9.5vw,3.35rem);overflow-wrap:anywhere}
  .cg-stats {gap:.45em;font-size:.72rem}
  .cg-sound {min-height:43px;min-width:43px;padding:0}
  .cg-sound span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .cg-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cg-art {aspect-ratio:1.95}
  .cg-copy {padding:8px 9px 9px}
  .cg-copy h2 {font-size:clamp(.96rem,4.15vw,1.13rem);line-height:1.17}
  .cg-card-count {font-size:.68rem}
  .cg-arrow {right:9px}
}
@media (max-width:359px) {.cg-frame {padding-inline:12px}.cg-grid {gap:8px}}
@media (prefers-reduced-motion:reduce) {
  .cg-frame *, .cg-frame *::before,.cg-frame *::after {transition:none!important;animation:none!important}
}
