:root{--accent:#daa808;--dark:#212832;--ink:#222;--paper:#fff;--radius:0px;--page-width:1224px;font-family:'Space Grotesk',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;display:block}button:disabled{opacity:.5;cursor:wait}button,.button{border:0;background:var(--accent);color:#171717;padding:12px 20px;border-radius:6px;font-weight:600;font-size:16px}.wrap{max-width:var(--page-width);margin:0 auto;padding:0 36px}.site-header{height:128px;display:flex;justify-content:space-between;align-items:center;gap:24px}.site-header img{width:120px;max-height:70px;object-fit:contain}nav{display:flex;gap:40px;align-items:center;font-family:Raleway,sans-serif;font-weight:600}nav details{position:relative}nav summary{cursor:pointer;list-style:none}nav summary:after{content:'⌄';margin-left:8px}#serviceLinks{position:absolute;z-index:5;top:28px;right:0;background:white;box-shadow:0 10px 35px #0002;min-width:200px;padding:16px;display:grid;gap:14px}.menu-toggle{display:none}.hero{display:flex;align-items:center;gap:44px;padding-top:30px;padding-bottom:64px;min-height:430px;border-bottom:2px solid #eaeaea}.hero-text{flex:1;min-width:0}.hero h1{margin:0 0 22px;line-height:1.15;font-weight:600}.eyebrow{font-size:14px;letter-spacing:.08em;line-height:1.6;text-transform:uppercase;color:#856604;margin:0 0 18px}.bio{line-height:1.8;margin:0}.portrait{width:var(--hero-image-width);max-height:400px;align-self:center}.portrait-left .portrait{order:-1}.categories{padding-top:28px;padding-bottom:80px}.categories-title{font-size:40px;font-weight:600;margin:0;padding:28px 0}.category-row{display:flex;min-height:var(--row-height);overflow:hidden;border-radius:var(--radius)}.category-copy{width:calc(100% - var(--image-width));background-image:url('/assets/texture.png');background-size:cover;display:flex;flex-direction:column;justify-content:center;position:relative}.category-copy h2{line-height:1.15;margin:0 0 28px;font-weight:600}.category-copy p{line-height:1.75;margin:0 0 24px}.category-copy .work-link{align-self:flex-start;border-bottom:1px solid currentColor;font-size:16px;padding-bottom:6px}.category-visual{display:flex;width:var(--image-width);background:var(--dark);position:relative;overflow:hidden;align-items:center;justify-content:center}.category-visual img{width:100%;height:100%;position:absolute;inset:0;transition:transform .4s}.category-visual:hover img{transform:scale(1.035)}.image-left .category-visual{order:-1}.category-page{padding-top:32px;padding-bottom:80px;min-height:60vh}.category-page h1{font-size:clamp(36px,6vw,70px);margin:16px 0}.back-link{display:inline-block;color:#705603;margin-bottom:36px}.category-intro{font-size:20px;line-height:1.7;max-width:760px;margin-bottom:44px}.project-grid{display:grid;grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));align-items:start}.project-card{min-width:0}.project-image{position:relative;width:100%;display:block;padding:0;overflow:hidden;background:#f0f0ee;border-radius:var(--radius)}.project-image img{width:100%;height:100%;position:absolute;inset:0}.project-card h3{font-size:19px;line-height:1.4;margin:18px 0 8px}.project-card p{font-size:16px;line-height:1.6;color:#555}.play-label{position:absolute;bottom:16px;left:16px;background:#212832eb;color:white;border-radius:30px;padding:9px 16px;font-size:14px}footer{background:#222;color:white}.contact-inner{padding-top:60px;padding-bottom:60px}.contact-inner h2{font-size:clamp(32px,5vw,48px);margin:0 0 20px}.contact-inner>p{color:#ddd;font-size:18px}label{display:block;font-size:14px;margin:8px 0}.contact-fields{display:flex;align-items:stretch;gap:12px;max-width:850px}textarea,input,select{border:1px solid #bbb;padding:12px;border-radius:4px;min-width:0;font-size:16px}textarea{resize:vertical}.contact-fields textarea{flex:1;background:#383838;border:1px solid #777;color:white}.hint{font-size:14px;color:#8c8c8c;line-height:1.6}.contact-links{display:flex;flex-wrap:wrap;gap:28px;margin-top:28px}.footer-end{background:#212832;max-width:none;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:32px max(36px,calc((100vw - 1152px)/2));color:#c8c8c8;font-size:14px}dialog{width:min(1100px,94vw);max-height:92vh;padding:24px;border:0;border-radius:10px}dialog::backdrop{background:#101720d9}.close-viewer{float:right;margin-bottom:15px}.viewer-image{max-height:70vh;margin:auto;object-fit:contain}.viewer-video{width:100%;aspect-ratio:16/9;border:0;background:#111}.source-link{display:inline-block;margin-top:20px;text-decoration:underline}.loading,.error,.empty{padding-top:50px;padding-bottom:50px}.error{color:#9c2323}#previewBar{background:#daa808;padding:10px 28px;text-align:center;font-size:14px}#previewBar a{text-decoration:underline;margin-left:16px}#toast{position:fixed;bottom:25px;right:25px;background:#212832;color:#fff;border-radius:8px;padding:16px 22px;z-index:100;max-width:min(480px,90vw)}#toast:empty{display:none}
/* Content studio */
.studio{background:#f5f5f3;min-height:100vh}.studio-header{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;background:#212832;color:white;position:sticky;top:0;z-index:20;gap:20px;flex-wrap:wrap}.studio-brand{display:flex;gap:18px;align-items:center}.studio-brand img{width:88px}.studio-brand p{margin:0;font-size:14px;color:#c2c9cf}.studio-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.studio-actions a{font-size:14px;padding:8px}.secondary{background:#e8e8e4;color:#222}.danger{background:#fff0ed;color:#9a2b21}.studio-body{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:1550px;margin:auto;min-height:80vh}.studio-nav{padding:28px 18px;border-right:1px solid #ddd}.studio-nav button{display:block;width:100%;text-align:left;background:transparent;margin-bottom:7px;font-size:16px;font-weight:500}.studio-nav button.active{background:#e7dba8}.studio-nav .hint{padding:12px}.editor{padding:32px;min-width:0}.editor h1{font-size:32px;margin:0 0 10px}.editor h2{font-size:22px;margin:32px 0 16px}.editor-intro{color:#5e645e;line-height:1.6;max-width:900px;margin-bottom:28px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;background:#fff}.field input[type=checkbox]{width:auto}.field input[type=color]{height:45px;padding:4px}.field textarea{min-height:105px}.field .hint{margin:5px 0}.media-field{display:flex;gap:8px;align-items:center}.media-field input{flex:1}.media-field button{padding:12px;font-size:14px}.field-preview{height:110px;width:170px;object-fit:contain;background:#e4e4e0;margin-top:10px}.panel{background:white;border:1px solid #deded8;padding:24px;border-radius:10px;margin-bottom:24px}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.toolbar h2{margin:0}.toolbar input{max-width:300px}.item-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e7e7e2}.item-row img{width:96px;height:68px;object-fit:contain;background:#eee;flex-shrink:0}.item-info{flex:1;min-width:0}.item-info h3{margin:0 0 5px;font-size:17px;overflow-wrap:anywhere}.item-info p{margin:0;font-size:14px;color:#666}.row-actions{display:flex;gap:7px;flex-wrap:wrap}.row-actions button{padding:8px 12px;font-size:14px}.badge{font-size:13px;padding:4px 8px;background:#eee;border-radius:20px;display:inline-block;margin:6px 0}.studio-login{max-width:620px;margin:80px auto;padding:32px;background:white;border:1px solid #ddd}.studio-login p{line-height:1.7}.studio-login a.button{display:inline-block;margin-top:12px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.library-card{background:white;border:1px solid #ddd;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.library-card img{width:100%;height:140px;object-fit:contain;background:#eee}.library-card .meta{padding:12px;overflow-wrap:anywhere;flex:1}.library-card h3{font-size:15px;margin:0 0 8px}.library-card p{font-size:13px;color:#666}.library-card button{font-size:14px;padding:9px 12px;margin:0 12px 12px}.library-dialog{max-width:1100px}.library-dialog .library-grid{max-height:60vh;overflow:auto}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.save-state{font-size:14px;color:#e6d49c}.upload-zone{border:2px dashed #b8bcb1;padding:24px;text-align:center;background:#fafaf7;border-radius:8px;margin-bottom:24px}.upload-zone input{max-width:100%;margin:12px 0}.upload-zone p{font-size:14px;color:#666}.editor-footer{display:flex;justify-content:space-between;gap:16px;margin-top:28px}.section-note{padding:16px;background:#f5eed5;border-left:3px solid #daa808;font-size:15px;line-height:1.7}.local-preview{width:100%;border:1px solid #ddd;min-height:700px;background:white}.mobile-preview{max-width:390px}.inline-check{display:flex;align-items:center;gap:8px}.inline-check input{width:auto}
@media(max-width:800px){.wrap{padding-left:22px;padding-right:22px}.site-header{height:100px}.site-header img{width:100px}.menu-toggle{display:block;background:#f3ecd3;font-size:14px}.site-header nav{display:none;position:absolute;top:85px;right:22px;padding:24px;background:white;box-shadow:0 10px 35px #0002;z-index:10;min-width:220px;align-items:flex-start;gap:24px}.site-header nav.open{display:flex;flex-direction:column}#serviceLinks{position:static;box-shadow:none;padding:20px 0 0}.hero{flex-direction:column-reverse;gap:28px;padding-bottom:42px;align-items:flex-start}.portrait{width:min(65%,270px);height:260px;align-self:center}.portrait-left .portrait{order:0}.hero .bio{font-size:17px!important}.categories-title{font-size:32px}.category-row{flex-direction:column!important;min-height:0}.category-copy{width:100%!important;padding:32px 26px!important;min-height:300px}.category-copy h2{margin-bottom:18px}.category-visual{width:100%;height:360px;order:-1!important}.category-copy p{font-size:17px!important}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card{grid-column:span 1!important}.contact-fields{flex-direction:column}.studio-header{padding:14px}.studio-body{grid-template-columns:1fr}.studio-nav{display:flex;overflow-x:auto;padding:12px;border-right:0;border-bottom:1px solid #ddd}.studio-nav button{white-space:nowrap;width:auto;font-size:14px;margin:0}.studio-nav .hint{display:none}.editor{padding:20px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.item-row{flex-wrap:wrap}.row-actions{width:100%;justify-content:flex-end}.studio-brand img{width:65px}.studio-actions button{padding:10px;font-size:14px}.panel{padding:18px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.project-grid{grid-template-columns:1fr}.category-visual{height:300px}.contact-links{flex-direction:column;gap:15px}.studio-actions{gap:4px}}
/* Compact profile and media-first category pages. */
.site-header{height:88px}
nav summary{display:inline-flex;align-items:center;gap:10px;user-select:none}
nav summary::-webkit-details-marker{display:none}
nav summary:after{content:'';display:block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:0;transition:transform .18s}
nav details[open] summary:after{transform:translateY(2px) rotate(225deg)}
#serviceLinks{top:34px;z-index:50}
.hero.compact-profile{min-height:0;padding-top:10px;padding-bottom:24px;gap:36px}
.compact-profile .portrait{max-height:245px;max-width:270px}
.compact-profile h1{font-size:clamp(30px,3.7vw,44px)!important;margin-bottom:12px}
.compact-profile .eyebrow{margin-bottom:10px}
.compact-profile .bio{line-height:1.6;font-size:17px!important}
.categories{padding-top:8px}
.categories-title{padding:14px 0 18px;line-height:1.3}
.category-page{padding-top:0}
.category-banner{display:flex;align-items:center;gap:36px;padding-top:22px;padding-bottom:26px;min-height:220px;border-bottom:1px solid #eaeaea}
.category-banner-copy{flex:1;min-width:0}
.category-banner .back-link{margin:0 0 12px;font-size:14px}
.category-banner .eyebrow{margin-bottom:7px}
.category-banner h1{font-size:clamp(32px,4vw,50px);margin:6px 0 12px;line-height:1.1}
.category-banner .category-intro{font-size:16px;line-height:1.6;margin:0;max-width:740px}
.category-banner-art{width:230px;height:180px;object-fit:contain;flex-shrink:0}
.category-page:not(.immersive-page)>.project-grid{max-width:var(--page-width);margin:32px auto;padding:0 36px}
.immersive-page>.project-grid{margin:0;padding:8px;background:white}
.gallery-mosaic{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(130px,18vw,280px);grid-auto-flow:row dense;align-items:stretch}
.gallery-mosaic .project-card{grid-row:span 2;overflow:hidden;background:#212832;height:100%;min-height:0}
.gallery-mosaic .project-image{height:100%;aspect-ratio:auto!important;border-radius:0}
.gallery-mosaic .project-image img{transition:transform .4s}
.gallery-mosaic .project-image:hover img{transform:scale(1.025)}
.gallery-mosaic .project-caption{position:absolute;bottom:0;left:0;right:0;padding:58px 30px 24px;background:linear-gradient(transparent,#000b);pointer-events:none}
.gallery-mosaic .project-caption h3{font-size:clamp(23px,2.8vw,40px);line-height:1.15;color:#f0c231;margin:0 0 6px;text-shadow:0 1px 5px #0009;overflow-wrap:anywhere}
.gallery-mosaic .project-caption p{font-size:16px;line-height:1.4;color:white;margin:0}
.gallery-mosaic .play-label{top:22px;bottom:auto;left:24px;background:#212832d9;border:1px solid #ffffff80}
.gallery-artwork{display:block;column-count:var(--columns,2);column-gap:8px!important}
.gallery-artwork .project-card{break-inside:avoid;display:inline-block;width:100%;margin:0 0 8px;vertical-align:top}
.gallery-artwork .project-image{aspect-ratio:auto!important;background:#f4f4f2;border-radius:0}
.gallery-artwork .project-image img{position:static;width:100%;height:auto;object-fit:contain}
.gallery-artwork .project-caption{padding:10px 12px 14px;background:#fff}
.gallery-artwork .project-caption h3{margin:0;font-size:17px}
.gallery-artwork .project-caption p{margin:6px 0 0;font-size:15px}
@media(max-width:800px){
  .site-header{height:76px}.site-header nav{top:65px}
  .hero.compact-profile{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:10px 16px;padding-top:10px;padding-bottom:22px}
  .compact-profile .hero-text{display:contents}
  .compact-profile .eyebrow{grid-column:1;grid-row:1;font-size:12px;margin:0;align-self:end}
  .compact-profile h1{grid-column:1;grid-row:2;margin:0;font-size:30px!important;align-self:start}
  .compact-profile .portrait{grid-column:2;grid-row:1/3;order:0;width:125px;height:135px;max-height:135px}
  .compact-profile .bio{grid-column:1/-1;grid-row:3;font-size:16px!important;line-height:1.55}
  .categories-title{font-size:30px}
  .category-banner{gap:20px;padding-top:15px;padding-bottom:20px;min-height:180px}
  .category-banner-art{width:135px;height:135px}
  .category-banner h1{font-size:34px}
  .category-banner .category-intro{font-size:15px}
  .gallery-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(130px,27vw,220px)}
  .gallery-mosaic .project-card{grid-column:span 1!important;grid-row:span 1}
  .gallery-mosaic .project-caption{padding:40px 16px 16px}
  .gallery-mosaic .project-caption h3{font-size:23px}
  .gallery-mosaic .play-label{top:12px;left:12px;font-size:13px;padding:7px 10px}
  .gallery-artwork{column-count:2}
}
@media(max-width:520px){
  .category-banner{position:relative;gap:14px}
  .category-banner-art{width:95px;height:110px}
  .category-banner .category-intro{font-size:14px}
  .gallery-mosaic{grid-template-columns:1fr;grid-auto-rows:minmax(300px,75vw)}
  .gallery-mosaic .project-card{grid-column:span 1!important}
  .gallery-artwork{column-count:1}
  .gallery-mosaic .project-caption h3{font-size:30px}
}
.category-row,.project-card{position:relative}
.draft-hidden{outline:2px dashed #9da3a6;outline-offset:-2px;background:#e8e9e7}
.draft-hidden>:not(.hidden-label){opacity:.42;filter:grayscale(.75)}
.hidden-label{position:absolute;top:14px;left:14px;z-index:2;padding:8px 12px;border-radius:5px;background:#343d45;color:white;font-size:14px;font-weight:600;pointer-events:none}
.item-hidden>.item-info,.item-hidden>img{opacity:.45;filter:grayscale(.8)}
.visibility-toggle{background:#e3eddc;color:#294220;min-width:84px}
.visibility-toggle[aria-pressed=false]{background:#e7e8e7;color:#555}
.drag-handle{flex-shrink:0;align-self:stretch;min-width:36px;padding:8px 4px;background:transparent;color:#727974;font-size:28px;cursor:grab;touch-action:none;user-select:none}
.drag-handle:active{cursor:grabbing}
.item-row{position:relative}
.item-row.is-dragging{opacity:.55;background:#f0ead6}
.item-row.drop-before:before,.item-row.drop-after:after{content:'';position:absolute;left:0;right:0;height:3px;background:#a67e00;z-index:3}
.item-row.drop-before:before{top:0}.item-row.drop-after:after{bottom:0}
[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Film tiles follow the actual orientation, independent of photo mosaics. */
.gallery-video{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;grid-auto-flow:row;grid-auto-rows:auto}
.gallery-video .project-card{position:relative;min-width:0;height:auto;background:#212832;overflow:hidden}
.gallery-video .project-image{aspect-ratio:var(--video-ratio,16/9)!important;height:auto;border-radius:0;background:#14191f}
.gallery-video .project-caption{position:absolute;bottom:0;left:0;right:0;padding:62px 24px 20px;background:linear-gradient(transparent,rgba(0,0,0,.78));pointer-events:none}
.gallery-video .project-caption h3{font-size:clamp(19px,2vw,28px);color:#f0c231;line-height:1.25;margin:0 0 6px}
.gallery-video .project-caption p{color:white;font-size:16px;line-height:1.5;margin:0}
.gallery-video .format-portrait .project-caption{padding:60px 14px 16px}
.gallery-video .format-portrait h3{font-size:21px}
.portrait-viewer{width:min(520px,94vw)}
.portrait-viewer .viewer-video{aspect-ratio:9/16;max-height:68vh;display:block;margin:auto;width:auto;max-width:100%}
@media(max-width:800px){.gallery-video{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-video .project-card{grid-column:span 2!important}.gallery-video .format-portrait{grid-column:span 1!important}.gallery-video .project-caption{padding:12px}.gallery-video .format-portrait h3{font-size:17px}}
@media(max-width:520px){.gallery-video{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-video .project-card{grid-column:span 2!important}.gallery-video .format-portrait{grid-column:span 1!important}}

.gallery-video .play-label{top:18px;bottom:auto;left:18px;background:#212832b3}
.gallery-video .project-caption h3{text-shadow:0 1px 5px #0009}
.gallery-video .project-caption p{text-shadow:0 1px 4px #000}
@media(max-width:800px){.gallery-video .project-caption{padding:48px 14px 14px}.gallery-video .project-caption p{font-size:14px}}

/* Compose complete rows so a lone portrait gives its neighbour the remaining width. */
.gallery-video{grid-template-columns:minmax(0,1fr)}
.video-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:inherit;align-items:stretch}
.gallery-video .video-row .project-card{grid-column:auto!important;align-self:stretch;height:100%}
.video-row.single-video{grid-template-columns:minmax(0,1fr)}
.video-row.mixed-video.portrait-first{grid-template-columns:minmax(0,1fr) minmax(0,3fr)}
.video-row.mixed-video.portrait-last{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
.gallery-video .mixed-video .format-landscape .project-image{height:100%;aspect-ratio:auto!important}
@media(max-width:520px){.video-row,.video-row.mixed-video.portrait-first,.video-row.mixed-video.portrait-last{grid-template-columns:minmax(0,1fr)}.gallery-video .mixed-video .format-landscape .project-image{height:auto;aspect-ratio:16/9!important}.gallery-video .format-portrait .project-image{max-height:75vh}.gallery-video .video-row .project-card{height:auto}}

.category-heading{display:flex;align-items:center;gap:18px}.category-heading .back-link{font-size:32px;line-height:1;margin:0;flex-shrink:0;padding:8px;color:var(--ink);text-decoration:none}.category-heading .back-link:hover{color:var(--accent)}.category-heading h1{margin:6px 0 12px}

.email-login{max-width:440px;margin:24px auto;text-align:left;display:grid;gap:12px}.email-login input{width:100%}.email-login label{margin-bottom:0}.email-login .hint{color:#555}
