/* A collection of real, uncropped field guides, laid out like keepsakes. */
.field-guide-viewer [hidden] { display: none !important; }
.explore-page .field-guide-collection { padding-block: clamp(2.5rem, 6vw, 5rem); }
.guide-collection-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.guide-collection-header h2 { margin: .7rem 0 0; font: 400 clamp(2.6rem, 4.5vw, 4.5rem)/1.04 var(--serif); letter-spacing: -.03em; }
.guide-collection-header h2 em { color: var(--department); }
.guide-collection-header > p { max-width: 30rem; margin: 0; font-size: 1rem; line-height: 1.65; }
.field-guide-collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 3rem 1.8rem; margin-top: 3.5rem; padding: .5rem; }
.field-guide-card { min-width: 0; --tilt: -1.8deg; }
.field-guide-card:nth-child(4n + 2) { --tilt: 1.7deg; margin-top: 1.4rem; }
.field-guide-card:nth-child(4n + 3) { --tilt: -.8deg; margin-top: .35rem; }
.field-guide-card:nth-child(4n + 4) { --tilt: 2deg; margin-top: 1.8rem; }
.guide-open { display: block; color: inherit; text-decoration: none; }
.guide-paper { display: block; padding: 7px; background: #fffdf6; border: 1px solid #76684e28; box-shadow: 0 4px 5px #51483312, 0 12px 24px #5148331a; transform: rotate(var(--tilt)); transition: transform .25s ease, box-shadow .25s ease; }
.guide-paper img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.guide-open:hover .guide-paper, .guide-open:focus-visible .guide-paper { transform: translateY(-5px) rotate(0); box-shadow: 0 8px 20px #5148332a; }
.guide-open:focus-visible, .guide-download:focus-visible, .field-guide-viewer a:focus-visible, .guide-viewer-close:focus-visible { outline: 2px solid var(--department, #795b3a); outline-offset: 5px; }
.guide-place { display: block; margin-top: 1.4rem; font-size: .6rem; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--department); }
.field-guide-card h3 { margin: .4rem 0 0; font: 400 clamp(1.35rem, 2vw, 1.85rem)/1.13 var(--serif); letter-spacing: -.015em; }
.guide-download { display: inline-flex; align-items: center; justify-content: flex-start; gap: .55rem; min-height: 44px; padding: .5rem 0; color: inherit; font: 500 .67rem/1.3 'DM Sans', sans-serif; text-decoration: none; letter-spacing: .07em; text-transform: uppercase; }
.guide-download:hover, .field-guide-viewer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-download svg, .field-guide-viewer a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
.guide-save-note { margin: 2.5rem 0 0; font-size: .8rem; line-height: 1.6; color: var(--department); }
.field-guide-collection .gather-reading { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; }
.field-guide-collection .gather-reading > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.field-guide-collection .gather-reading a { font: 400 1.3rem/1.25 var(--serif); color: inherit; }
.field-guide-viewer { box-sizing: border-box; width: min(900px, 96vw); max-width: none; max-height: 94dvh; padding: 0; border: 1px solid #b9b09e; background: #f6f1e6; color: #293128; box-shadow: 0 24px 100px #141a1366; overflow: auto; }
.field-guide-viewer::backdrop { background: #20251cbb; backdrop-filter: blur(4px); }
.guide-viewer-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; gap: 1rem; padding: 1rem 1.25rem; background: #f6f1e6; border-bottom: 1px solid #29312830; }
.guide-viewer-top > div { flex: 1; min-width: 0; }
.guide-viewer-top .eyebrow { margin: 0 0 .35rem; font-size: .55rem; }
.guide-viewer-top h2 { margin: 0; font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--serif); }
.guide-viewer-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 10px; margin: 0; border: 1px solid #29312840; color: inherit; background: transparent; cursor: pointer; }
.guide-viewer-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.guide-viewer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: .5rem 1.25rem; }
.guide-viewer-actions a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: inherit; font-size: .75rem; }
.guide-viewer-image { padding: 0 1.25rem 1.25rem; }
.guide-viewer-image img { display: block; width: 100%; height: auto; }
.guide-viewer-status { margin: 0; padding: 0 1.25rem; font: 400 .85rem/1.5 'DM Sans', sans-serif; }
.guide-viewer-status:not(:empty) { padding-bottom: 1rem; }
@media (max-width: 1000px) {
  .guide-collection-header { display: block; }
  .guide-collection-header > p { margin-top: 1rem; }
  .field-guide-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
  .field-guide-card:nth-child(odd) { margin-top: 0; }
  .field-guide-card:nth-child(even) { margin-top: 1.1rem; }
}
@media (max-width: 640px) {
  .field-guide-collage { gap: 1.5rem .9rem; padding-inline: 2px; margin-top: 2rem; }
  .guide-paper { padding: 4px; }
  .guide-place { font-size: .55rem; letter-spacing: .06em; margin-top: 1rem; }
  .field-guide-card h3 { font-size: 1.3rem; }
  .guide-download { font-size: .6rem; letter-spacing: .04em; }
  .field-guide-collection .gather-reading > div { grid-template-columns: 1fr; }
  .guide-viewer-top, .guide-viewer-actions { padding-inline: .8rem; }
  .guide-viewer-image { padding: 0 .6rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-paper { transition: none; }
}
