/* Complete collection + generously scaled, source-grounded film studies. */
.work-introduction .collection-census{font:600 11px/1.8 var(--mono);color:#526d13;letter-spacing:.04em}
.featured-case{grid-template-areas:"heading visual" "meta visual" "transport transport" "frames frames" "study study" "notes notes" "process process" "link link"}
.featured-case>.film-development{grid-area:study;margin-top:24px}
.film-development{--study-accent:var(--purple);--study-surface:#eeebe3;--study-line:#d1ccc1;min-width:0;color:var(--ink)}
#caseStudyContent>.film-development{padding:64px var(--page-gutter);background:#f1ede4;border-block:1px solid var(--line)}
.study-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:end;padding:0 0 32px;border-bottom:1px solid var(--study-line)}
.study-eyebrow{margin:0 0 18px;font:600 11px/1.5 var(--mono);letter-spacing:.16em;color:var(--study-accent)}
.study-heading h3{margin:0;max-width:650px;font:400 clamp(42px,4.5vw,72px)/1.05 var(--display);text-transform:uppercase;letter-spacing:-.025em}
.study-introduction>p{font-size:16px;line-height:1.65;margin:0 0 18px;color:var(--muted)}
.study-introduction .study-provenance{margin:0;font:400 11px/1.6 var(--mono);color:#646056}
.study-provenance>span{display:block;width:fit-content;margin:0 0 8px;padding:5px 8px;border:1px solid var(--study-line);color:var(--ink);text-transform:uppercase;letter-spacing:.06em}
.study-board-heading{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin:32px 0 18px}
.study-board-heading h4{font:600 11px/1.5 var(--mono);letter-spacing:.16em;margin:0}
.study-board-heading p{margin:0;max-width:500px;color:var(--muted);font:400 11px/1.5 var(--mono)}
.study-storyboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.study-shot{min-width:0;display:flex;flex-direction:column;background:var(--study-surface);color:var(--ink);padding:0;border:1px solid var(--study-line);text-align:left;cursor:pointer;transition:border-color .18s}
.study-shot:hover{border-color:var(--study-accent)}
.study-shot-top{display:flex;justify-content:space-between;gap:16px;padding:13px 16px;font:500 10px/1.5 var(--mono);letter-spacing:.06em}
.study-shot-top b{color:var(--study-accent)}
.study-shot-image{display:block;position:relative;background:#141413;overflow:hidden}
.study-shot-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.film-development--portrait .study-shot-image img{height:320px;aspect-ratio:auto;object-fit:contain}
.study-shot-play{display:grid;place-items:center;position:absolute;right:12px;bottom:12px;width:36px;height:36px;background:var(--green);color:#101010;border-radius:50%;font-size:22px}
.study-shot-copy{display:grid;gap:8px;padding:20px}
.study-shot-copy strong{font:600 21px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.02em}
.study-shot-copy small{font:500 10px/1.5 var(--mono);text-transform:uppercase;color:var(--study-accent);letter-spacing:.06em}
.study-shot-copy>span{font:400 13px/1.65 "DM Sans",sans-serif;color:var(--muted)}
.study-direction{margin-top:32px}
.study-stage-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#aaa69b;border:1px solid #aaa69b}
.study-stage-tab{display:flex;align-items:center;gap:16px;min-height:88px;padding:20px;border:0;text-align:left;background:var(--paper-bright);color:#20201e;font:600 15px/1.35 "Space Grotesk",sans-serif;cursor:pointer}
.study-stage-tab>b{font:500 12px/1.5 var(--mono);color:var(--study-accent)}
.study-stage-tab>span:last-child{margin-left:auto}
.study-stage-tab[aria-pressed="true"]{background:#151513;color:#fff}
.study-stage-tab[aria-pressed="true"]>b{color:var(--green)}
.study-stage-panel{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;padding:30px;background:#151513;color:#f6f2e9;min-height:300px}
.study-stage-panel[hidden]{display:none}
.study-stage-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:center;min-width:0}
.study-stage-images figure{margin:0;min-width:0}
/* Reset HTML height attributes: landscape frames must scale with their width. */
.study-stage-images img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#0c0c0b;display:block}
.film-development--portrait .study-stage-images img{height:300px;aspect-ratio:auto}
.study-stage-images figcaption{display:flex;justify-content:space-between;gap:12px;padding:12px 0 0;color:#a9a59a;font:400 10px/1.5 var(--mono)}
.study-stage-copy{align-self:center;min-width:0}
.study-stage-copy .study-eyebrow{color:var(--green);font-size:10px}
.study-stage-copy h5{font:400 clamp(30px,3vw,46px)/1.08 var(--display);text-transform:uppercase;margin:0 0 20px}
.study-stage-copy>p:not(.study-eyebrow){font:400 15px/1.75 "DM Sans",sans-serif;margin:0;color:#c9c6be}
.study-source-label{display:block;color:#a6a397;border-top:1px solid #48463f;font:400 10px/1.6 var(--mono);margin-top:24px;padding-top:12px}
.study-shot:focus-visible,.study-stage-tab:focus-visible{outline:3px solid var(--purple);outline-offset:4px}
.featured-frames,.case-keyframes{scrollbar-width:thin;scrollbar-color:#777164 #151410}
.featured-frames::-webkit-scrollbar,.case-keyframes::-webkit-scrollbar{height:6px}
.featured-frames::-webkit-scrollbar-track,.case-keyframes::-webkit-scrollbar-track{background:#151410}
.featured-frames::-webkit-scrollbar-thumb,.case-keyframes::-webkit-scrollbar-thumb{background:#777164;border-radius:4px}
.featured-process{padding-top:24px;border-top:1px solid var(--line)}
.featured-process-grid{display:flex;gap:28px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:4px 4px 14px;margin:-4px -4px 0;scrollbar-width:thin;scrollbar-color:#a94f38 #e8c7a9}
.featured-process figure{min-width:0;flex:0 0 calc((100% - 28px)/2);scroll-snap-align:start}
.featured-material-controls{display:flex;align-items:center;gap:8px}
.featured-material-controls small{margin-right:12px;font:500 10px/1.5 var(--mono);color:var(--muted)}
.featured-material-controls button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:20px;cursor:pointer}
.featured-material-controls button:hover:not(:disabled){background:var(--ink);color:var(--paper)}
.featured-material-controls button:disabled{opacity:.3;cursor:default}
.featured-process-grid:focus-visible,.featured-material-controls button:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.featured-process-grid::-webkit-scrollbar{height:6px}
.featured-process-grid::-webkit-scrollbar-track{background:#e8c7a9}
.featured-process-grid::-webkit-scrollbar-thumb{background:#a94f38;border-radius:4px}
.featured-process img{display:block;height:auto;aspect-ratio:16/10;max-height:420px;object-fit:contain}
.featured-process figcaption{font-size:13px;line-height:1.6}
.featured-detail-stack img{object-position:center}
.theme--coffee .featured-detail:last-child img{object-position:center 8%}
/* Warm tomato / toasted cream, with lime retained for the shared player controls. */
.featured-case.theme--pizza{background:#f7e4d2;--study-accent:#b42d1a;--muted:#705244;--line:#ccab96;--study-surface:#faeee2;--study-line:#d3ae96}
.theme--pizza::before{background:linear-gradient(140deg,#f7e4d2 5%,#f0d1b7 55%,#f8e9da 95%)}
.theme--pizza .featured-eyebrow{color:#ac271a}
.theme--pizza .featured-title{color:#b22318;text-shadow:2px 2px 0 #f8c7a2}
.theme--pizza .featured-subtitle{display:inline-block;padding:9px 13px;color:#fff2e1!important;background:#a7261b}
.theme--pizza .featured-meta dt::after,.theme--pizza .featured-frames-heading h3::before,.theme--pizza .featured-process-heading h3::before{background:#ae2b1a}
.theme--pizza .featured-frames{background:#5c160f;padding:18px 10px}
.theme--pizza .featured-frame{background:#732319}
.theme--pizza .featured-frame small{color:#f2cfb5}
.theme--pizza .study-stage-panel,.theme--pizza .study-stage-tab[aria-pressed="true"]{background:#52180f}
.theme--pizza .study-stage-copy>p:not(.study-eyebrow){color:#f0cdb7}
.theme--pizza .study-source-label{border-color:#8a4c39;color:#dfb89c}
.theme--pizza .featured-process img{background:#ecd3bb}
.theme--pizza .featured-case-link{color:#9e2419}
#caseStudyContent[data-case-project="xtra-cheese-pizza-tvc"]{background:#f7e4d2;--line:#ccab96}
#caseStudyContent[data-case-project="xtra-cheese-pizza-tvc"] .case-title-panel h2{color:#ac271a}
#caseStudyContent[data-case-project="xtra-cheese-pizza-tvc"]>.film-development{background:#f7e4d2;--study-accent:#a7261b;--study-surface:#faeee2;--study-line:#d3ae96}
/* The full visual collection lives above. Index is now genuinely a quick directory. */
#allProjects{gap:0 28px}
#allProjects .project-card{padding:24px 0;border-top:1px solid var(--line)}
#allProjects .project-card-frame,#allProjects .card-summary,#allProjects .card-role,#allProjects .card-status,#allProjects .card-play{display:none}
#allProjects .card-kicker{font-size:10px;letter-spacing:.02em;color:var(--muted)}
#allProjects .project-card h3{font-size:19px;line-height:1.3;margin:12px 0}
#allProjects .card-actions{margin-top:12px}
#allProjects .card-actions a{font-size:11px}
@media(min-width:1700px){.film-development--portrait .study-shot-image img{height:390px}.film-development--portrait .study-stage-images img{height:360px}}
@media(max-width:1100px){.study-heading{gap:28px}.study-storyboard{gap:16px}.film-development--portrait .study-shot-image img{height:260px}.study-shot-copy{padding:16px}.study-stage-panel{gap:24px;padding:24px;grid-template-columns:1fr 1fr}.study-stage-tab{padding:16px;gap:10px;font-size:13px}.film-development--portrait .study-stage-images img{height:240px}}
@media(max-width:767px){.study-heading{grid-template-columns:1fr;gap:24px;padding-bottom:24px}.study-heading h3{font-size:44px}.study-introduction>p{font-size:15px}.study-board-heading{display:grid;gap:10px}.study-storyboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.study-shot-top{padding:10px;font-size:9px}.film-development--portrait .study-shot-image img{height:220px}.study-shot-copy{padding:12px;gap:8px}.study-shot-copy strong{font-size:17px}.study-shot-copy small{font-size:9px}.study-shot-copy>span{font-size:12px}.study-shot-play{width:28px;height:28px;font-size:19px;right:7px;bottom:7px}.study-stage-controls{grid-template-columns:1fr}.study-stage-tab{min-height:58px}.study-stage-panel{grid-template-columns:1fr;padding:18px;gap:28px}.study-stage-copy h5{font-size:34px}.study-stage-copy>p:not(.study-eyebrow){font-size:14px}.study-stage-images{gap:10px}.film-development--portrait .study-stage-images img{height:245px}.study-direction{margin-top:32px}.featured-process-grid{grid-template-columns:1fr;gap:24px}.featured-process img{max-height:none;aspect-ratio:auto}.featured-case>.film-development{margin-top:8px}.featured-process figure{margin:0}.featured-case.theme--pizza{padding-top:48px}#caseStudyContent>.film-development{padding:48px 20px}#allProjects{gap:0}#allProjects .project-card h3{font-size:20px}}
@media(max-width:420px){.study-storyboard{grid-template-columns:1fr}.film-development--portrait .study-shot-image img{height:340px}.study-shot-copy{padding:18px}.study-shot-copy strong{font-size:22px}.study-shot-copy>span{font-size:14px}.study-shot-top{padding:12px 18px}.study-stage-images{gap:8px}.film-development--portrait .study-stage-images img{height:220px}}
@media(prefers-reduced-motion:reduce){.study-shot{transition:none}}
@media(max-width:767px){.featured-process-grid{display:flex;gap:16px}.featured-process figure{flex-basis:86%;margin:0}.featured-process img{width:100%;height:auto;aspect-ratio:16/10;max-height:280px}.featured-process-heading{align-items:flex-start}.featured-material-controls{flex-wrap:wrap;justify-content:flex-end}.featured-material-controls small{flex-basis:100%;margin:0;text-align:right;font-size:9px}.featured-material-controls button{width:36px;height:36px}}
