/* Packaging inspiration gallery shared by Technology and the Academy. */
.pack-gallery{padding:68px 0;background:#f8faf6;scroll-margin-top:105px}
.pack-gallery .content-heading{align-items:flex-start;margin-bottom:30px}
.pack-gallery .content-heading h2{font-size:clamp(29px,3vw,42px);line-height:1.2;letter-spacing:-.04em}
.pack-gallery .content-heading>p{font-size:15px;line-height:1.8}
.pack-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 18px}
.pack-gallery-item{display:block;min-width:0;color:var(--ink)}
.pack-gallery-item figure{margin:0}
.pack-gallery-media{position:relative;overflow:hidden;aspect-ratio:1;border-radius:12px;background:#e9efe3}
.pack-gallery-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.pack-gallery-item:hover img{transform:scale(1.025)}
.pack-gallery-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffffed;color:#285e24;font-size:18px;pointer-events:none}
.pack-gallery-item figcaption{margin-top:12px;font-size:14px;font-weight:500;line-height:1.5}
.pack-gallery-item figcaption small{display:block;margin-top:4px;font-size:12px;font-weight:400;line-height:1.6;color:var(--muted)}
.pack-gallery-item:focus-visible{outline:3px solid var(--green);outline-offset:5px;border-radius:12px}
.pack-gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:30px;padding-top:22px;border-top:1px solid #dce5d7}
.pack-gallery-foot p{margin:0;max-width:660px;font-size:13px;line-height:1.7;color:var(--muted)}
.pack-gallery-foot .text-link{font-size:14px;font-weight:500}
.pack-gallery-seasonal{margin-top:36px}
.pack-gallery-seasonal h3{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:0 0 20px}
.pack-gallery-seasonal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html.pack-gallery-open{overflow:hidden}
.pack-gallery-dialog{position:fixed;inset:0;width:min(960px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:14px;background:#fff;color:var(--ink);overflow:auto;font-family:'Poppins',Arial,Helvetica,sans-serif}
.pack-gallery-dialog::backdrop{background:#0b2019d9;backdrop-filter:blur(4px)}
.pack-viewer{padding:20px 24px 24px}
.pack-viewer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.pack-viewer-top .eyebrow{margin:0;font-size:11px;letter-spacing:.08em}
.pack-viewer-close{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:8px 12px;background:transparent;border:0;border-radius:6px;color:var(--ink);font-size:13px}
.pack-viewer-close span{font-size:26px;line-height:1}
.pack-viewer-figure{margin:0}
.pack-viewer-figure>img{display:block;width:100%;height:min(62dvh,620px);object-fit:contain;border-radius:8px;background:#f7f8f4;touch-action:pan-y pinch-zoom}
.pack-viewer-figure figcaption{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:18px}
.pack-viewer-caption h3{font-size:20px;font-weight:500;letter-spacing:-.025em;line-height:1.4;margin:0 0 5px}
.pack-viewer-caption p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.pack-viewer-controls{display:flex;align-items:center;gap:14px;flex-shrink:0}
.pack-viewer-controls button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d1dfc9;border-radius:50%;background:#f0f6ea;color:#285e24;font-size:21px}
.pack-viewer-controls button:hover{background:#deedcf}
.pack-viewer-counter{min-width:50px;margin:0!important;text-align:center;font-size:13px;color:var(--muted)}
.pack-gallery-dialog button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:1100px){.pack-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.pack-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pack-viewer-figure figcaption{align-items:flex-start}}
@media(max-width:620px){.pack-gallery{padding:48px 0}.pack-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.pack-gallery-item figcaption{font-size:13px}.pack-gallery-media{border-radius:9px}.pack-gallery-foot{gap:16px}.pack-gallery-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.pack-viewer{padding:14px 16px 20px}.pack-viewer-figure>img{height:min(54dvh,520px)}.pack-viewer-figure figcaption{flex-direction:column;gap:16px}.pack-viewer-caption h3{font-size:18px}.pack-viewer-caption p{font-size:13px}.pack-viewer-controls{width:100%;justify-content:space-between}.pack-viewer-top .eyebrow{font-size:10px}.pack-viewer-close{font-size:12px;padding-right:0}}
@media(prefers-reduced-motion:reduce){.pack-gallery-media img{transition:none}.pack-gallery-item:hover img{transform:none}.pack-gallery-dialog::backdrop{backdrop-filter:none}}

.pack-gallery-bio{margin-top:36px;scroll-margin-top:105px}
.pack-gallery-bio h3{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:0 0 12px}
.pack-gallery-bio-intro{font-size:14px;line-height:1.8;color:var(--muted);max-width:800px;margin:0 0 22px}
.pack-gallery-grid.pack-gallery-bio-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px}
@media(max-width:620px){.pack-gallery-bio h3{font-size:22px}.pack-gallery-bio-intro{font-size:13px}}
