/* K9 gallery — original branding, restrained accents, photographs first. */
[hidden] { display: none !important; }
.site-header nav > a[aria-current="page"] { color: var(--green); }
.site-header nav > a[aria-current="page"]::after { width: 100%; }
.gallery-hero { background: #f5f8f2; border-bottom: 1px solid var(--line); overflow: hidden; }
.gallery-intro { position: relative; padding-top: 30px; padding-bottom: 55px; }
.gallery-breadcrumb { display: flex; gap: 13px; font-size: 12px; color: #617468; margin-bottom: 28px; }
.gallery-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.gallery-intro > .eyebrow { color: var(--green); }
.gallery-intro h1 { color: var(--navy); font-size: clamp(44px, 6vw, 72px); line-height: 1.1; letter-spacing: -2px; font-weight: 600; margin: 18px 0 22px; }
.gallery-intro h1 span { color: var(--green); }
.gallery-intro-text { max-width: 520px; font-size: 16px; line-height: 1.85; color: #52685b; }
.gallery-intro > .text-link { margin-top: 22px; display: inline-flex; gap: 12px; align-items: center; font-size: 13px; }
.gallery-hero-paw { position: absolute; right: 5%; top: 26%; width: min(24vw, 240px); height: min(24vw, 240px); transform: rotate(14deg); fill: var(--green); opacity: .055; pointer-events: none; }
.gallery-section { padding-top: 40px; padding-bottom: 55px; }
.gallery-toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-bottom: 26px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { border: 1px solid var(--line); border-radius: 30px; padding: 10px 19px; background: #fff; color: #4e6456; font-weight: 700; font-size: 12px; transition: background .2s, color .2s; }
.gallery-filters button:hover { background: var(--mint); }
.gallery-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.gallery-count { font-size: 12px; color: #63756a; white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; align-items: start; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-photo { display: block; position: relative; background: #f1f4ef; border: 1px solid #e3e9df; border-radius: 10px; overflow: hidden; }
.gallery-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; transition: filter .2s; }
.gallery-photo:hover img { filter: brightness(.94); }
.gallery-enlarge { position: absolute; bottom: 14px; right: 14px; color: var(--green); background: #ffffffed; border-radius: 5px; padding: 7px 11px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; pointer-events: none; }
.gallery-enlarge .action-paw { width: 15px; height: 15px; }
.gallery-item figcaption { padding: 17px 2px 0; }
.gallery-source { color: #66766b; font-size: 10px; letter-spacing: .2px; }
.gallery-item h2 { margin: 7px 0; font-size: 19px; line-height: 1.4; color: var(--navy); letter-spacing: -.35px; font-weight: 600; }
.gallery-item figcaption p { font-size: 13px; color: #52695b; line-height: 1.7; }
.gallery-source-note { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 32px; color: #66766b; font-size: 12px; line-height: 1.8; max-width: 760px; }
.gallery-video-section { border-top: 1px solid var(--line); padding-top: 55px; padding-bottom: 65px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: center; gap: 65px; }
.gallery-video-copy h2 { font-size: clamp(32px, 4vw, 48px); color: var(--navy); line-height: 1.18; font-weight: 600; margin: 17px 0 23px; letter-spacing: -1.4px; }
.gallery-video-copy h2 span { color: var(--green); }
.gallery-video-copy > p:not(.eyebrow) { max-width: 420px; font-size: 15px; line-height: 1.8; color: #52695b; }
.gallery-video-copy > p.gallery-video-note { font-size: 12px; margin-top: 17px; }
.gallery-video-copy .text-link { margin-top: 23px; display: inline-flex; gap: 10px; align-items: center; font-size: 13px; }
.gallery-video-frame { width: min(100%, 310px); justify-self: center; background: var(--deep); border-radius: 12px; overflow: hidden; }
.gallery-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.gallery-cta { padding: 65px 0; background: var(--mint); text-align: center; }
.gallery-cta .eyebrow { color: var(--green); }
.gallery-cta h2 { color: var(--navy); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.22; letter-spacing: -1px; margin: 18px 0; }
.gallery-cta p { color: #52695b; font-size: 15px; }
.gallery-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 25px; }
.gallery-cta-actions .button { gap: 12px; font-size: 13px; }
.gallery-commercial-quote { border: 1px solid var(--green); background: white; color: var(--green); }
.gallery-commercial-quote:hover { background: #e4efdf; }
.gallery-cta .gallery-quote-note { font-size: 11px; margin-top: 18px; }
.gallery-lightbox { width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 12px; padding: 18px; background: white; color: var(--navy); overflow: auto; }
.gallery-lightbox::backdrop { background: #10251fec; }
.gallery-lightbox figure { margin: 12px 0; }
.gallery-lightbox img { display: block; margin: auto; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 215px); object-fit: contain; background: #f4f6f0; }
.gallery-lightbox figcaption { margin-top: 12px; font-size: 12px; color: #54695c; text-align: center; }
.lightbox-top, .lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox-top p { font-family: var(--heading); font-size: 16px; font-weight: 600; }
.gallery-lightbox button { background: var(--mint); color: var(--green); border: 1px solid var(--line); padding: 9px 15px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.gallery-lightbox button:hover { background: #e1eed8; }
.lightbox-bottom > span { font-size: 12px; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-video-section { gap: 35px; }
}
@media (max-width: 740px) {
  .gallery-intro { padding-top: 23px; padding-bottom: 35px; }
  .gallery-breadcrumb { margin-bottom: 22px; }
  .gallery-intro h1 { font-size: 46px; letter-spacing: -1.5px; }
  .gallery-intro-text { font-size: 14px; }
  .gallery-hero-paw { top: 50px; right: -15px; width: 120px; height: 120px; }
  .gallery-section { padding-top: 28px; padding-bottom: 38px; }
  .gallery-toolbar { align-items: start; flex-direction: column; gap: 12px; padding-bottom: 22px; }
  .gallery-filters button { padding: 9px 15px; font-size: 11px; }
  .gallery-grid { gap: 25px; }
  .gallery-item h2 { font-size: 18px; }
  .gallery-video-section { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 28px; }
  .gallery-video-copy h2 { font-size: 36px; }
  .gallery-video-copy > p:not(.eyebrow) { font-size: 14px; }
  .gallery-video-frame { max-width: 285px; }
  .gallery-cta { padding: 43px 0; }
  .gallery-cta-actions { flex-direction: column; align-items: stretch; }
  .gallery-cta-actions .button { justify-content: center; font-size: 12px; padding: 15px 12px; }
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox img { max-height: calc(100dvh - 230px); }
}
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gallery-photo img, .gallery-filters button { transition: none; } }

/* Real-photo collection and concise cleanup films. */
.gallery-toolbar { flex-wrap: wrap; }
.gallery-filters { gap: 7px; }
.gallery-video-collection { display: block; }
.gallery-video-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 30px; }
.gallery-video-heading .gallery-video-copy { max-width: 550px; }
.gallery-video-heading .text-link { font-size: 13px; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; white-space: nowrap; }
.gallery-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gallery-film { margin: 0; padding: 26px; background: #f4f7f1; border: 1px solid var(--line); border-radius: 12px; }
.gallery-film .gallery-video-frame { margin: 0 auto; width: min(100%, 310px); background: #1b332a; }
.gallery-film figcaption { padding-top: 20px; }
.gallery-film h3 { color: var(--navy); font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.5px; margin: 9px 0 10px; }
.gallery-film figcaption p { font-size: 13px; line-height: 1.75; color: #52695b; }
.gallery-stage { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green); background: #e5efdd; padding: 5px 10px; border-radius: 20px; }
.gallery-video-source-note { font-size: 11px; color: #64776a; line-height: 1.8; margin-top: 20px; }
@media (max-width: 740px) {
  .gallery-video-heading { display: block; }
  .gallery-video-heading .text-link { margin-bottom: 0; margin-top: 19px; }
  .gallery-video-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-film { padding: 20px; }
  .gallery-film h3 { font-size: 20px; }
  .gallery-film .gallery-video-frame { max-width: 290px; }
  .gallery-filters button { padding: 9px 13px; }
}
