#composer{gap:10px}#voice-btn{font-size:12px;white-space:nowrap;padding:10px}#voice-btn[aria-pressed=true]{background:#654885}#conversation{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(50% + 35px);width:min(730px,calc(100% - 40px));max-height:35vh;background:#f5f2eaf5;border:1px solid #44334420;border-radius:16px;padding:20px;color:#25202b;box-shadow:0 12px 55px #0001}#iris-messages{max-height:23vh;overflow:auto}.utterance{font-size:14px;line-height:1.6;margin:0 0 12px;white-space:pre-wrap}.utterance.visitor{color:#877e87;font-size:12px}.utterance.error{color:#924654}#hide-conversation{float:right;border:0;padding:0 5px;background:none}#chips{display:flex;gap:7px;flex-wrap:wrap}#chips a{color:#574573}#preview-kaiak{display:block;margin:12px auto 0;background:#ffffff66;font-size:11px}dialog{width:min(1050px,calc(100% - 32px));height:86dvh;max-height:86dvh;border:1px solid #fff9;border-radius:20px;background:#f8f6f0;color:#29252c;padding:0;box-shadow:0 30px 120px #0004}dialog::backdrop{background:#17102050;backdrop-filter:blur(10px)}.content-top{position:sticky;top:0;background:#f8f6f0f2;z-index:1;display:flex;justify-content:space-between;padding:17px 28px;border-bottom:1px solid #29252c18;align-items:center}.content-top h2{font-size:20px;margin:0;font-weight:450}#content-scroll{height:calc(100% - 140px);overflow:auto;padding:26px 40px}#content-body{max-width:880px;margin:auto}#content-body p{font-size:16px;line-height:1.8}#content-body .project-meta{font-size:12px;letter-spacing:.05em;color:#776c7d}.project-hero{width:100%;max-height:350px;object-fit:cover;border-radius:8px}dl{display:grid;grid-template-columns:110px 1fr;font-size:13px;gap:8px}dt{color:#837788}dd{margin:0}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:30px 0}.gallery img{width:100%;height:210px;object-fit:cover;border-radius:6px}.project-map{width:100%;margin:20px 0}#content-body details{margin:20px 0}#content-body details p{font-size:13px;margin:5px 0}#content-body a,#video-slot a{color:#674881}#video-slot:empty{display:none}#video-slot{margin-top:24px}#video-slot iframe{width:100%;aspect-ratio:16/9;border:0}#video-slot p{font-size:12px}#modal-composer{margin:8px 22px;border-radius:12px;padding:9px 12px;box-shadow:none}#modal-composer input{font-size:14px}@media(max-width:600px){#content-scroll{padding:15px}.gallery img{height:130px}#conversation{max-height:30vh}#iris-messages{max-height:19vh}#voice-btn{padding:8px}.content-top{padding:15px}#modal-composer{margin:8px}#composer input{font-size:14px}} 

/* Conversation inputs use the enclosing form as a subtle focus indicator. */
#composer input:focus-visible,#modal-composer input:focus-visible{outline:none}
#composer:focus-within,#modal-composer:focus-within{border-color:rgba(255,255,255,.28)}

/* Content fills the lightbox below its header. */
#content-dialog{overflow:hidden}
#content-dialog[open]{display:flex;flex-direction:column}
.content-top{flex-shrink:0}
#content-scroll{height:auto;flex:1;min-height:0}

