/* Compact homepage collections, v4.9. */
#practice .practice-item:nth-child(2):not(.depth-card) { transform:none; }
#practice .practice-item.depth-card { --rest-y:0px; }
.practice-brand-row {
 --logo-size:96px;
 display:grid;
 grid-template-columns:repeat(2, var(--logo-size));
 column-gap:22px;
 row-gap:10px;
 margin-bottom:25px;
}
.practice-brand-row .practice-logo,
.practice-studio-brand a {
 display:block;
 width:var(--logo-size);
 height:var(--logo-size);
 margin:0;
 padding:8px;
 border-radius:5px;
 background:#fff;
}
.practice-brand-row .practice-logo,
.practice-studio-brand img { object-fit:contain; }
.motion-enabled .practice-brand-row .practice-logo { animation:none; }
.practice-studio-brand img { display:block; width:100%; height:100%; }
.practice-brand-row p { grid-column:1 / -1; margin:0; font:11px/1.6 Manrope,sans-serif; letter-spacing:.02em; }
.youtube-practice .creator-videos { margin-top:27px; max-width:560px; }
.creator-videos-header { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.creator-videos h4 { margin:0; font:600 20px/1.3 Manrope,sans-serif; letter-spacing:-.04em; }
.creator-videos-header a { color:#b7d0e4; font:9px/1.5 'DM Mono',monospace; }
.youtube-practice .creator-videos .video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-top:16px; }
.youtube-practice .creator-videos .video-card { min-width:0; padding:7px 7px 10px; --rest-y:0px; --rest-z:0deg; transform:perspective(1200px) translateY(var(--card-lift,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
.youtube-practice .creator-videos .video-thumb { aspect-ratio:16/9; }
.youtube-practice .creator-videos .video-thumb::after { font-size:20px; }
.youtube-practice .creator-videos .video-card span { font-size:12px; line-height:1.35; min-height:39px; padding:8px 3px 0; }
.youtube-practice .creator-videos .video-card small { display:block; font-size:8px; line-height:1.5; padding:4px 3px 0; }
.films .film-heading { display:block; margin-bottom:30px; }
.work-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; margin-top:35px; }
.work-column { min-width:0; border-top:1px solid rgba(224,229,239,.28); padding-top:18px; }
.work-column h3 { margin:0 0 20px; font:500 clamp(20px,2.2vw,32px)/1.25 Manrope,sans-serif; letter-spacing:-.045em; }
.work-column h3 small { display:block; margin-bottom:7px; color:#a7c4dc; font:10px/1.5 'DM Mono',monospace; letter-spacing:.05em; }
.work-column .film-list { margin-top:0; border-top:0; }
.work-column .film-title-only { display:block; padding:0; }
.work-column .film-title-only:hover { padding:0; }
.work-title-link { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:64px; padding:16px 5px; color:#e2e4e9; font:500 clamp(17px,1.7vw,25px)/1.3 Manrope,sans-serif; letter-spacing:-.035em; }
.work-title-link span:first-child { min-width:0; overflow-wrap:anywhere; }
.work-title-link .film-arrow { flex-shrink:0; color:#b7d0e4; }
.work-title-link .work-entry-copy { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.work-title-meta { display:flex; flex-wrap:wrap; align-items:center; gap:9px; color:#a7c4dc; font:11px/1.5 'DM Mono',monospace; letter-spacing:.01em; }
.serial-present { display:inline-block; padding:1px 7px; border:1px solid #647e92; border-radius:12px; background:rgba(133,173,201,.1); color:#d3e6f5; font:9px/1.5 'DM Mono',monospace; white-space:nowrap; }
#serials, #digital-work { scroll-margin-top:110px; }
.work-title-link:hover { color:#c2d9ed; }
/* Folder names use the whole row instead of the legacy film-year column. */
.web-series-folders .film-title-only,
.web-series-folders .film-title-only:hover { display:block; grid-template-columns:none; gap:0; padding:0; }
.web-series-folders .work-title-link { display:grid; grid-template-columns:minmax(0,1fr) auto; width:100%; min-width:0; gap:16px; padding:18px 5px; }
.web-series-folders .work-title-link .work-entry-copy { width:100%; min-width:0; }
.web-series-folders .work-title-link .work-title-name,
.web-series-folders .work-title-link .work-title-meta { max-width:100%; overflow-wrap:normal; word-break:normal; white-space:normal; }
.web-series-folders .work-title-link .work-title-meta { display:block; }
.work-columns + .work-note { margin-top:25px; max-width:680px; color:#b4b9c2; font-size:13px; line-height:1.7; }
#on-set-videos .video-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:32px; }
#on-set-videos .video-card { min-width:0; --rest-y:0px; --rest-z:0deg; transform:perspective(1200px) translateY(var(--card-lift,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
#on-set-videos .video-thumb { width:100%; aspect-ratio:9/16; max-height:370px; }
#on-set-videos .video-card span { font-size:13px; line-height:1.4; }
#on-set-videos .video-card small { font-size:9px; }
.gallery-group { margin-top:38px; }
.gallery-group + .gallery-group { margin-top:60px; }
.gallery-group h3 { margin:0; font:500 clamp(24px,3vw,40px)/1.2 Manrope,sans-serif; letter-spacing:-.045em; }
.gallery-group .gallery-description { margin:10px 0 0; color:#b4b9c2; font:13px/1.6 Manrope,sans-serif; }
#gallery .compact-stills { display:grid; columns:unset; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:22px; }
#gallery .compact-stills .still { position:relative; min-width:0; width:100%; height:auto; max-height:none; margin:0; aspect-ratio:4/3; border-width:4px; border-radius:5px; --rest-y:0px; --rest-z:0deg; transform:perspective(1200px) translateY(var(--card-lift,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); background:#101216; }
#gallery .present-look-grid .still { aspect-ratio:3/4; }
#gallery .compact-stills .still img { display:block; width:100%; height:100%; object-fit:contain; }
#gallery .present-look-grid .still img { object-fit:cover; object-position:center 25%; }
[data-paged-grid] > [hidden] { display:none !important; }
.collection-more { display:flex; justify-content:center; margin-top:30px; }
.collection-more[hidden] { display:none !important; }
.collection-more button { display:flex; align-items:center; gap:12px; min-height:46px; padding:10px 21px; border:1px solid #65768a; border-radius:30px; color:#e5e9ef; background:#1e252e; font:500 12px/1.5 Manrope,sans-serif; cursor:pointer; }
.collection-more button:hover { background:#2b3542; }
.collection-more .more-arrow { font-size:22px; line-height:1; }
.collection-more button:focus-visible,.modal-back:focus-visible { outline:3px solid #b7d0e4; outline-offset:4px; }
#media-modal .modal-inner { display:flex; flex-direction:column; align-items:stretch; width:min(1100px,94vw); max-height:90vh; max-height:90dvh; }
.modal-toolbar { position:relative; display:flex; align-items:center; gap:14px; min-height:50px; padding:0 53px 12px 0; flex-shrink:0; }
#media-modal .modal-toolbar .modal-close { right:0; top:0; width:38px; height:38px; }
.modal-title { margin:0; color:#e5e9ef; font:500 17px/1.35 Manrope,sans-serif; }
.modal-back { border:1px solid #65768a; border-radius:6px; padding:8px 10px; color:#d9e3ef; background:#1e252e; font:11px/1.4 Manrope,sans-serif; cursor:pointer; flex-shrink:0; }
.modal-content { min-height:0; overflow:auto; overscroll-behavior:contain; text-align:center; }
#media-modal .modal-media { max-height:calc(90vh - 62px); max-height:calc(90dvh - 62px); margin-inline:auto; }
#media-modal .modal-content > img:not([hidden]),#media-modal .modal-content > video:not([hidden]) { display:block; }
.modal-collection { padding:20px; border:1px solid #404a58; background:#15191f; border-radius:7px; text-align:left; }
.work-detail-meta { color:#afbed0; font:11px/1.6 'DM Mono',monospace; margin:0 0 18px; }
.work-media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.work-media-grid.is-single { grid-template-columns:minmax(0,1fr); }
.work-media-item { display:block; min-width:0; padding:7px; border:1px solid #394554; border-radius:5px; color:#dce5ef; background:#0d1015; }
.work-media-item img { display:block; width:100%; height:300px; object-fit:contain; background:#080b10; }
.work-media-grid.is-single .work-media-item img { height:auto; max-height:63vh; }
.work-media-item span { display:block; padding:9px 5px 5px; font:12px/1.5 Manrope,sans-serif; }
.work-detail-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.work-detail-links a { display:inline-flex; min-height:44px; align-items:center; padding:10px 16px; border:1px solid #71849b; border-radius:5px; color:#d4e6f7; background:#222b36; font:12px/1.5 Manrope,sans-serif; }
@media(max-width:1000px) {
 .work-columns { gap:20px; }
 .practice-brand-row { --logo-size:75px; column-gap:15px; }
 .practice-brand-row p { font-size:10px; }
}
@media(max-width:700px) {
 .practice-brand-row { --logo-size:70px; }
 .youtube-practice .creator-videos .video-grid { gap:10px; }
 .youtube-practice .creator-videos .video-card span { font-size:11px; min-height:38px; }
 .youtube-practice .creator-videos .video-card small { font-size:7px; }
 .work-columns { grid-template-columns:minmax(0,1fr); gap:34px; }
 .work-column h3 { font-size:25px; }
 .work-title-link { min-height:55px; padding-block:14px; font-size:20px; }
 #on-set-videos .video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
 #on-set-videos .video-thumb { max-height:none; }
 #gallery .compact-stills { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 #gallery .compact-stills .still { border-width:3px; }
 .gallery-group + .gallery-group { margin-top:40px; }
 .work-media-grid { grid-template-columns:minmax(0,1fr); }
 .work-media-item img { height:auto; max-height:60vh; }
 .modal-collection { padding:12px; }
 .modal-title { font-size:15px; }
}

.ad-credit-note,.ad-rights-note{max-width:850px;line-height:1.7;color:#bdc5cc}.ad-rights-note{font-size:.85rem;color:#97a7b4}.ad-video-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0 38px}.ad-video-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;background:#181d23;border:1px solid #414c58;border-radius:8px;color:#e7edf2;text-decoration:none}.ad-video-link:hover,.ad-video-link:focus-visible{border-color:#afcee5;background:#222d36}.ad-video-copy{display:grid;gap:8px}.ad-video-copy strong{font-size:1.2rem}.ad-video-copy small{color:#a7bac9;font-size:.76rem;line-height:1.6}.ad-video-duration{font:12px monospace;color:#b5d5ef;white-space:nowrap}.ad-stills-title{font-size:1.1rem}.ad-selected-stills{grid-template-columns:repeat(3,minmax(0,1fr))}.web-series-folders{margin:20px 0 28px;border:1px solid #414c58;border-radius:8px;padding:0 18px;background:#171b20}.web-series-folders .film:last-child{border-bottom:0}@media(max-width:640px){.ad-video-list,.ad-selected-stills{grid-template-columns:1fr}.ad-video-link{padding:18px}.ad-video-copy strong{font-size:1rem}}
