/* A reusable two-block row, separate from the CMS-managed project carousel. */
.creative-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin: 0 0 2rem; scroll-margin-top: 2rem; }
.paly-project { min-width: 0; overflow: hidden; border: 1px solid #d5c4a8; border-radius: 12px; background: #efe5d3; color: #302e25; }
.paly-mockup { position: relative; display: block; background: #d0c7b6; color: #fff; text-decoration: none; }
.paly-mockup img { display: block; width: 100%; height: auto; }
.paly-mockup-label { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .4rem .7rem; border: 1px solid #ffffff55; border-radius: 100px; background: #242a24cc; color: #fff; font-size: .7rem; letter-spacing: .04em; }
.paly-project-copy { padding: clamp(1.5rem, 3vw, 2.5rem); }
.paly-project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1.3rem; font: 400 .7rem/1.5 'Space Grotesk', Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #655b46; }
.paly-project h3 { margin: 0 0 1rem; font: 500 clamp(2rem, 3vw, 3rem)/1.1 'Space Grotesk', Arial, sans-serif; letter-spacing: -.05em; }
.paly-project-description { margin: 0; color: #645b4c; font-size: .95rem; line-height: 1.65; max-width: 32rem; }
.paly-poster-link { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: 1.5rem; min-height: 44px; color: #302e25; font-size: .9rem; text-underline-offset: .35em; }
.paly-project a:focus-visible { outline: 3px solid #c57824; outline-offset: -4px; }
.paly-poster-link:focus-visible { outline-offset: 4px; }
.creative-work-slot { min-width: 0; display: flex; align-items: end; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px dashed #ffffff26; border-radius: 12px; background: #ffffff02; }
.creative-work-slot span { color: #888; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 680px) {
  .creative-work-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .creative-work-slot { min-height: 120px; }
}

/* Collection page: native full-resolution artwork is also used for the close-ups. */
.paly-case { margin: 0; background: #f7f2e8; color: #302e25; font: 400 16px/1.65 'Space Grotesk', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.paly-case *, .paly-case *::before, .paly-case *::after { box-sizing: border-box; }
.paly-case h1, .paly-case h2, .paly-case h3, .paly-case p, .paly-case figure { margin: 0; }
.paly-case a { color: inherit; text-underline-offset: .35em; }
.paly-case img { display: block; max-width: 100%; height: auto; }
.paly-case :focus-visible { outline: 3px solid #b77725; outline-offset: 5px; }
.paly-shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.paly-skip { position: absolute; top: -5rem; left: 1rem; padding: 1rem; background: #fff; z-index: 10; }
.paly-skip:focus { top: 1rem; }
.paly-nav { min-height: 112px; display: flex; justify-content: space-between; align-items: center; }
.paly-nav img { width: 56px; height: 56px; object-fit: contain; }
.paly-nav > a:last-child { padding-block: .75rem; font-size: .9rem; text-decoration: none; }
.paly-intro { padding-block: clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.paly-eyebrow { color: #766246; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.paly-case h1 { margin: 1.1rem 0 1.5rem; font-size: clamp(3.3rem, 8vw, 7rem); line-height: 1.05; letter-spacing: -.065em; font-weight: 500; }
.paly-intro-copy { max-width: 650px; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #655b4b; }
.paly-season { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.paly-season-card { text-decoration: none; border: 1px solid #d4c4a7; border-radius: 8px; overflow: hidden; background: #eee2ca; }
.paly-season-card > img { width: 100%; }
.paly-season-card > img { aspect-ratio: 2 / 3; object-fit: cover; }
.paly-case .case-gallery figure[id^="poster-"] { scroll-margin-top: 2rem; }
.paly-case .case-gallery figure[id^="poster-"] a { display: block; }
.paly-case .case-gallery figure[id^="poster-"] figcaption { color: #766954; }
.paly-season-card > span { display: block; padding: 1rem; font-size: .85rem; line-height: 1.5; }
.paly-season-card small { display: block; margin-bottom: .3rem; font-size: .7rem; color: #766246; }
.paly-season-pending { display: flex; flex-direction: column; justify-content: end; padding: 1.2rem; border: 1px dashed #c9bea9; border-radius: 8px; background: #eee9de; color: #7b7060; font-size: .85rem; }
.paly-season-pending small { font-size: .7rem; margin-top: .25rem; }
.paly-poster-section { padding-block: clamp(3rem, 6vw, 6rem); background: #e9deca; scroll-margin-top: 1rem; }
.paly-poster-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.paly-case h2 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.15; letter-spacing: -.055em; font-weight: 500; margin-top: .9rem; }
.paly-poster-heading > a { font-size: .85rem; padding-block: .8rem; white-space: nowrap; }
.paly-presentation { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.paly-original { max-width: 560px; }
.paly-original img { box-shadow: 0 15px 40px #5a422725; }
.paly-city-view img { border-radius: 8px; }
.paly-case figcaption { margin-top: 1rem; color: #766954; font-size: .8rem; line-height: 1.5; }
.paly-detail-heading { margin: 4rem 0 1.6rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.paly-detail-heading h3 { font-size: 1.8rem; font-weight: 500; letter-spacing: -.035em; }
.paly-detail-heading p { font-size: .85rem; color: #766954; }
.paly-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.paly-detail-frame { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #edddbb; border-radius: 8px; }
.paly-case .paly-detail-frame img { position: absolute; width: 175%; max-width: none; left: 50%; top: 0; transform: translate(-50%, -5%); }
.paly-case .paly-detail-wind img { transform: translate(-50%, -26%); }
.paly-case .paly-detail-fire img { transform: translate(-50%, -45.5%); }
.paly-details figcaption { font-size: 1rem; color: #50432f; }
.paly-details button.paly-detail-frame { width: 100%; border: 0; padding: 0; cursor: zoom-in; }
.paly-detail-open { overflow: hidden; }
.paly-detail-dialog { width: min(1100px, calc(100vw - 32px), calc((100dvh - 112px) * 4 / 3)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 12px; border: 1px solid #d4c4a7; border-radius: 12px; background: #f7f2e8; color: #302e25; box-shadow: 0 24px 90px #0006; }
.paly-detail-dialog::backdrop { background: #17130ee0; }
.paly-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 10px; }
.paly-case .paly-dialog-toolbar h2 { margin: 0; font-size: 1rem; letter-spacing: 0; }
.paly-dialog-close { min-height: 44px; padding: 8px 14px; border: 1px solid #c9bea9; border-radius: 6px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.paly-footer { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; font-size: .85rem; }
.paly-footer a { padding-block: .75rem; }
.paly-footer span { align-self: center; color: #766954; }
@media (max-width: 1000px) {
  .paly-shell { width: calc(100% - 64px); }
  .paly-season { gap: .7rem; }
  .paly-season-card > span, .paly-season-pending { padding: .8rem; }
}
@media (max-width: 680px) {
  .paly-shell { width: calc(100% - 40px); }
  .paly-nav { min-height: 90px; }
  .paly-season { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paly-season-pending { min-height: 120px; }
  .paly-presentation, .paly-details { grid-template-columns: 1fr; gap: 2rem; }
  .paly-poster-heading, .paly-detail-heading { flex-direction: column; align-items: start; gap: 1rem; }
  .paly-footer { flex-direction: column; gap: .5rem; }
  .paly-footer span { align-self: start; }
}

.paly-poster-preview-detail img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; }

/* Campaign entries share the established Paly Choirs card. */
.creative-work-grid .paly-project{display:flex;flex-direction:column}
.creative-work-grid .paly-mockup img,.creative-work-grid .paly-mockup video{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.creative-work-grid .paly-project-copy{flex:1;display:flex;flex-direction:column}
.creative-work-grid .paly-poster-link{align-self:flex-start}
