/* Xbar memes: approved artwork, one accessible click-or-swipe frame at a time. */
.release-status{padding:1.2rem 1.5rem;margin-bottom:2rem;background:#dce4d4;border:1px solid #aebdad;border-left:3px solid #b77b32;border-radius:3px 16px 3px 3px;max-width:55rem}.release-status .eyebrow{color:#805419;font-size:.65rem;margin:0 0 .5rem}.release-status h2{font-family:Georgia,serif;font-size:1.5rem;font-weight:400;margin:0 0 .6rem}.release-status>p:last-child{font-size:.9rem;line-height:1.6;margin:0}.gallery-privacy{width:100%;font-size:.8rem;margin-top:1rem}.gallery-privacy summary{cursor:pointer}.gallery-privacy p{max-width:50rem;line-height:1.6}
.memes-page [hidden] { display: none !important; }
.memes-main { padding: 2rem 0 3.5rem; }
.memes-main .back-home { margin-bottom: 1.8rem; }
.memes-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 2.5rem; margin-bottom: 3rem; }
.memes-heading .eyebrow { color: #805419; font-size: .7rem; margin-bottom: 1rem; }
.memes-heading h1 { font-size: clamp(3rem, 5.4vw, 5.1rem); line-height: 1.03; }
.memes-intro { padding-bottom: .3rem; }
.memes-intro > p { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; letter-spacing: -.015em; color: #355344; }
.memes-intro .text-link { font-size: .85rem; margin-top: 1.2rem; min-height: 44px; }
.memes-collection { position: relative; border-top: 1px solid #b4c3b2; padding-top: 1.25rem; }
.memes-collection::before { content: ''; position: absolute; right: 0; top: -29px; height: 30px; width: 180px; background: url('/assets/circuit-divider.svg') right bottom / 180px 30px no-repeat; pointer-events: none; }
.memes-collection-heading { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.memes-collection-heading h2 { font-size: 1.5rem; letter-spacing: -.025em; }
.memes-collection-label { font-size: .6rem; color: #805419; font-weight: 600; letter-spacing: .15em; }
.memes-gallery { width: 100%; }
/* Keep the control row in place while the gallery script initializes. */
.memes-page .gallery-controls button[hidden] { display: block !important; visibility: hidden; }
/* Keep adjacent content outside the clipped edge when scroll positions round. */
.memes-gallery .gallery-slide { padding-inline: 1px; }
.memes-gallery .preview-example { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr); justify-items: center; gap: 2rem; align-items: start; }
/* Reserve the square artwork frame before lazy images decode. */
.memes-gallery .preview-image-link { display: flex; align-items: start; justify-content: center; width: min(100%, 70vh, 640px); max-width: 640px; aspect-ratio: 1; }
.memes-gallery img { display: block; height: 100%; width: 100%; max-width: 100%; max-height: none; object-fit: contain; box-sizing: border-box; margin-inline: auto; border: 1px solid #aebdad; border-radius: 5px; }
.memes-caption { width: 100%; max-width: 780px; text-align: left; padding-block: .25rem 1rem; margin-top: 0; }
.memes-caption h3 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; margin: 1rem 0 .75rem; }
.memes-caption p { margin-top: .5rem; font-size: .9rem; line-height: 1.6; }
.memes-caption .memes-product { color: #805419; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 0; }
.memes-status-labels { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.memes-status-labels span { display: inline-block; color: #355344; font-size: .65rem; line-height: 1.5; padding: .3rem .6rem; border: 1px solid #aebdad; border-radius: 3px 9px 3px 3px; background: #dce4d4; }
.memes-approved-caption { white-space: pre-line; }
.memes-context { border-top: 1px solid #b4c3b2; margin-top: 1.2rem; padding-top: .25rem; }
.memes-context summary { color: #355344; font-size: .8rem; font-weight: 600; }
.memes-caption .memes-context p { font-size: .8rem; margin-top: .2rem; }
.memes-caption .preview-open { margin-top: .7rem; }
@media (max-width: 900px) {
  .memes-heading { gap: 2rem; }
  .memes-wide-break { display: none; }
  .memes-gallery .preview-example { grid-template-columns: 1fr; gap: 1rem; }
  .memes-gallery .preview-image-link, .memes-caption { max-width: 640px; }
}
@media (max-width: 620px) {
  .memes-page .header nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memes-main { padding-block: 1.5rem 2.5rem; }
  .memes-main .back-home { margin-bottom: 1.5rem; }
  .memes-heading { grid-template-columns: 1fr; gap: 1.3rem; margin-bottom: 2.4rem; }
  .memes-heading h1 { font-size: clamp(2.85rem, 13vw, 3.8rem); }
  .memes-heading .eyebrow { font-size: .6rem; }
  .memes-intro > p { font-size: 1.25rem; max-width: 26ch; }
  .memes-intro .text-link { margin-top: .6rem; }
  .memes-collection-heading h2 { font-size: 1.3rem; }
  .memes-collection-label { font-size: .53rem; }
}

/* The real Workmate Run character, confined to its own track. */
.workmate-animation{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.4rem .5rem;margin-top:.65rem}
.workmate-animation label{font-size:.72rem;cursor:pointer;justify-self:start}
.workmate-pause{width:16px;height:16px;margin:0;accent-color:#355344}
.workmate-lane{grid-column:1/-1;grid-row:1;position:relative;height:90px;overflow:hidden;border-bottom:1px solid #aebdad}
.workmate-runner{position:absolute;width:100%;height:84px;left:0;bottom:0;animation:workmate-roll 14s ease-in-out infinite alternate}
.workmate-runner img{display:block;width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 3px 2px #153b2926)}
.workmate-pause:checked~.workmate-lane .workmate-runner{animation-play-state:paused}
@keyframes workmate-roll{from{transform:translateX(0)}to{transform:translateX(calc(100% - 84px))}}
@media(prefers-reduced-motion:reduce){.workmate-runner{animation:none}.workmate-pause,.workmate-animation label{display:none}}