/* Kaiak: an editorial photo essay, scoped to the content surface. */
#content-dialog{width:min(1240px,calc(100% - 48px));height:92dvh;max-height:92dvh;border:0;border-radius:5px;background:#eeeae2;color:#242522}
#content-dialog::backdrop{background:#16191585;backdrop-filter:blur(14px)}
#content-dialog .content-top{padding:13px 24px;background:#eeeae2;border-bottom:0;z-index:2}
#content-title{font-size:11px;text-transform:uppercase;letter-spacing:.15em}
#close-content{background:transparent;border:0;font-size:11px;border-radius:0}
#content-scroll{padding:0;overscroll-behavior:contain;scroll-behavior:smooth}
#content-body{max-width:none}
#content-body .editorial-pad{padding:70px 8%}
#content-body .eyebrow{font-size:10px;line-height:1.5;letter-spacing:.15em;text-transform:uppercase;margin:0 0 30px;color:#a23932}
.kaiak-cover{position:relative;min-height:480px;height:65vh;max-height:760px;isolation:isolate;overflow:hidden;background:#344641}
.kaiak-cover>img{width:100%;height:100%;position:absolute;object-fit:cover}
.kaiak-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#091912a8,transparent 75%);z-index:0}
.cover-title{position:absolute;bottom:7%;left:8%;right:8%;z-index:1;color:#f5f2e8}
#content-body .cover-title .eyebrow{color:inherit;margin:0 0 20px}
.cover-title h1{font-size:clamp(90px,16vw,210px);font-weight:450;line-height:.8;letter-spacing:-.075em;margin:0 0 26px}
#content-body .cover-line{font-size:14px;letter-spacing:.015em;margin:0}
#content-body .kaiak-intro h2{max-width:850px;font-size:clamp(28px,3.9vw,52px);line-height:1.14;font-weight:400;letter-spacing:-.035em;margin:0}
.kaiak-stats{display:flex;gap:45px;flex-wrap:wrap;margin-top:45px;border-top:1px solid #24252235;padding-top:22px;font-size:14px}
#content-body .kaiak-story{display:grid;grid-template-columns:1fr 1.65fr;gap:9%;padding-top:10px}
#content-body .kaiak-story h2{font-size:32px;font-weight:400;line-height:1.15;letter-spacing:-.025em;margin:0}
#content-body .kaiak-story p:not(.eyebrow){font-size:15px;line-height:1.85;margin:0 0 22px;color:#55564f}
.kaiak-film{background:#202723;color:#eeeae2;padding:35px 5% 5%}
#content-body .kaiak-film .eyebrow{color:#c2c8b7;margin-bottom:22px}
.film-poster{position:relative;display:block;width:100%;padding:0;border:0;border-radius:0;overflow:hidden;background:#14201b;aspect-ratio:16/9;color:white}
.film-poster[hidden]{display:none}
.film-poster img{width:100%;height:100%;object-fit:cover;opacity:.8;transition:transform .7s,opacity .7s}
.film-poster:hover img{transform:scale(1.025);opacity:1}
.film-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border:1px solid #fff9;border-radius:50%;display:grid;place-items:center;font-size:30px;background:#0002}
.film-label{position:absolute;bottom:25px;left:30px;font-size:13px;letter-spacing:.04em}
#video-slot{margin:0}#video-slot iframe{display:block}#video-slot button{margin:18px 24px 0 0;background:transparent;color:inherit;border-color:#fff5}#video-slot a{color:#eeeae2;font-size:12px}
.editorial-gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:42px 24px;align-items:start}
.editorial-gallery figure{margin:0;grid-column:span 6}.editorial-gallery figure:nth-child(1){grid-column:span 8}.editorial-gallery figure:nth-child(2){grid-column:span 4;margin-top:70px}.editorial-gallery figure:nth-child(3){grid-column:span 12}.editorial-gallery figure:nth-child(5){margin-top:65px}.editorial-gallery figure:nth-child(6){grid-column:2 / 12}
.editorial-gallery img{display:block;width:100%;height:auto}.editorial-gallery figcaption{margin-top:10px;font-size:9px;letter-spacing:.12em;color:#79796f}
#content-body .kaiak-archive{padding-top:10px}#content-body .kaiak-archive details{border-top:1px solid #24252230;margin:0;padding:22px 0}#content-body summary{cursor:pointer;font-size:12px;letter-spacing:.03em}
.credit-groups{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:25px 0}.credit-groups h3{font-size:13px;font-weight:500}.credit-groups dl{grid-template-columns:1fr 1.2fr;font-size:11px;line-height:1.6}.credit-groups dt{color:#77786d}
#content-body .kaiak-cta{display:inline-block;color:#242522;font-size:24px;text-decoration:none;border-bottom:1px solid #a23932;margin-top:28px;padding-bottom:8px}
@media(max-width:650px){#content-dialog{width:calc(100% - 16px);height:95dvh;max-height:95dvh}.kaiak-cover{min-height:370px;height:55vh}#content-body .editorial-pad{padding:40px 7%}#content-body .kaiak-story{grid-template-columns:1fr;gap:18px}.kaiak-stats{gap:18px;font-size:12px;margin-top:28px}.editorial-gallery{gap:22px 12px}.editorial-gallery figure:nth-child(n){grid-column:span 12;margin-top:0}.editorial-gallery figure:nth-child(4),.editorial-gallery figure:nth-child(5){grid-column:span 6}.credit-groups{grid-template-columns:1fr}.cover-title h1{font-size:90px}.film-play{width:52px;height:52px}.film-label{bottom:14px;left:16px}#content-body .eyebrow{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){#content-scroll{scroll-behavior:auto}.film-poster img{transition:none}}

/* Long project names retain the cover hierarchy without overflowing. */
.cover-title h1{font-size:clamp(52px,9vw,128px);overflow-wrap:anywhere;line-height:.95;max-width:100%}
#content-body.ad-case .kaiak-intro h2{font-size:clamp(25px,3vw,40px)}
#content-body.ad-case .kaiak-stats{font-size:12px;line-height:1.7}
@media(max-width:650px){.cover-title h1{font-size:clamp(42px,11vw,70px)}}

#browse-archive{display:block;margin:10px auto;font-size:11px;background:#ffffff66}.archive-page h1{font-size:clamp(28px,4vw,52px);letter-spacing:-.035em;margin:24px 0}.archive-filters{display:flex;flex-wrap:wrap;gap:16px;margin:30px 0}.archive-filters label{font-size:12px}.archive-filters select{max-width:200px}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 24px}.archive-card{text-align:left;padding:0;border:0;background:none;border-radius:0;overflow:hidden}.archive-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;margin-bottom:16px}.archive-card h2{font-size:17px;line-height:1.35;margin:10px 0}#content-body .archive-card p{font-size:11px;line-height:1.6}#content-body .archive-card .eyebrow{font-size:10px}.archive-moment{display:block;text-align:left;margin:12px 0;width:100%}@media(max-width:800px){.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.archive-grid{grid-template-columns:1fr}}

/* Compact six-film pages; keep the player layout independent. */
#content-body.archive-page>.editorial-pad:has(.archive-grid){padding:24px 6% 28px}
.archive-page:has(.archive-grid) h1{font-size:clamp(25px,3vw,38px);margin:8px 0}
#content-body.archive-page:has(.archive-grid)>.editorial-pad>.eyebrow{margin-bottom:8px}
#content-body.archive-page:has(.archive-grid)>.editorial-pad>p{font-size:12px;line-height:1.5;margin:8px 0}
.archive-filters{margin:16px 0 8px;gap:10px}.archive-filters select{padding:6px 8px}
.archive-grid{gap:18px 22px}.archive-card img{max-height:17dvh;object-fit:cover;margin-bottom:8px}.archive-card h2{font-size:14px;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#content-body .archive-card p{font-size:10px;margin:5px 0;line-height:1.4}
.archive-pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:20px}.archive-pagination select{font-size:12px}
@media(max-width:500px){.archive-pagination{gap:6px}.archive-pagination button{padding:8px}.archive-card img{max-height:none}}

/* Archive film: intrinsic dialog height and a proportional player. */
#content-dialog:has(.archive-film-page){height:fit-content;min-height:0;width:min(1100px,calc(100vw - 48px),calc((100dvh - 290px) * 1.975));max-height:92dvh;margin:auto}
#content-dialog:has(.archive-film-page) #content-scroll{flex:none;height:auto;min-height:0}
#content-body.archive-film-page{height:auto}
.archive-film{display:flex;flex-direction:column;padding:14px 5% 28px;gap:24px}
.archive-film-heading{flex:none}
.archive-film-heading>button{padding:4px 0;border:0;background:none;font-size:11px}
#content-body .archive-film-heading h1{font-size:clamp(18px,2.3vw,30px);line-height:1.2;margin:14px 0 10px;letter-spacing:-.025em}
#content-body .archive-film-heading p{font-size:11px;line-height:1.4;margin:0}
.archive-film #video-slot{position:relative;flex:none;width:100%;aspect-ratio:16/9;background:transparent}
.archive-film #video-slot iframe{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.archive-film-credits{flex:none;display:flex;gap:16px 40px;align-items:center;flex-wrap:wrap}
#content-body .archive-film-credits p{font-size:12px;line-height:1.6;margin:0}
.archive-film-credits span{display:block;color:#77786d;font-size:10px;margin-bottom:3px}
.archive-film-credits strong{font-weight:500}
.archive-film-credits a{margin-left:auto;font-size:11px}
@media(max-width:600px),(max-height:500px){#content-dialog:has(.archive-film-page){width:calc(100vw - 16px);max-height:95dvh}.archive-film{padding:12px 5% 20px;gap:18px}.archive-film-credits{gap:12px 20px}.archive-film-credits a{margin-left:0}}

#close-content:focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px}

/* Evenly spaced filters and top-aligned cards, independent of title length. */
.archive-filters{display:grid;grid-template-columns:1.25fr .7fr 1fr 1.15fr 1.25fr;gap:18px;margin:22px 0 16px;align-items:end}
.archive-filters label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:11px}
.archive-filters select{width:100%;max-width:none;min-width:0;padding:8px 10px}
.archive-grid{align-items:start}
.archive-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;align-self:start;min-width:0}
.archive-card img{flex:none;height:auto;aspect-ratio:16/9;object-fit:cover}
.archive-card h2{min-height:2.7em}
@media(max-width:800px){.archive-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:500px){.archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Fit the six-film index in the desktop dialog with compact vertical spacing. */
#content-body.archive-page>.editorial-pad:has(.archive-grid){padding:16px 6% 18px}
.archive-page:has(.archive-grid) h1{font-size:clamp(24px,2.6vw,34px);margin:6px 0}
.archive-page:has(.archive-grid) .archive-filters{margin:14px 0 10px;gap:16px}
.archive-page:has(.archive-grid) .archive-filters label{gap:5px}
.archive-page:has(.archive-grid) .archive-grid{gap:14px 22px}
.archive-page:has(.archive-grid) .archive-card img{height:clamp(70px,calc((92dvh - 390px) / 2),180px);max-height:none;object-fit:cover}
.archive-page:has(.archive-grid) .archive-pagination{margin-top:14px}
@media(max-width:800px){.archive-page:has(.archive-grid) .archive-card img{height:auto;aspect-ratio:16/9}}

/* Keep each credit close to its title; grid rows still align at the top. */
.archive-page:has(.archive-grid) .archive-card h2{min-height:0;margin:4px 0 0;line-height:1.3}
#content-body.archive-page .archive-card p{margin:2px 0 0;line-height:1.3}
.archive-page:has(.archive-grid) .archive-pagination{margin-top:20px}

/* Redistribute card whitespace to the boundaries between content groups. */
.archive-page:has(.archive-grid) .archive-filters{margin-bottom:24px}
.archive-page:has(.archive-grid) .archive-grid{row-gap:28px}
.archive-page:has(.archive-grid) .archive-pagination{margin-top:30px}
#content-body.archive-page .archive-card .eyebrow{margin:0 0 6px;line-height:1.5}

/* Project selection: photographic series and a distinct advertising collection. */
.projects-editorial{padding:36px 6% 40px}
#content-body .projects-editorial>.eyebrow{margin-bottom:12px}
.projects-editorial>h1{font-size:clamp(30px,4vw,52px);line-height:1.1;letter-spacing:-.04em;margin:0 0 30px;max-width:700px}
.projects-series{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.project-tile{position:relative;display:block;isolation:isolate;overflow:hidden;width:100%;padding:0;border:0;border-radius:0;text-align:left;background:#28342e;color:#fff;aspect-ratio:4/5}
.project-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.project-tile:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#09120ee8,transparent 85%);z-index:0;pointer-events:none}
.project-tile-copy{position:absolute;left:22px;right:22px;bottom:24px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.project-client{font-size:9px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;opacity:.85}
.project-tile h2{font-size:clamp(23px,2.6vw,34px);line-height:1.05;font-weight:450;letter-spacing:-.03em;margin:0}
.project-stats{font-size:11px;line-height:1.5;opacity:.85}
.project-explore{font-size:11px;margin-top:8px;opacity:.7;transition:opacity .25s}
.project-tile:hover>img,.project-tile:focus-visible>img{transform:scale(1.035)}
.project-tile:hover .project-explore,.project-tile:focus-visible .project-explore{opacity:1}
.projects-ad-heading{margin:40px 0 18px;display:flex;align-items:baseline;justify-content:space-between;gap:25px;border-top:1px solid #24252225;padding-top:24px}
.projects-ad-heading h2{font-size:25px;margin:0;font-weight:450;letter-spacing:-.02em}
#content-body .projects-ad-heading p{font-size:11px;line-height:1.6;max-width:440px;margin:0;color:#65675d}
.projects-ads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.projects-ads .project-tile{aspect-ratio:4/3}
.projects-ads .project-tile-copy{left:14px;right:14px;bottom:14px;gap:5px}
.projects-ads .project-tile h2{font-size:19px}
.projects-ads .project-stats{display:none}
.projects-ads .project-explore{font-size:10px;margin-top:3px}
.projects-archive-link{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;width:100%;padding:28px 0 0;margin-top:32px;border:0;border-top:1px solid #24252225;border-radius:0;background:none;font-size:clamp(19px,2.5vw,28px);letter-spacing:-.02em}
#content-body .projects-archive-link .eyebrow{margin:0;font-size:9px}
@media(max-width:850px){.projects-ads{grid-template-columns:repeat(2,minmax(0,1fr))}.project-tile-copy{left:15px;right:15px}.projects-series .project-tile{aspect-ratio:3/5}}
@media(max-width:600px){.projects-editorial{padding:24px 6%}.projects-series{grid-template-columns:1fr}.projects-series .project-tile{aspect-ratio:4/3}.projects-ad-heading{display:block}.projects-ad-heading h2{margin-bottom:12px}.projects-ads .project-tile{aspect-ratio:3/4}.projects-ads .project-tile h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.project-tile>img,.project-explore{transition:none}}

/* Let the painting show softly through the conversation surfaces. */
#composer{background:rgba(23,23,28,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#conversation{background:rgba(245,242,234,.58);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

#site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;z-index:2}
#site-menu{display:flex;align-items:center;gap:12px;letter-spacing:0}
#site-menu>button{border:0;background:transparent;font-size:12px;padding:10px}
#site-menu #inspect{font-size:23px;padding:5px 8px}#site-menu #inspect span{margin:0;opacity:1}
#brand-slot img{display:block;width:110px;max-height:52px;object-fit:contain}
#content-dialog:has(.contact-page){height:fit-content;width:min(800px,calc(100vw - 32px))}
#content-dialog:has(.contact-page) #content-scroll{flex:none;height:auto}
.contact-content{padding:36px 7% 56px}.contact-content h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:0 0 38px}
.contact-links{display:grid;grid-template-columns:1fr 1fr;gap:30px 24px}
#content-body .contact-links p{font-size:11px;margin:0 0 8px;color:#79796f}
#content-body .contact-links a{font-size:clamp(14px,1.6vw,20px);color:#29272b;text-decoration:none;border-bottom:1px solid #a2393266;padding-bottom:4px}
@media(max-width:600px){#site-header{gap:8px}#site-menu{gap:2px;flex-wrap:wrap;justify-content:flex-end}#site-menu>button{font-size:10px;padding:6px}#brand-slot img{width:72px}.contact-links{grid-template-columns:1fr}}

#brand-slot img{filter:brightness(0)}

/* Horizontal advertising reel within the project selection. */
.projects-ads{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:8px;scrollbar-width:thin}
.projects-ads .project-tile{flex:0 0 calc((100% - 48px)/4);scroll-snap-align:start}
.projects-carousel-controls{display:flex;gap:8px;flex:none}.projects-carousel-controls button{background:none;padding:5px 12px}
@media(min-width:851px) and (min-height:650px){
.projects-editorial{padding:18px 6% 22px}
#content-body .projects-editorial>.eyebrow{margin-bottom:8px}
.projects-editorial>h1{font-size:clamp(28px,3vw,40px);margin-bottom:18px}
.projects-series .project-tile{aspect-ratio:auto;height:clamp(175px,calc((92dvh - 300px)*.66),365px)}
.projects-series .project-tile h2{font-size:clamp(22px,2.3vw,30px)}
.projects-series .project-tile-copy{bottom:18px;gap:5px}
.projects-ad-heading{margin:20px 0 12px;padding-top:14px;align-items:center}
.projects-ad-heading h2{font-size:23px}
.projects-ads .project-tile{aspect-ratio:auto;height:clamp(120px,calc((92dvh - 300px)*.32),180px)}
.projects-ads .project-tile h2{font-size:17px}
.projects-archive-link{margin-top:14px;padding-top:14px;gap:6px;font-size:20px}
}
@media(max-width:850px){.projects-ads .project-tile{flex-basis:44%}.projects-ad-heading{flex-wrap:wrap}}
@media(max-width:600px){.projects-ads .project-tile{flex-basis:75%;aspect-ratio:4/3}.projects-carousel-controls{margin-top:12px}}

/* Credit sits below the films and above their horizontal scrollbar. */
.projects-ads{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/4);grid-template-rows:auto auto;row-gap:8px}
.projects-ads .project-tile{grid-row:1;width:100%}
#content-body .projects-ad-credit{grid-row:2;grid-column:1 / -1;position:sticky;left:0;width:max-content;max-width:100%;white-space:nowrap;font-size:11px;line-height:1.5;color:#65675d;margin:0;padding:2px 0 4px}
@media(max-width:850px){.projects-ads{grid-auto-columns:44%}#content-body .projects-ad-credit{white-space:normal;width:100%}}
@media(max-width:600px){.projects-ads{grid-auto-columns:75%}}

.projects-ads{grid-template-rows:auto}
#content-body .projects-editorial>.projects-ad-credit{position:static;width:auto;max-width:none;margin:8px 0 0;padding:0;white-space:normal;font-size:11px;line-height:1.5}

/* A single non-wrapping track keeps all eight films reachable. */
.projects-ads{display:flex;flex-wrap:nowrap;overflow-x:auto;grid-template-columns:none;grid-template-rows:none}
.projects-ads .project-tile{width:auto;min-width:0;flex:0 0 calc((100% - 48px)/4)}
@media(max-width:850px){.projects-ads .project-tile{flex-basis:44%}}
@media(max-width:600px){.projects-ads .project-tile{flex-basis:75%}}

/* Poster-like series balanced by a shorter, widescreen advertising strip. */
@media(min-width:851px) and (min-height:650px){
.projects-series .project-tile{height:clamp(230px,calc(92dvh - 510px),450px);aspect-ratio:auto}
.projects-ads .project-tile{height:auto;aspect-ratio:16/9}
.projects-ads .project-tile-copy{bottom:12px;gap:4px}
.projects-ads .project-client{font-size:8px}
.projects-ads .project-tile h2{font-size:16px;line-height:1.1}
.projects-ads .project-explore{margin-top:2px}
}

/* Advertising introductions flow directly into the supporting text. */
#content-body.ad-case .kaiak-intro{padding-bottom:32px}
#content-body.ad-case .kaiak-story{padding-top:0;padding-bottom:38px}

.painting-choice{font-size:10px;letter-spacing:0}.painting-choice select{background:transparent;border:0;font-size:11px;padding:6px}.painting-transition{z-index:1;pointer-events:none;transition:opacity 1.3s!important}#composer,#conversation{z-index:2}

#panel.other-source>p:not([id]){display:none}#panel.other-source>h1{font-size:0}#panel.other-source>h1:after{content:'Fonte de dados';font-size:18px}#source-description{line-height:1.6}#site-menu{flex-wrap:wrap;justify-content:flex-end}

.canvas-colors{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #fff3}.canvas-colors label{display:block;font-size:12px;margin-bottom:14px}.canvas-colors input[type=color]{display:block;width:100%;height:32px;margin-top:8px;border:0;background:none}.canvas-colors input[type=range]{display:block;width:100%;margin-top:10px}.canvas-colors output{font-size:11px}

/* Canvas controls and captions share a consistent footer. */
#canvas-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;z-index:2;bottom:20px;font-size:10px;letter-spacing:.04em;line-height:1.5}
#canvas-footer>#source{justify-self:start;max-width:100%}
#canvas-footer>.canvas-caption{justify-self:end;text-align:right}
#canvas-options{display:flex;align-items:center;gap:16px}
#canvas-options .painting-choice{display:flex;align-items:center;gap:5px;font-size:10px;letter-spacing:.04em}
#canvas-options select{font:inherit;max-width:180px;background:#f1ede480;border:1px solid #29272b20;border-radius:6px;padding:6px 8px;color:inherit}
#canvas-options #inspect{border:0;background:none;padding:4px;font-size:20px;line-height:1}
#canvas-options #inspect span{margin:0}
@media(max-width:800px){#canvas-footer{grid-template-columns:1fr 1fr;gap:10px;bottom:14px}#canvas-options{grid-row:1;grid-column:1/-1;justify-content:center}#canvas-footer>#source{grid-row:2}#canvas-footer>.canvas-caption{grid-row:2;display:block}#canvas-options select{max-width:135px}#canvas-footer{font-size:9px}}

#canvas-options{gap:12px}#canvas-footer{gap:16px}@media(max-width:1050px){#canvas-footer{grid-template-columns:1fr 1fr;gap:10px}#canvas-options{grid-row:1;grid-column:1/-1;justify-content:center;flex-wrap:wrap}#canvas-footer>#source{grid-row:2}#canvas-footer>.canvas-caption{grid-row:2}}

#canvas-options select:focus-visible,#canvas-options button:focus-visible{outline:none;background-color:rgba(41,39,43,.08)}
